svn commit: r469153 - head/devel/py-pipenv
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat May 5 17:22:55 UTC 2018
Author: sunpoet
Date: Sat May 5 17:22:52 2018
New Revision: 469153
URL: https://svnweb.freebsd.org/changeset/ports/469153
Log:
Fix pathlib2 dependency
- Bump PORTREVISION for package change
PR: 227971
Reported by: John Hein <z7dr6ut7gs at snkmail.com>
Modified:
head/devel/py-pipenv/Makefile
Modified: head/devel/py-pipenv/Makefile
==============================================================================
--- head/devel/py-pipenv/Makefile Sat May 5 17:22:47 2018 (r469152)
+++ head/devel/py-pipenv/Makefile Sat May 5 17:22:52 2018 (r469153)
@@ -3,6 +3,7 @@
PORTNAME= pipenv
PORTVERSION= 11.10.1
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,6 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:securit
${PYTHON_PKGNAMEPREFIX}virtualenv-clone>=0.2.5:devel/py-virtualenv-clone@${FLAVOR}
NO_ARCH= yes
+REINPLACE_ARGS= -i ''
USE_PYTHON= autoplist concurrent distutils
USES= python
@@ -27,5 +29,8 @@ USES= python
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib2>=2.1.0:devel/py-pathlib2@${FLAVOR}
.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|pathlib2==2.1.0|pathlib2>=2.1.0|' ${WRKSRC}/setup.py ${WRKSRC}/pipenv.egg-info/requires.txt
.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list