[arch-commits] Commit in python-fiona/trunk (PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 8 02:54:25 UTC 2021


    Date: Wednesday, December 8, 2021 @ 02:54:25
  Author: foutrelis
Revision: 1065590

upgpkg: python-fiona 1.8.20-5: fix runtime with Python 3.10

Due to the PyPI sources being compiled with older Cython, we were
getting the following error:

  ImportError: /usr/lib/python3.10/site-packages/fiona/
  ogrext.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send

Modified:
  python-fiona/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-08 02:33:50 UTC (rev 1065589)
+++ PKGBUILD	2021-12-08 02:54:25 UTC (rev 1065590)
@@ -3,7 +3,7 @@
 _pkg=Fiona
 pkgname=python-${_pkg,,}
 pkgver=1.8.20
-pkgrel=4
+pkgrel=5
 pkgdesc="Read and write geographic data files"
 arch=(x86_64)
 url="https://github.com/Toblerity/Fiona"
@@ -24,8 +24,11 @@
 )
 makedepends=(cython python-setuptools)
 checkdepends=(python-pytest python-boto3 python-pytz python-shapely)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('a70502d2857b82f749c09cb0dea3726787747933a2a1599b5ab787d74e3c143b')
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+# need sources generated with newer cython than the one used in pypi sources
+# https://github.com/Toblerity/Fiona/issues/1043
+source=(https://github.com/Toblerity/Fiona/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('9db20c25cd5657e12cf2b60bdd33954064ca31b7048b605885d34b390f898018')
 
 build() {
   cd ${_pkg}-${pkgver}



More information about the arch-commits mailing list