pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-constantly
Module Name: pkgsrc
Committed By: wiz
Date: Wed Oct 25 10:07:36 UTC 2023
Modified Files:
pkgsrc/devel/py-constantly: Makefile distinfo
Added Files:
pkgsrc/devel/py-constantly/patches: patch-versioneer.py
Log Message:
py-constantly: fix build with Python 3.12
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-constantly/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-constantly/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-constantly/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/devel/py-constantly/Makefile
diff -u pkgsrc/devel/py-constantly/Makefile:1.2 pkgsrc/devel/py-constantly/Makefile:1.3
--- pkgsrc/devel/py-constantly/Makefile:1.2 Tue Jan 4 20:52:58 2022
+++ pkgsrc/devel/py-constantly/Makefile Wed Oct 25 10:07:36 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 20:52:58 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2023/10/25 10:07:36 wiz Exp $
DISTNAME= constantly-15.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/constantly/}
Index: pkgsrc/devel/py-constantly/distinfo
diff -u pkgsrc/devel/py-constantly/distinfo:1.3 pkgsrc/devel/py-constantly/distinfo:1.4
--- pkgsrc/devel/py-constantly/distinfo:1.3 Tue Oct 26 10:18:19 2021
+++ pkgsrc/devel/py-constantly/distinfo Wed Oct 25 10:07:36 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:18:19 nia Exp $
+$NetBSD: distinfo,v 1.4 2023/10/25 10:07:36 wiz Exp $
BLAKE2s (constantly-15.1.0.tar.gz) = cb5bdfd31dd3f7980315233c7a9d604d4eafb200cc1a02a492786db59382c3d0
SHA512 (constantly-15.1.0.tar.gz) = ccc6f41b0bd552d2bb5346cc9d64cd7b91a59dd30e0cf66b01e82f7e0e079c01c34bc6c66b69c5fee9d2eed35ae5455258d309e66278d708d5f576ddf2e00ac3
Size (constantly-15.1.0.tar.gz) = 21465 bytes
+SHA1 (patch-versioneer.py) = 195c8286bd664c9fb2d36195e30bb6427d3a6778
Added files:
Index: pkgsrc/devel/py-constantly/patches/patch-versioneer.py
diff -u /dev/null pkgsrc/devel/py-constantly/patches/patch-versioneer.py:1.1
--- /dev/null Wed Oct 25 10:07:36 2023
+++ pkgsrc/devel/py-constantly/patches/patch-versioneer.py Wed Oct 25 10:07:36 2023
@@ -0,0 +1,18 @@
+$NetBSD: patch-versioneer.py,v 1.1 2023/10/25 10:07:36 wiz Exp $
+
+Use Python 3.12 compatible functions.
+
+--- versioneer.py.orig 2015-08-11 08:30:05.000000000 +0000
++++ versioneer.py
+@@ -396,9 +396,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