Skip to content

Commit

Permalink
devel/py-pytest-relaxed: Update dependency
Browse files Browse the repository at this point in the history
- Remove DEPRECATED
  • Loading branch information
5u623l20 committed Mar 12, 2022
1 parent 49790c2 commit 66fcb9c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
10 changes: 4 additions & 6 deletions devel/py-pytest-relaxed/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PORTNAME= pytest-relaxed
PORTVERSION= 1.1.5
PORTREVISION= 1
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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
Expand Down
11 changes: 11 additions & 0 deletions devel/py-pytest-relaxed/files/patch-setup.py
Original file line number Diff line number Diff line change
@@ -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",

0 comments on commit 66fcb9c

Please sign in to comment.