diff --git a/devel/py-nose2/Makefile b/devel/py-nose2/Makefile index d247059069a3..52740ff92743 100644 --- a/devel/py-nose2/Makefile +++ b/devel/py-nose2/Makefile @@ -1,27 +1,28 @@ PORTNAME= nose2 -PORTVERSION= 0.10.0 +PORTVERSION= 0.14.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= daniel@blodan.se +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Next generations of nicer testing for Python -WWW= https://nose2.readthedocs.io +WWW= https://docs.nose2.io/en/latest/ \ + https://github.com/nose-devs/nose2 LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/license.txt +LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.4.1:devel/py-coverage@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=1.7:devel/py-six@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes - TEST_ENV= PYTHONPATH=${WRKSRC} do-test: - @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m nose2.__main__ -v --pretty-assert + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m nose2.__main__ -v --pretty-assert .include diff --git a/devel/py-nose2/distinfo b/devel/py-nose2/distinfo index 1eda7d6c005a..dff030bfd7f4 100644 --- a/devel/py-nose2/distinfo +++ b/devel/py-nose2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1640698843 -SHA256 (nose2-0.10.0.tar.gz) = 886ba617a96de0130c54b24479bd5c2d74d5c940d40f3809c3a275511a0c4a60 -SIZE (nose2-0.10.0.tar.gz) = 157784 +TIMESTAMP = 1701327910 +SHA256 (nose2-0.14.0.tar.gz) = 5c28d770a0b9a702862bd6c3755ba2cd2f7994dd518c982e5ce298d7f37466a4 +SIZE (nose2-0.14.0.tar.gz) = 167278 diff --git a/devel/py-nose2/files/patch-setup.py b/devel/py-nose2/files/patch-setup.py deleted file mode 100644 index 6cd1bdd1013d..000000000000 --- a/devel/py-nose2/files/patch-setup.py +++ /dev/null @@ -1,14 +0,0 @@ -# Upstream creates a nose2-X.Y script name already -# Port uses concurrent, which creates nose2-X.Y-X.Y -# duplicate suffix - ---- setup.py.orig 2021-12-28 13:51:49 UTC -+++ setup.py -@@ -38,7 +38,6 @@ setup( - entry_points={ - "console_scripts": [ - "nose2 = nose2:discover", -- "nose2-%s = nose2:discover" % PY_VERSION, - ] - }, - test_suite="unittest.collector", diff --git a/devel/py-nose2/pkg-descr b/devel/py-nose2/pkg-descr index 7dbd8778e6fa..1edc631d2a9f 100644 --- a/devel/py-nose2/pkg-descr +++ b/devel/py-nose2/pkg-descr @@ -1,2 +1,2 @@ -nose2 is the next generation of nicer testing for Python, -based on the plugins branch of unittest2. +nose2 is the next generation of nicer testing for Python, based on the plugins +branch of unittest2.