git: 367143454ecf - main - misc/py-wurlitzer: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 May 2025 15:52:13 UTC
The branch main has been updated by rhurlin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=367143454ecfed2ffe3afb14031ecbbd848de510
commit 367143454ecfed2ffe3afb14031ecbbd848de510
Author: Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2025-05-04 15:46:47 +0000
Commit: Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2025-05-04 15:50:10 +0000
misc/py-wurlitzer: Convert to USE_PYTHON=pep517
- Change from distutils to pep517
- Remove dependency devel/py-codecov
- Bump portrevision
---
misc/py-wurlitzer/Makefile | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/misc/py-wurlitzer/Makefile b/misc/py-wurlitzer/Makefile
index 3b1ca233a0bb..e61bf82e353e 100644
--- a/misc/py-wurlitzer/Makefile
+++ b/misc/py-wurlitzer/Makefile
@@ -1,6 +1,6 @@
PORTNAME= wurlitzer
PORTVERSION= 3.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,16 +12,17 @@ WWW= https://github.com/minrk/wurlitzer
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}codecov>0:devel/py-codecov@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils pytest
+USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
-# make tests: 14 passed, 1 skipped (test.py:168: requires _get_max_pipe_size)
+# make tests: 15 passed, 1 skipped (test.py:178: requires _get_max_pipe_size)
TEST_ARGS= test.py
.include <bsd.port.mk>