svn commit: r524884 - head/mail/py-mail-parser

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Feb 2 11:01:02 UTC 2020


Author: sunpoet
Date: Sun Feb  2 11:01:01 2020
New Revision: 524884
URL: https://svnweb.freebsd.org/changeset/ports/524884

Log:
  Limit ipaddress for Python prior to 3.3
  
  - Bump PORTREVISION for package change

Modified:
  head/mail/py-mail-parser/Makefile

Modified: head/mail/py-mail-parser/Makefile
==============================================================================
--- head/mail/py-mail-parser/Makefile	Sun Feb  2 11:00:56 2020	(r524883)
+++ head/mail/py-mail-parser/Makefile	Sun Feb  2 11:01:01 2020	(r524884)
@@ -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>


More information about the svn-ports-head mailing list