Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2019 10:34:49 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498884 - in head/devel/py-mdv: . files
Message-ID:  <201904141034.x3EAYnKY088518@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904141034.x3EAYnKY088518>