aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-04-25 21:01:51 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-04-25 21:01:51 +0000
commitd36d5c256c69a48e1e78692932c81ae951f3728b (patch)
tree92797b9ec0d1c26ba51a02f8af35a1c670381dbd
parenta4de91ec15ccfda03a02c0427aef20ac021ea69d (diff)
downloadports-d36d5c256c69a48e1e78692932c81ae951f3728b.tar.gz
ports-d36d5c256c69a48e1e78692932c81ae951f3728b.zip
Notes
-rw-r--r--www/py-cachecontrol/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/py-cachecontrol/Makefile b/www/py-cachecontrol/Makefile
index b3309190bb6b..c787ce9141dd 100644
--- a/www/py-cachecontrol/Makefile
+++ b/www/py-cachecontrol/Makefile
@@ -3,7 +3,7 @@
PORTNAME= CacheControl
DISTVERSION= 0.12.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,5 +21,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lockfile>=0.9:devel/py-lockfile@${FLAVOR} \
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
+REINPLACE_ARGS= -i ''
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|msgpack-python|msgpack|' ${WRKSRC}/setup.py ${WRKSRC}/CacheControl.egg-info/requires.txt
.include <bsd.port.mk>