svn commit: r543064 - in head/devel/py-unittest2: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Jul 24 07:12:58 UTC 2020


Author: sunpoet
Date: Fri Jul 24 07:12:53 2020
New Revision: 543064
URL: https://svnweb.freebsd.org/changeset/ports/543064

Log:
  Convert REINPLACE_CMD to patch file

Added:
  head/devel/py-unittest2/files/
  head/devel/py-unittest2/files/patch-setup.py   (contents, props changed)
Modified:
  head/devel/py-unittest2/Makefile

Modified: head/devel/py-unittest2/Makefile
==============================================================================
--- head/devel/py-unittest2/Makefile	Fri Jul 24 07:12:48 2020	(r543063)
+++ head/devel/py-unittest2/Makefile	Fri Jul 24 07:12:53 2020	(r543064)
@@ -22,7 +22,4 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e "s|'argparse', ||" ${WRKSRC}/setup.py
-
 .include <bsd.port.mk>

Added: head/devel/py-unittest2/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-unittest2/files/patch-setup.py	Fri Jul 24 07:12:53 2020	(r543064)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2015-06-30 06:47:44 UTC
++++ setup.py
+@@ -57,7 +57,7 @@ KEYWORDS = "unittest testing tests".split(' ')
+ # Both install and setup requires - because we read VERSION from within the
+ # package, and the package also exports all the APIs.
+ # six for compat helpers
+-REQUIRES = ['argparse', 'six>=1.4', 'traceback2'],
++REQUIRES = ['six>=1.4', 'traceback2'],
+ 
+ params = dict(
+     name=NAME,


More information about the svn-ports-all mailing list