diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-06-01 16:17:29 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-06-01 16:24:00 +0000 |
| commit | ddd1ccfe4e0fac29635d06bb4efb46ff35fbfae4 (patch) | |
| tree | c32ae3042ae38e76bfc3023bd424cc36e3c5facf /converters/py-rencode/Makefile | |
| parent | 1b4c5b589c62e83a3042dbc2c308afefce9bf323 (diff) | |
Diffstat (limited to 'converters/py-rencode/Makefile')
| -rw-r--r-- | converters/py-rencode/Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/converters/py-rencode/Makefile b/converters/py-rencode/Makefile index 589cec228dad..23e424d84b8e 100644 --- a/converters/py-rencode/Makefile +++ b/converters/py-rencode/Makefile @@ -1,6 +1,6 @@ PORTNAME= rencode -PORTVERSION= 1.0.6 -PORTREVISION= 2 +PORTVERSION= 1.0.7 +DISTVERSIONPREFIX= v CATEGORIES= converters devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,26 +11,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> |
