git: ba0f462654b1 - main - devel/py-strenum: unbreak build after 135741412e9f
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Jul 2026 00:34:59 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ba0f462654b13f9150bff7aa0a72dc548a84671b
commit ba0f462654b13f9150bff7aa0a72dc548a84671b
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2026-07-03 22:43:08 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2026-07-04 00:32:47 +0000
devel/py-strenum: unbreak build after 135741412e9f
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 10, in <module>
version=versioneer.get_version(),
^^^^^^^^^^^^^^^^^^^^^^^^
File "StrEnum-0.4.15/versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "StrEnum-0.4.15/versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "StrEnum-0.4.15/versioneer.py", line 342, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
Reported by: pkg-fallout
---
devel/py-strenum/Makefile | 3 +++
devel/py-strenum/distinfo | 2 ++
2 files changed, 5 insertions(+)
diff --git a/devel/py-strenum/Makefile b/devel/py-strenum/Makefile
index 18a949dd1c78..df64ca303c11 100644
--- a/devel/py-strenum/Makefile
+++ b/devel/py-strenum/Makefile
@@ -5,6 +5,9 @@ CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PATCH_SITES= https://github.com/irgeek/${PORTNAME}/commit/
+PATCHFILES+= 896bef1b7e4a.patch:-p1 # https://github.com/irgeek/StrEnum/pull/34
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Enum that inherits from str
WWW= https://pypi.org/project/StrEnum/
diff --git a/devel/py-strenum/distinfo b/devel/py-strenum/distinfo
index afcdcfc190e2..c1551ae2a5c4 100644
--- a/devel/py-strenum/distinfo
+++ b/devel/py-strenum/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1688076173
SHA256 (StrEnum-0.4.15.tar.gz) = 878fb5ab705442070e4dd1929bb5e2249511c0bcf2b0eeacf3bcd80875c82eff
SIZE (StrEnum-0.4.15.tar.gz) = 23384
+SHA256 (896bef1b7e4a.patch) = f39d3b96dfc0447a3c54ec8083f90e3c40ce92196e232e694cec232bf8709fb0
+SIZE (896bef1b7e4a.patch) = 923