summaryrefslogtreecommitdiff
path: root/geography/py-proj
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-27 08:24:51 +0000
committerwiz <wiz@pkgsrc.org>2022-01-27 08:24:51 +0000
commitef0cc9a3d3729e4019ac76d5c8690b28eabed168 (patch)
tree6fd1b564685f7fb6257296585c80c9287b083ca0 /geography/py-proj
parentf1079cc3c0f86064a675efe2e5cd73174cc24f50 (diff)
downloadpkgsrc-ef0cc9a3d3729e4019ac76d5c8690b28eabed168.tar.gz
py-proj: force running cythonize during build
This fixes the build with python 3.10.
Diffstat (limited to 'geography/py-proj')
-rw-r--r--geography/py-proj/distinfo3
-rw-r--r--geography/py-proj/patches/patch-setup.py14
2 files changed, 16 insertions, 1 deletions
diff --git a/geography/py-proj/distinfo b/geography/py-proj/distinfo
index 71ce1abd288..a13fb75a6ff 100644
--- a/geography/py-proj/distinfo
+++ b/geography/py-proj/distinfo
@@ -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 --git a/geography/py-proj/patches/patch-setup.py b/geography/py-proj/patches/patch-setup.py
new file mode 100644
index 00000000000..34709054c1b
--- /dev/null
+++ b/geography/py-proj/patches/patch-setup.py
@@ -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()
+ )
+