diff options
Diffstat (limited to 'devel/py-geventhttpclient/Makefile')
-rw-r--r-- | devel/py-geventhttpclient/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/py-geventhttpclient/Makefile b/devel/py-geventhttpclient/Makefile index 862acf24ae54..95f088184744 100644 --- a/devel/py-geventhttpclient/Makefile +++ b/devel/py-geventhttpclient/Makefile @@ -1,7 +1,7 @@ PORTNAME= geventhttpclient -PORTVERSION= 2.3.3 +PORTVERSION= 2.3.5 CATEGORIES= devel python -MASTER_SITES= PYPI +#MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org @@ -15,12 +15,18 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}gevent>=0.13:devel/py-gevent@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gevent>=0:devel/py-gevent@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=0,1:net/py-urllib3@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 +USE_GITHUB= yes +GH_TUPLE= nodejs:llhttp:release/v6.0.11:nodejs_llhttp/llhttp + +post-patch: + @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/pyproject.toml ${WRKSRC}/src/geventhttpclient/__init__.py + post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + |