git: 66fcb9ce76b9 - main - devel/py-pytest-relaxed: Update dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Mar 2022 10:39:51 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=66fcb9ce76b98da0aa3e8ace42c7883cae4c51df
commit 66fcb9ce76b98da0aa3e8ace42c7883cae4c51df
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-12 07:46:30 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-12 10:39:46 +0000
devel/py-pytest-relaxed: Update dependency
- Remove DEPRECATED
---
devel/py-pytest-relaxed/Makefile | 10 ++++------
devel/py-pytest-relaxed/files/patch-setup.py | 11 +++++++++++
2 files changed, 15 insertions(+), 6 deletions(-)
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,6 +1,7 @@
PORTNAME= pytest-relaxed
PORTVERSION= 1.1.5
PORTREVISION= 1
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +12,9 @@ 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
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",