diff --git a/devel/py-unittest2/Makefile b/devel/py-unittest2/Makefile index 8b4f16f62fd6..a57a306b2ccc 100644 --- a/devel/py-unittest2/Makefile +++ b/devel/py-unittest2/Makefile @@ -1,35 +1,29 @@ PORTNAME= unittest2 PORTVERSION= 1.1.0 PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= New features in unittest backported to Python 2 WWW= https://github.com/garbas/unittest2 LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traceback2>=0:devel/py-traceback2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traceback2>=0:devel/py-traceback2@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -.include - -.if ${PYTHON_REL} >= 31000 -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-python310 -.endif - do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m unittest2 -v -.include +.include diff --git a/devel/py-unittest2/files/extra-patch-python310 b/devel/py-unittest2/files/patch-python310 similarity index 100% rename from devel/py-unittest2/files/extra-patch-python310 rename to devel/py-unittest2/files/patch-python310