diff --git a/devel/py-pytest-relaxed/Makefile b/devel/py-pytest-relaxed/Makefile index 946ef6cd2baf..184adc8d8419 100644 --- a/devel/py-pytest-relaxed/Makefile +++ b/devel/py-pytest-relaxed/Makefile @@ -1,29 +1,27 @@ PORTNAME= pytest-relaxed PORTVERSION= 1.1.5 PORTREVISION= 1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Relaxed test discovery/organization for pytest LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -DEPRECATED= Depends on expired devel/py-decorator4 -EXPIRATION_DATE=2022-03-31 - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3<5:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=1<2:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}decorator4>=4<5:devel/py-decorator4@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}decorator>=4:devel/py-decorator@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs .include diff --git a/devel/py-pytest-relaxed/files/patch-setup.py b/devel/py-pytest-relaxed/files/patch-setup.py new file mode 100644 index 000000000000..d03b242daa7d --- /dev/null +++ b/devel/py-pytest-relaxed/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-03-12 07:31:32 UTC ++++ setup.py +@@ -24,7 +24,7 @@ setup( + # TODO: do we need to name the LHS 'pytest_relaxed' too? meh + "pytest11": ["relaxed = pytest_relaxed.plugin"] + }, +- install_requires=["pytest>=3,<5", "six>=1,<2", "decorator>=4,<5"], ++ install_requires=["pytest>=3,<5", "six>=1,<2", "decorator>=4"], + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Framework :: Pytest",