svn commit: r524958 - in head/mail/py-mail-parser: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Feb 2 14:24:57 UTC 2020


Author: sunpoet
Date: Sun Feb  2 14:24:56 2020
New Revision: 524958
URL: https://svnweb.freebsd.org/changeset/ports/524958

Log:
  Convert REINPLACE_CMD to patch file

Added:
  head/mail/py-mail-parser/files/
  head/mail/py-mail-parser/files/patch-requirements.txt   (contents, props changed)
Modified:
  head/mail/py-mail-parser/Makefile

Modified: head/mail/py-mail-parser/Makefile
==============================================================================
--- head/mail/py-mail-parser/Makefile	Sun Feb  2 14:23:28 2020	(r524957)
+++ head/mail/py-mail-parser/Makefile	Sun Feb  2 14:24:56 2020	(r524958)
@@ -23,7 +23,4 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e "s|==|>=|; /ipaddress/ s|$$|; python_version < '3.3'|" ${WRKSRC}/requirements.txt
-
 .include <bsd.port.mk>

Added: head/mail/py-mail-parser/files/patch-requirements.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-mail-parser/files/patch-requirements.txt	Sun Feb  2 14:24:56 2020	(r524958)
@@ -0,0 +1,11 @@
+--- requirements.txt.orig	2020-01-27 00:11:06 UTC
++++ requirements.txt
+@@ -1,3 +1,3 @@
+-ipaddress==1.0.23
+-simplejson==3.17.0
+-six==1.14.0
+\ No newline at end of file
++ipaddress>=1.0.23; python_version < '3.3'
++simplejson>=3.17.0
++six>=1.14.0
+\ No newline at end of file


More information about the svn-ports-all mailing list