Limit ipaddress for Python prior to 3.3
- Bump PORTREVISION for package change
This commit is contained in:
parent
920758a31c
commit
a23b38849b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=524884
1 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue