pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/geography/py-proj py-proj: force running cythonize dur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01b8484a59a8
branches:  trunk
changeset: 372552:01b8484a59a8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jan 27 08:24:51 2022 +0000

description:
py-proj: force running cythonize during build

This fixes the build with python 3.10.

diffstat:

 geography/py-proj/distinfo               |   3 ++-
 geography/py-proj/patches/patch-setup.py |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r dc4b849b6a3d -r 01b8484a59a8 geography/py-proj/distinfo
--- a/geography/py-proj/distinfo        Thu Jan 27 08:20:26 2022 +0000
+++ b/geography/py-proj/distinfo        Thu Jan 27 08:24:51 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 10:45:15 nia Exp $
+$NetBSD: distinfo,v 1.10 2022/01/27 08:24:51 wiz Exp $
 
 BLAKE2s (pyproj-2.6.1.tar.gz) = 94000486db4227c8b26fa88e594363801a61c75bb34f9363df67dd4550854600
 SHA512 (pyproj-2.6.1.tar.gz) = d6bf6b77eb95bb630c41ac7737538c015e2724277f37975b106a4386887c6193c3172dfc9309d1fc8af0b95c86486f359a18a0ca443bcdac9573df6da39935e0
 Size (pyproj-2.6.1.tar.gz) = 528171 bytes
+SHA1 (patch-setup.py) = 7aa563bcd6120b7ca7d0743da9657262b783474d
diff -r dc4b849b6a3d -r 01b8484a59a8 geography/py-proj/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/py-proj/patches/patch-setup.py  Thu Jan 27 08:24:51 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.1 2022/01/27 08:24:51 wiz Exp $
+
+Force running cythonize, to fix build with python 3.10.
+
+--- setup.py.orig      2020-05-04 02:03:06.000000000 +0000
++++ setup.py
+@@ -168,6 +168,7 @@ def get_extension_modules():
+             Extension("pyproj._list", ["pyproj/_list.pyx"], **ext_options),
+         ],
+         quiet=True,
++        force=True,
+         **get_cythonize_options()
+     )
+ 



Home | Main Index | Thread Index | Old Index