Index: head/devel/py-mdv/Makefile =================================================================== --- head/devel/py-mdv/Makefile (revision 498883) +++ head/devel/py-mdv/Makefile (revision 498884) @@ -1,30 +1,34 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= mdv PORTVERSION= 1.7.4 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Terminal markdown viewer LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docopt>0:devel/py-docopt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=2.0.3:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docopt>0:devel/py-docopt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=2.0.3:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +.if ${FLAVOR:Upy36:Mpy3*} +EXTRA_PATCHES= ${FILESDIR}/extra-patch-setup.py +.endif + .include Index: head/devel/py-mdv/files/patch-setup.py =================================================================== --- head/devel/py-mdv/files/patch-setup.py (revision 498883) +++ head/devel/py-mdv/files/patch-setup.py (nonexistent) @@ -1,11 +0,0 @@ ---- setup.py.orig 2019-04-12 06:50:54 UTC -+++ setup.py -@@ -16,7 +16,7 @@ from setuptools import setup, find_packages - - version = "1.7.4" - --with open(os.path.join(os.path.dirname(__file__), "README.md")) as fd: -+with open(os.path.join(os.path.dirname(__file__), "README.md"), encoding='utf-8') as fd: - md = fd.read() - - # images hack for pypi: Property changes on: head/devel/py-mdv/files/patch-setup.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/py-mdv/files/extra-patch-setup.py =================================================================== --- head/devel/py-mdv/files/extra-patch-setup.py (nonexistent) +++ head/devel/py-mdv/files/extra-patch-setup.py (revision 498884) @@ -0,0 +1,11 @@ +--- setup.py.orig 2019-04-12 06:50:54 UTC ++++ setup.py +@@ -16,7 +16,7 @@ from setuptools import setup, find_packages + + version = "1.7.4" + +-with open(os.path.join(os.path.dirname(__file__), "README.md")) as fd: ++with open(os.path.join(os.path.dirname(__file__), "README.md"), encoding='utf-8') as fd: + md = fd.read() + + # images hack for pypi: Property changes on: head/devel/py-mdv/files/extra-patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property