git: 41201afc3cac - 2026Q3 - security/py-pyaxo: Unbreak by Patched versioneer.py for Python 3.12, removed pytest-runner
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Jul 2026 16:22:40 UTC
The branch 2026Q3 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=41201afc3cacd9096faf8cdbabf776c6a9f46482
commit 41201afc3cacd9096faf8cdbabf776c6a9f46482
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-10 17:51:38 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-13 16:22:34 +0000
security/py-pyaxo: Unbreak by Patched versioneer.py for Python 3.12, removed pytest-runner
Reported by: fallout
(cherry picked from commit da6ebb0df680ec9048c8b8f802b892ed36720aae)
---
security/py-pyaxo/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/security/py-pyaxo/Makefile b/security/py-pyaxo/Makefile
index a87e60fe8b3d..39fe89db8973 100644
--- a/security/py-pyaxo/Makefile
+++ b/security/py-pyaxo/Makefile
@@ -1,6 +1,6 @@
PORTNAME= pyaxo
DISTVERSION= 0.8.2
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= security net python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -24,6 +24,8 @@ NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e "/'pytest-runner',/d" ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -e 's|configparser.SafeConfigParser()|configparser.ConfigParser()|g' \
+ -e 's|parser.readfp(f)|parser.read_file(f)|g' ${WRKSRC}/versioneer.py
do-test:
@(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs)