diff options
Diffstat (limited to 'converters/py-rencode/Makefile')
-rw-r--r-- | converters/py-rencode/Makefile | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/converters/py-rencode/Makefile b/converters/py-rencode/Makefile index 589cec228dad..88c8f5e04e07 100644 --- a/converters/py-rencode/Makefile +++ b/converters/py-rencode/Makefile @@ -1,6 +1,7 @@ PORTNAME= rencode -PORTVERSION= 1.0.6 -PORTREVISION= 2 +PORTVERSION= 1.0.8 +PORTREVISION= 1 +DISTVERSIONPREFIX= v CATEGORIES= converters devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,26 +12,21 @@ WWW= https://github.com/aresch/rencode LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} USES= cpe python -CPE_VENDOR= ${PORTNAME}_project -USE_PYTHON= autoplist cython3 pep517 +USE_PYTHON= autoplist cython pep517 pytest + +CPE_VENDOR= rencode_project USE_GITHUB= yes GH_ACCOUNT= aresch -GH_TAGNAME= 572ff74586d9b1daab904c6f7f7009ce0143bb75 -# Make setup.py test target work with setup.py:test_suite -# See: files/patch-setup.py post-patch: - ${TOUCH} ${WRKSRC}/tests/__init__.py + @${MV} ${WRKSRC}/build.py ${WRKSRC}/_build.py post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/rencode/_rencode*.so - -do-test: - cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include <bsd.port.mk> |