pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-magic-wormhole



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Oct 25 21:35:42 UTC 2023

Modified Files:
        pkgsrc/net/py-magic-wormhole: Makefile distinfo
Added Files:
        pkgsrc/net/py-magic-wormhole/patches: patch-versioneer.py

Log Message:
py-magic-wormhole: fix build with Python 3.12

(already done upstream)

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/py-magic-wormhole/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-magic-wormhole/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/py-magic-wormhole/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-magic-wormhole/Makefile
diff -u pkgsrc/net/py-magic-wormhole/Makefile:1.8 pkgsrc/net/py-magic-wormhole/Makefile:1.9
--- pkgsrc/net/py-magic-wormhole/Makefile:1.8   Sat Sep  9 21:29:18 2023
+++ pkgsrc/net/py-magic-wormhole/Makefile       Wed Oct 25 21:35:42 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2023/09/09 21:29:18 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2023/10/25 21:35:42 wiz Exp $
 
 DISTNAME=      magic-wormhole-0.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/magic-wormhole/}
 

Index: pkgsrc/net/py-magic-wormhole/distinfo
diff -u pkgsrc/net/py-magic-wormhole/distinfo:1.4 pkgsrc/net/py-magic-wormhole/distinfo:1.5
--- pkgsrc/net/py-magic-wormhole/distinfo:1.4   Sat Sep  9 21:29:18 2023
+++ pkgsrc/net/py-magic-wormhole/distinfo       Wed Oct 25 21:35:42 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2023/09/09 21:29:18 wiz Exp $
+$NetBSD: distinfo,v 1.5 2023/10/25 21:35:42 wiz Exp $
 
 BLAKE2s (magic-wormhole-0.13.0.tar.gz) = 420651d41f21285d3efae813edeb2fce2410e30c14975967bfdea30d0cfc126f
 SHA512 (magic-wormhole-0.13.0.tar.gz) = 5c26da12ae94202684da14d7e3fa84ef173a31a3e5e42a40dcc2b8d3a6475943c813bcef9fbf904e419152a16e2cb4a85c2a69bbf0528f5fa63d056bf5f348e2
 Size (magic-wormhole-0.13.0.tar.gz) = 274564 bytes
+SHA1 (patch-versioneer.py) = 478aba0620fa3e6e48c696db0b33d1cb658cb00c

Added files:

Index: pkgsrc/net/py-magic-wormhole/patches/patch-versioneer.py
diff -u /dev/null pkgsrc/net/py-magic-wormhole/patches/patch-versioneer.py:1.1
--- /dev/null   Wed Oct 25 21:35:42 2023
+++ pkgsrc/net/py-magic-wormhole/patches/patch-versioneer.py    Wed Oct 25 21:35:42 2023
@@ -0,0 +1,18 @@
+$NetBSD: patch-versioneer.py,v 1.1 2023/10/25 21:35:42 wiz Exp $
+
+Fix build with Python 3.12.
+
+--- versioneer.py.orig 2022-10-26 23:02:45.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