pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/py-spake2
Module Name: pkgsrc
Committed By: wiz
Date: Wed Oct 25 10:17:47 UTC 2023
Modified Files:
pkgsrc/security/py-spake2: Makefile distinfo
Added Files:
pkgsrc/security/py-spake2/patches: patch-versioneer.py
Log Message:
py-spake2: fix build with Python 3.12.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/py-spake2/Makefile \
pkgsrc/security/py-spake2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-spake2/patches/patch-versioneer.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/py-spake2/Makefile
diff -u pkgsrc/security/py-spake2/Makefile:1.3 pkgsrc/security/py-spake2/Makefile:1.4
--- pkgsrc/security/py-spake2/Makefile:1.3 Tue Jan 4 20:54:44 2022
+++ pkgsrc/security/py-spake2/Makefile Wed Oct 25 10:17:47 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:54:44 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2023/10/25 10:17:47 wiz Exp $
DISTNAME= spake2-0.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/spake2/}
Index: pkgsrc/security/py-spake2/distinfo
diff -u pkgsrc/security/py-spake2/distinfo:1.3 pkgsrc/security/py-spake2/distinfo:1.4
--- pkgsrc/security/py-spake2/distinfo:1.3 Tue Oct 26 11:17:50 2021
+++ pkgsrc/security/py-spake2/distinfo Wed Oct 25 10:17:47 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:17:50 nia Exp $
+$NetBSD: distinfo,v 1.4 2023/10/25 10:17:47 wiz Exp $
BLAKE2s (spake2-0.8.tar.gz) = 92ae5e3805861ce50f2589089a7b16a1ca7331dacb8701400995f45de8ecad6a
SHA512 (spake2-0.8.tar.gz) = 406719ebb9731f7900a8a5c913dd63a81dd6d48da8b8d1f8ebc903fcfca01a8638032a1a757fe402a701a65ecca6be91a42b2271db251c06adfa8bf0daa35973
Size (spake2-0.8.tar.gz) = 58088 bytes
+SHA1 (patch-versioneer.py) = 659f082b43abcb3f76269d54172e76add1ff986c
Added files:
Index: pkgsrc/security/py-spake2/patches/patch-versioneer.py
diff -u /dev/null pkgsrc/security/py-spake2/patches/patch-versioneer.py:1.1
--- /dev/null Wed Oct 25 10:17:47 2023
+++ pkgsrc/security/py-spake2/patches/patch-versioneer.py Wed Oct 25 10:17:47 2023
@@ -0,0 +1,18 @@
+$NetBSD: patch-versioneer.py,v 1.1 2023/10/25 10:17:47 wiz Exp $
+
+Fix build with Python 3.12.
+
+--- versioneer.py.orig 2018-02-15 02:46:43.000000000 +0000
++++ versioneer.py
+@@ -339,9 +339,9 @@ def get_config_from_root(root):
+ # configparser.NoOptionError (if it lacks "VCS="). See the docstring at
+ # the top of versioneer.py for instructions on writing your setup.cfg .
+ setup_cfg = os.path.join(root, "setup.cfg")
+- parser = configparser.SafeConfigParser()
++ parser = configparser.ConfigParser()
+ with open(setup_cfg, "r") as f:
+- parser.readfp(f)
++ parser.read_file(f)
+ VCS = parser.get("versioneer", "VCS") # mandatory
+
+ def get(parser, name):
Home |
Main Index |
Thread Index |
Old Index