Files
ports/www/py-cachecontrol/Makefile
T
Yuri Victorovich 3c03074159 www/py-cachecontrol: Update 0.12.10 -> 0.12.11
Reported by:	portscout
2022-04-21 09:58:57 -07:00

28 lines
761 B
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
PORTNAME= CacheControl
DISTVERSION= 0.12.11
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Caching algorithms in httplib2 for use with requests session object
LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.5.2:devel/py-msgpack@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
REINPLACE_ARGS= -i ''
CONFLICTS_INSTALL= py*-cachecontrol # bin/doesitcache
post-patch:
@${REINPLACE_CMD} -e 's|msgpack-python|msgpack|' ${WRKSRC}/setup.py ${WRKSRC}/CacheControl.egg-info/requires.txt
.include <bsd.port.mk>