svn commit: r498884 - in head/devel/py-mdv: . files

Emanuel Haupt ehaupt at FreeBSD.org
Sun Apr 14 10:34:50 UTC 2019


Author: ehaupt
Date: Sun Apr 14 10:34:49 2019
New Revision: 498884
URL: https://svnweb.freebsd.org/changeset/ports/498884

Log:
  Fix configure with python 2.7.

Added:
  head/devel/py-mdv/files/extra-patch-setup.py
     - copied unchanged from r498883, head/devel/py-mdv/files/patch-setup.py
Deleted:
  head/devel/py-mdv/files/patch-setup.py
Modified:
  head/devel/py-mdv/Makefile

Modified: head/devel/py-mdv/Makefile
==============================================================================
--- head/devel/py-mdv/Makefile	Sun Apr 14 09:58:57 2019	(r498883)
+++ head/devel/py-mdv/Makefile	Sun Apr 14 10:34:49 2019	(r498884)
@@ -27,4 +27,8 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+.if ${FLAVOR:Upy36:Mpy3*}
+EXTRA_PATCHES=	${FILESDIR}/extra-patch-setup.py
+.endif
+
 .include <bsd.port.mk>

Copied: head/devel/py-mdv/files/extra-patch-setup.py (from r498883, head/devel/py-mdv/files/patch-setup.py)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-mdv/files/extra-patch-setup.py	Sun Apr 14 10:34:49 2019	(r498884, copy of r498883, head/devel/py-mdv/files/patch-setup.py)
@@ -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:


More information about the svn-ports-all mailing list