diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-02-02 14:24:56 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-02-02 14:24:56 +0000 |
commit | ad2abc2ae1734777e5225743cf8165676e034c0d (patch) | |
tree | 7e8d62a6c061e43ba2b99ffc1c15e3b8fcd0d826 /mail/py-mail-parser | |
parent | 40a16a30564a3b0c22cbdd074006506f8d45fb88 (diff) | |
download | ports-ad2abc2ae1734777e5225743cf8165676e034c0d.tar.gz ports-ad2abc2ae1734777e5225743cf8165676e034c0d.zip |
Convert REINPLACE_CMD to patch file
Notes
Notes:
svn path=/head/; revision=524958
Diffstat (limited to 'mail/py-mail-parser')
-rw-r--r-- | mail/py-mail-parser/Makefile | 3 | ||||
-rw-r--r-- | mail/py-mail-parser/files/patch-requirements.txt | 11 |
2 files changed, 11 insertions, 3 deletions
diff --git a/mail/py-mail-parser/Makefile b/mail/py-mail-parser/Makefile index cab6f3660603..ecdf8eb36cd8 100644 --- a/mail/py-mail-parser/Makefile +++ b/mail/py-mail-parser/Makefile @@ -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> diff --git a/mail/py-mail-parser/files/patch-requirements.txt b/mail/py-mail-parser/files/patch-requirements.txt new file mode 100644 index 000000000000..71a2fb5c7240 --- /dev/null +++ b/mail/py-mail-parser/files/patch-requirements.txt @@ -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 |