pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-frozendict



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jun 11 15:13:47 UTC 2023

Modified Files:
        pkgsrc/devel/py-frozendict: Makefile distinfo
Added Files:
        pkgsrc/devel/py-frozendict/patches: patch-setup.py

Log Message:
py-frozendict: disable C extension another way

hopefully fixes build with py-cython installed


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-frozendict/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-frozendict/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-frozendict/patches/patch-setup.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-frozendict/Makefile
diff -u pkgsrc/devel/py-frozendict/Makefile:1.18 pkgsrc/devel/py-frozendict/Makefile:1.19
--- pkgsrc/devel/py-frozendict/Makefile:1.18    Mon May  8 07:02:43 2023
+++ pkgsrc/devel/py-frozendict/Makefile Sun Jun 11 15:13:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2023/05/08 07:02:43 adam Exp $
+# $NetBSD: Makefile,v 1.19 2023/06/11 15:13:47 wiz Exp $
 
 DISTNAME=      frozendict-2.3.8
 PKGREVISION=   1
@@ -15,9 +15,6 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]
 
 USE_LANGUAGES= # none
 
-# XXX: do not build c-extension; remove when Python 3.11 gets supported
-MAKE_ENV+=     CIBUILDWHEEL=0
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib

Index: pkgsrc/devel/py-frozendict/distinfo
diff -u pkgsrc/devel/py-frozendict/distinfo:1.13 pkgsrc/devel/py-frozendict/distinfo:1.14
--- pkgsrc/devel/py-frozendict/distinfo:1.13    Sun Apr 30 04:50:27 2023
+++ pkgsrc/devel/py-frozendict/distinfo Sun Jun 11 15:13:47 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2023/04/30 04:50:27 adam Exp $
+$NetBSD: distinfo,v 1.14 2023/06/11 15:13:47 wiz Exp $
 
 BLAKE2s (frozendict-2.3.8.tar.gz) = 030462ae54946174c1cbaae8d579528cd7aa535457d76e096f5beed75a268317
 SHA512 (frozendict-2.3.8.tar.gz) = e0607e695bd7b70b32bdd939b394e6efad604948d1c0b14d3d5ae074c3d9e7a602f32c71c2ce66fb27a99bdd7fb3bf14998df9bea8a42ee7c11192cfe81380f3
 Size (frozendict-2.3.8.tar.gz) = 312109 bytes
+SHA1 (patch-setup.py) = 6c85ddd9dd392b68bb1c5a909e41e623e5911601

Added files:

Index: pkgsrc/devel/py-frozendict/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-frozendict/patches/patch-setup.py:1.1
--- /dev/null   Sun Jun 11 15:13:47 2023
+++ pkgsrc/devel/py-frozendict/patches/patch-setup.py   Sun Jun 11 15:13:47 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.1 2023/06/11 15:13:47 wiz Exp $
+
+Do not build c-extension; remove when Python 3.11 gets supported.
+
+--- setup.py.orig      2023-04-29 20:10:14.000000000 +0000
++++ setup.py
+@@ -203,6 +203,7 @@ if custom_arg == None:
+ elif custom_arg in custom_args_c:
+     optional = False
+ 
++custom_arg = "py"
+ if custom_arg in custom_args_py:
+     setuptools.setup(**common_setup_args)
+ elif custom_arg in custom_args_c:



Home | Main Index | Thread Index | Old Index