Limit ipaddress for Python prior to 3.3

- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-02-02 11:01:01 +00:00
parent 920758a31c
commit a23b38849b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=524884

View file

@ -3,6 +3,7 @@
PORTNAME= mail-parser
PORTVERSION= 3.12.0
PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -23,6 +24,6 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|==|>=|' ${WRKSRC}/requirements.txt
@${REINPLACE_CMD} -e "s|==|>=|; /ipaddress/ s|$$|; python_version < '3.3'|" ${WRKSRC}/requirements.txt
.include <bsd.port.mk>