pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov  5 22:45:48 UTC 2023

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

Log Message:
py-magic-wormhole-mailbox-server: convert to wheel.mk

Fix build with Python 3.12

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-magic-wormhole-mailbox-server/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-magic-wormhole-mailbox-server/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-magic-wormhole-mailbox-server/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/py-magic-wormhole-mailbox-server/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-mailbox-server/Makefile
diff -u pkgsrc/net/py-magic-wormhole-mailbox-server/Makefile:1.3 pkgsrc/net/py-magic-wormhole-mailbox-server/Makefile:1.4
--- pkgsrc/net/py-magic-wormhole-mailbox-server/Makefile:1.3    Tue Jan  4 20:54:29 2022
+++ pkgsrc/net/py-magic-wormhole-mailbox-server/Makefile        Sun Nov  5 22:45:48 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:54:29 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2023/11/05 22:45:48 wiz Exp $
 
 DISTNAME=      magic-wormhole-mailbox-server-0.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/magic-wormhole-mailbox-server/}
 
@@ -11,6 +11,7 @@ HOMEPAGE=     https://github.com/magic-wormh
 COMMENT=       Main server for Magic Wormhole
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-attrs>=16.3.0:../../devel/py-attrs
 DEPENDS+=      ${PYPKGPREFIX}-autobahn>=0.14.1:../../www/py-autobahn
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
@@ -22,5 +23,5 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-au
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-magic-wormhole-mailbox-server/PLIST
diff -u pkgsrc/net/py-magic-wormhole-mailbox-server/PLIST:1.1 pkgsrc/net/py-magic-wormhole-mailbox-server/PLIST:1.2
--- pkgsrc/net/py-magic-wormhole-mailbox-server/PLIST:1.1       Sun Jun 27 16:33:17 2021
+++ pkgsrc/net/py-magic-wormhole-mailbox-server/PLIST   Sun Nov  5 22:45:48 2023
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2021/06/27 16:33:17 wiz Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2023/11/05 22:45:48 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/twisted/plugins/magic_wormhole_mailbox.py
 ${PYSITELIB}/twisted/plugins/magic_wormhole_mailbox.pyc
 ${PYSITELIB}/twisted/plugins/magic_wormhole_mailbox.pyo

Index: pkgsrc/net/py-magic-wormhole-mailbox-server/distinfo
diff -u pkgsrc/net/py-magic-wormhole-mailbox-server/distinfo:1.4 pkgsrc/net/py-magic-wormhole-mailbox-server/distinfo:1.5
--- pkgsrc/net/py-magic-wormhole-mailbox-server/distinfo:1.4    Mon Nov 14 19:01:21 2022
+++ pkgsrc/net/py-magic-wormhole-mailbox-server/distinfo        Sun Nov  5 22:45:48 2023
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2022/11/14 19:01:21 wiz Exp $
+$NetBSD: distinfo,v 1.5 2023/11/05 22:45:48 wiz Exp $
 
 BLAKE2s (magic-wormhole-mailbox-server-0.4.1.tar.gz) = dff245eb1ef6cbda843b096749ca23f87444cc2cd6bed57b4b6d63e3c8f1e3f0
 SHA512 (magic-wormhole-mailbox-server-0.4.1.tar.gz) = 17e66d61589b2a9620d56a4df82489d0c9aad40b6d61ff89c6b44e2ab96f8f4f12849879d5950025cbc7a657a2cd6f1afb36505adad52566f57571de645b70a4
 Size (magic-wormhole-mailbox-server-0.4.1.tar.gz) = 64830 bytes
 SHA1 (patch-setup.py) = 60b8b1061834f328dc866a716962f628484744cf
+SHA1 (patch-versioneer.py) = f9c50d788d018ca4aa50d421939a7b6e3b784c40

Added files:

Index: pkgsrc/net/py-magic-wormhole-mailbox-server/patches/patch-versioneer.py
diff -u /dev/null pkgsrc/net/py-magic-wormhole-mailbox-server/patches/patch-versioneer.py:1.1
--- /dev/null   Sun Nov  5 22:45:48 2023
+++ pkgsrc/net/py-magic-wormhole-mailbox-server/patches/patch-versioneer.py     Sun Nov  5 22:45:48 2023
@@ -0,0 +1,18 @@
+$NetBSD: patch-versioneer.py,v 1.1 2023/11/05 22:45:48 wiz Exp $
+
+Fix build with Python 3.12.
+
+--- versioneer.py.orig 2018-02-18 09:14:32.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