summaryrefslogtreecommitdiff
path: root/devel/py-stestr
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-stestr')
-rw-r--r--devel/py-stestr/Makefile13
-rw-r--r--devel/py-stestr/distinfo6
-rw-r--r--devel/py-stestr/files/patch-pyproject.toml11
-rw-r--r--devel/py-stestr/files/patch-requirements.txt11
4 files changed, 18 insertions, 23 deletions
diff --git a/devel/py-stestr/Makefile b/devel/py-stestr/Makefile
index 0ea2ad25e5a1..21f1472c81ab 100644
--- a/devel/py-stestr/Makefile
+++ b/devel/py-stestr/Makefile
@@ -1,6 +1,5 @@
PORTNAME= stestr
-PORTVERSION= 4.1.0
-PORTREVISION= 1
+PORTVERSION= 4.2.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,18 +12,14 @@ WWW= https://stestr.readthedocs.io/en/latest/ \
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.12<4:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cliff>=2.8.0:devel/py-cliff@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}extras>=1.0.0:devel/py-extras@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fixtures>=3.0.0:devel/py-fixtures@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-subunit>=1.3.0:devel/py-python-subunit@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.10.0:devel/py-pyyaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}testtools>=2.2.0:devel/py-testtools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.6:textproc/py-tomlkit@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}voluptuous>=0.8.9:devel/py-voluptuous@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.10.0:devel/py-pyyaml@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}voluptuous>=0.8.9:devel/py-voluptuous@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
diff --git a/devel/py-stestr/distinfo b/devel/py-stestr/distinfo
index fdb23dede19a..b472f586e29e 100644
--- a/devel/py-stestr/distinfo
+++ b/devel/py-stestr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712580500
-SHA256 (stestr-4.1.0.tar.gz) = 5f61c369eece63c292d13599e12aa158af7685990643f24dd6fa7fabfe34e98a
-SIZE (stestr-4.1.0.tar.gz) = 113187
+TIMESTAMP = 1745936176
+SHA256 (stestr-4.2.0.tar.gz) = 45ec639f2d1cc372e3630613b93f37cf29d3dfe69d49d4f3f9408d37b11bc29c
+SIZE (stestr-4.2.0.tar.gz) = 79824
diff --git a/devel/py-stestr/files/patch-pyproject.toml b/devel/py-stestr/files/patch-pyproject.toml
new file mode 100644
index 000000000000..86b323610e47
--- /dev/null
+++ b/devel/py-stestr/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2025-04-21 18:53:56 UTC
++++ pyproject.toml
+@@ -28,7 +28,7 @@ dependencies = [
+ requires-python = ">=3.8"
+ dependencies = [
+ "cliff>=2.8.0",
+- "python-subunit>=1.4.0",
++ "python-subunit>=1.3.0",
+ "fixtures>=3.0.0",
+ "testtools>=2.2.0",
+ "PyYAML>=3.10.0",
diff --git a/devel/py-stestr/files/patch-requirements.txt b/devel/py-stestr/files/patch-requirements.txt
deleted file mode 100644
index 04452df31f17..000000000000
--- a/devel/py-stestr/files/patch-requirements.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- requirements.txt.orig 2023-09-18 12:36:07 UTC
-+++ requirements.txt
-@@ -3,7 +3,7 @@ cliff>=2.8.0 # Apache-2.0
- # process, which may cause wedges in the gate later.
- pbr!=2.1.0,>=2.0.0,!=4.0.0,!=4.0.1,!=4.0.2,!=4.0.3 # Apache-2.0
- cliff>=2.8.0 # Apache-2.0
--python-subunit>=1.4.0 # Apache-2.0/BSD
-+python-subunit>=1.3.0 # Apache-2.0/BSD
- fixtures>=3.0.0 # Apache-2.0/BSD
- testtools>=2.2.0 # MIT
- PyYAML>=3.10.0 # MIT