Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2018 17:22:53 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469153 - head/devel/py-pipenv
Message-ID:  <201805051722.w45HMrjU063194@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805051722.w45HMrjU063194>