pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-cython
Module Name: pkgsrc
Committed By: adam
Date: Wed Apr 14 19:25:15 UTC 2021
Modified Files:
pkgsrc/devel/py-cython: Makefile distinfo
pkgsrc/devel/py-cython/patches: patch-runtests.py
Added Files:
pkgsrc/devel/py-cython/patches: patch-Demos_embed_Makefile
Removed Files:
pkgsrc/devel/py-cython/patches: patch-ac
Log Message:
py-cython: updated to 0.29.23
0.29.23 (2021-04-14)
====================
Bugs fixed
----------
* Some problems with Python 3.10 were resolved.
* An incorrect "optimisation" was removed that allowed changes to a keyword
dict to leak into keyword arguments passed into a function.
* Multiplied str constants could end up as bytes constants with language_level=2.
* ``PY_SSIZE_T_CLEAN`` does not get defined any more if it is already defined.
To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 pkgsrc/devel/py-cython/Makefile
cvs rdiff -u -r1.62 -r1.63 pkgsrc/devel/py-cython/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/py-cython/patches/patch-Demos_embed_Makefile
cvs rdiff -u -r1.5 -r0 pkgsrc/devel/py-cython/patches/patch-ac
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-cython/patches/patch-runtests.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-cython/Makefile
diff -u pkgsrc/devel/py-cython/Makefile:1.70 pkgsrc/devel/py-cython/Makefile:1.71
--- pkgsrc/devel/py-cython/Makefile:1.70 Sun Feb 21 12:50:44 2021
+++ pkgsrc/devel/py-cython/Makefile Wed Apr 14 19:25:15 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.70 2021/02/21 12:50:44 adam Exp $
+# $NetBSD: Makefile,v 1.71 2021/04/14 19:25:15 adam Exp $
-DISTNAME= Cython-0.29.22
+DISTNAME= Cython-0.29.23
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cython/}
Index: pkgsrc/devel/py-cython/distinfo
diff -u pkgsrc/devel/py-cython/distinfo:1.62 pkgsrc/devel/py-cython/distinfo:1.63
--- pkgsrc/devel/py-cython/distinfo:1.62 Sun Feb 21 12:50:44 2021
+++ pkgsrc/devel/py-cython/distinfo Wed Apr 14 19:25:15 2021
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.62 2021/02/21 12:50:44 adam Exp $
+$NetBSD: distinfo,v 1.63 2021/04/14 19:25:15 adam Exp $
-SHA1 (Cython-0.29.22.tar.gz) = aaafd83a8c28e57bfcbf2f85dd67868fa43eff3a
-RMD160 (Cython-0.29.22.tar.gz) = 75e4160da42d6e3d0008aa26d8d1009e823eb2c8
-SHA512 (Cython-0.29.22.tar.gz) = 721812b7009049717d907f3b22cc63a28b882a843d3af613ddd5a47a6588fb49ffd4188856ed4a2612f8abe07d35ba29b2143b8ff6d184a99c22328db09e9c27
-Size (Cython-0.29.22.tar.gz) = 2072112 bytes
+SHA1 (Cython-0.29.23.tar.gz) = 1abade0df2717cf3a4ff5f7e726f60467c101794
+RMD160 (Cython-0.29.23.tar.gz) = 60c4f9eacc57ef5377e992285f3e4fc5641a1a45
+SHA512 (Cython-0.29.23.tar.gz) = 2fdfc66102de7cafc2e23302fb355af2a41adf8de74c6bffd77b49c3044a522c09d6705a257c1a5a33d5b0d06d8c8b2fe4caff123d519e43280b95fc8781b395
+Size (Cython-0.29.23.tar.gz) = 2073944 bytes
SHA1 (patch-Cython_Distutils_old__build__ext.py) = 2bc705192923cc2f40f7c173625b056caa08f666
-SHA1 (patch-ac) = d0e06dd9e4b5a34d0614ec17f51c129eb7724323
-SHA1 (patch-runtests.py) = d08d3d8e17d6b75a3067f295d3d3eb63ffe97b48
+SHA1 (patch-Demos_embed_Makefile) = 67c4f662a8d79d39cbf8808d2e87d91a26ef28b9
+SHA1 (patch-runtests.py) = 18e970afd950efa2ec5631c0d747ffaee68be2a1
Index: pkgsrc/devel/py-cython/patches/patch-runtests.py
diff -u pkgsrc/devel/py-cython/patches/patch-runtests.py:1.2 pkgsrc/devel/py-cython/patches/patch-runtests.py:1.3
--- pkgsrc/devel/py-cython/patches/patch-runtests.py:1.2 Mon Oct 15 08:21:03 2018
+++ pkgsrc/devel/py-cython/patches/patch-runtests.py Wed Apr 14 19:25:15 2021
@@ -1,10 +1,10 @@
-$NetBSD: patch-runtests.py,v 1.2 2018/10/15 08:21:03 adam Exp $
+$NetBSD: patch-runtests.py,v 1.3 2021/04/14 19:25:15 adam Exp $
Use correct make for pkgsrc.
---- runtests.py.orig 2018-10-14 15:27:58.000000000 +0000
+--- runtests.py.orig 2021-04-14 15:24:45.000000000 +0000
+++ runtests.py
-@@ -1770,12 +1770,12 @@ class EmbedTest(unittest.TestCase):
+@@ -1773,12 +1773,12 @@ class EmbedTest(unittest.TestCase):
self.old_dir = os.getcwd()
os.chdir(self.working_dir)
os.system(
@@ -19,12 +19,12 @@ Use correct make for pkgsrc.
except:
pass
os.chdir(self.old_dir)
-@@ -1795,7 +1795,7 @@ class EmbedTest(unittest.TestCase):
- cython = os.path.join(CY3_DIR, cython)
- cython = os.path.abspath(os.path.join('..', '..', cython))
- self.assertEqual(0, os.system(
-- "make PYTHON='%s' CYTHON='%s' LIBDIR1='%s' test > make.output" % (sys.executable, cython, libdir)))
-+ "gmake PYTHON='%s' CYTHON='%s' LIBDIR1='%s' test > make.output" % (sys.executable, cython, libdir)))
+@@ -1800,7 +1800,7 @@ class EmbedTest(unittest.TestCase):
+
try:
- os.remove('make.output')
- except OSError:
+ subprocess.check_call([
+- "make",
++ "gmake",
+ "PYTHON='%s'" % sys.executable,
+ "CYTHON='%s'" % cython,
+ "LIBDIR1='%s'" % libdir,
Added files:
Index: pkgsrc/devel/py-cython/patches/patch-Demos_embed_Makefile
diff -u /dev/null pkgsrc/devel/py-cython/patches/patch-Demos_embed_Makefile:1.1
--- /dev/null Wed Apr 14 19:25:15 2021
+++ pkgsrc/devel/py-cython/patches/patch-Demos_embed_Makefile Wed Apr 14 19:25:15 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-Demos_embed_Makefile,v 1.1 2021/04/14 19:25:15 adam Exp $
+
+Add missing rpath.
+
+--- Demos/embed/Makefile.orig 2021-04-14 15:24:45.000000000 +0000
++++ Demos/embed/Makefile
+@@ -33,7 +33,7 @@ paths:
+ @echo "SYSLIBS=$(SYSLIBS)"
+
+ embedded: embedded.o
+- $(LINKCC) -o $@ $^ -L$(LIBDIR1) -L$(LIBDIR2) -l$(PYLIB) $(LIBS) $(SYSLIBS) $(LINKFORSHARED)
++ $(LINKCC) -o $@ $^ -L$(LIBDIR1) -L$(LIBDIR2) -l$(PYLIB) $(LIBS) $(SYSLIBS) $(LINKFORSHARED) -Wl,-R$(LIBDIR1)
+
+ embedded.o: embedded.c
+ $(CC) -c $^ -I$(INCDIR) -I$(PLATINCDIR)
Home |
Main Index |
Thread Index |
Old Index