[arch-commits] Commit in python-fiona/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sun Mar 20 15:00:12 UTC 2022


    Date: Sunday, March 20, 2022 @ 15:00:12
  Author: archange
Revision: 1163793

archrelease: copy trunk to community-x86_64

Added:
  python-fiona/repos/community-x86_64/PKGBUILD
    (from rev 1163792, python-fiona/trunk/PKGBUILD)
Deleted:
  python-fiona/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 49 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-20 14:59:47 UTC (rev 1163792)
+++ PKGBUILD	2022-03-20 15:00:12 UTC (rev 1163793)
@@ -1,51 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=Fiona
-pkgname=python-${_pkg,,}
-pkgver=1.8.20
-pkgrel=6
-pkgdesc="Read and write geographic data files"
-arch=(x86_64)
-url="https://github.com/Toblerity/Fiona"
-license=(BSD)
-depends=(
-    gdal
-    python-attrs
-    python-certifi
-    python-click
-    python-click-plugins
-    python-cligj
-    python-munch
-    python-six
-)
-optdepends=(
-    'python-shapely: fio-calc functionnality'
-    'python-boto3: s3 support'
-)
-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)
-# 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}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}-${pkgver}
-  mv fiona{,.bak} # Avoid non-working local import
-  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-  # Currently they are 67 failing tests but no time to investigate
-  PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-${python_version}/ pytest -m "not wheel" || echo "Warning: failed tests"
-  mv fiona{.bak,}
-}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-fiona/repos/community-x86_64/PKGBUILD (from rev 1163792, python-fiona/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-20 15:00:12 UTC (rev 1163793)
@@ -0,0 +1,49 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=Fiona
+pkgname=python-${_pkg,,}
+pkgver=1.8.21
+pkgrel=1
+pkgdesc="Read and write geographic data files"
+arch=(x86_64)
+url="https://github.com/Toblerity/Fiona"
+license=(BSD)
+depends=(
+    gdal
+    python-attrs
+    python-certifi
+    python-click
+    python-click-plugins
+    python-cligj
+    python-munch
+    python-six
+)
+optdepends=(
+    'python-shapely: fio-calc functionnality'
+    'python-boto3: s3 support'
+)
+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)
+source=(https://github.com/Toblerity/Fiona/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('55d1b99cb4310e663c529db5f583d81dd1090d35adad5be235a3f9cdf6611d8a')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  mv fiona{,.bak} # Avoid non-working local import
+  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  # Currently they are 66 failing tests but no time to investigate
+  PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-${python_version}/ pytest -vv --color=yes -m "not wheel" || echo "Warning: failed tests"
+  mv fiona{.bak,}
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list