pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cython py-cython: updated to 0.29.23



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23658b500c17
branches:  trunk
changeset: 450336:23658b500c17
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 14 19:25:15 2021 +0000

description:
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.

diffstat:

 devel/py-cython/Makefile                           |   4 ++--
 devel/py-cython/distinfo                           |  14 +++++++-------
 devel/py-cython/patches/patch-Demos_embed_Makefile |  15 +++++++++++++++
 devel/py-cython/patches/patch-ac                   |  15 ---------------
 devel/py-cython/patches/patch-runtests.py          |  22 +++++++++++-----------
 5 files changed, 35 insertions(+), 35 deletions(-)

diffs (108 lines):

diff -r bee9d80db572 -r 23658b500c17 devel/py-cython/Makefile
--- a/devel/py-cython/Makefile  Wed Apr 14 19:11:49 2021 +0000
+++ b/devel/py-cython/Makefile  Wed Apr 14 19:25:15 2021 +0000
@@ -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/}
diff -r bee9d80db572 -r 23658b500c17 devel/py-cython/distinfo
--- a/devel/py-cython/distinfo  Wed Apr 14 19:11:49 2021 +0000
+++ b/devel/py-cython/distinfo  Wed Apr 14 19:25:15 2021 +0000
@@ -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
diff -r bee9d80db572 -r 23658b500c17 devel/py-cython/patches/patch-Demos_embed_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cython/patches/patch-Demos_embed_Makefile        Wed Apr 14 19:25:15 2021 +0000
@@ -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)
diff -r bee9d80db572 -r 23658b500c17 devel/py-cython/patches/patch-ac
--- a/devel/py-cython/patches/patch-ac  Wed Apr 14 19:11:49 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.5 2014/09/14 17:44:49 wiz Exp $
-
-Add missing rpath.
-
---- Demos/embed/Makefile.orig  2014-09-10 15:49:05.000000000 +0000
-+++ Demos/embed/Makefile
-@@ -15,7 +15,7 @@ LIBS := $(shell $(PYTHON) -c "import dis
- SYSLIBS :=  $(shell $(PYTHON) -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('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)
diff -r bee9d80db572 -r 23658b500c17 devel/py-cython/patches/patch-runtests.py
--- a/devel/py-cython/patches/patch-runtests.py Wed Apr 14 19:11:49 2021 +0000
+++ b/devel/py-cython/patches/patch-runtests.py Wed Apr 14 19:25:15 2021 +0000
@@ -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 @@
          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,



Home | Main Index | Thread Index | Old Index