pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-junos-eznc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Dec 13 19:21:35 UTC 2023

Modified Files:
        pkgsrc/net/py-junos-eznc: distinfo
Added Files:
        pkgsrc/net/py-junos-eznc/patches: patch-versioneer.py

Log Message:
py-junos-eznc: fix build with Python 3.12.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/py-junos-eznc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-junos-eznc/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/net/py-junos-eznc/distinfo
diff -u pkgsrc/net/py-junos-eznc/distinfo:1.12 pkgsrc/net/py-junos-eznc/distinfo:1.13
--- pkgsrc/net/py-junos-eznc/distinfo:1.12      Wed Nov 15 00:05:18 2023
+++ pkgsrc/net/py-junos-eznc/distinfo   Wed Dec 13 19:21:35 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.12 2023/11/15 00:05:18 wiz Exp $
+$NetBSD: distinfo,v 1.13 2023/12/13 19:21:35 wiz Exp $
 
 BLAKE2s (junos-eznc-2.6.8.tar.gz) = 930e03236bb55ea21d10e30bd597aa529bafc494c2796177fbde8f6c566fff65
 SHA512 (junos-eznc-2.6.8.tar.gz) = 67443c274d51bd62c30d0a30cac06a8c70bd2932f7c9e4d56854fea591bf118a45caeb857f2b733e990f99716ad9162a1a8c3244975479f82125b3861acf53ab
 Size (junos-eznc-2.6.8.tar.gz) = 157594 bytes
+SHA1 (patch-versioneer.py) = 90f3b0e610f3a0380dcb89a5d9da3aca8f6c6ded

Added files:

Index: pkgsrc/net/py-junos-eznc/patches/patch-versioneer.py
diff -u /dev/null pkgsrc/net/py-junos-eznc/patches/patch-versioneer.py:1.1
--- /dev/null   Wed Dec 13 19:21:35 2023
+++ pkgsrc/net/py-junos-eznc/patches/patch-versioneer.py        Wed Dec 13 19:21:35 2023
@@ -0,0 +1,18 @@
+$NetBSD: patch-versioneer.py,v 1.1 2023/12/13 19:21:35 wiz Exp $
+
+Update for API changes.
+
+--- versioneer.py.orig 2023-12-13 19:20:26.943244642 +0000
++++ versioneer.py
+@@ -343,9 +343,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