diff options
-rw-r--r-- | gis/Fiona/Fiona.SlackBuild | 12 | ||||
-rw-r--r-- | gis/Fiona/Fiona.info | 8 | ||||
-rw-r--r-- | gis/Fiona/README | 3 |
3 files changed, 9 insertions, 14 deletions
diff --git a/gis/Fiona/Fiona.SlackBuild b/gis/Fiona/Fiona.SlackBuild index 689b4e7450..a7108c0914 100644 --- a/gis/Fiona/Fiona.SlackBuild +++ b/gis/Fiona/Fiona.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for Fiona # Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2024-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=Fiona -VERSION=${VERSION:-1.9.4.post1} +VERSION=${VERSION:-1.10.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,11 +63,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# remove requirement -sed -i '/oldest-supported-numpy/d' pyproject.toml - PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') -export PYTHONPATH=/opt/python$PYVER/site-packages/ +export PYTHONPATH="/opt/python$PYVER/site-packages:/opt/cython/python$PYVER/site-packages" +export PATH="/opt/cython/bin:$PATH" python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl @@ -77,7 +75,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGES.txt CREDITS.txt LICENSE.txt README.rst \ + CHANGES.txt CREDITS.txt FAQ.rst LICENSE.txt README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/gis/Fiona/Fiona.info b/gis/Fiona/Fiona.info index a5b23cc9d9..1a7a33b83c 100644 --- a/gis/Fiona/Fiona.info +++ b/gis/Fiona/Fiona.info @@ -1,10 +1,10 @@ PRGNAM="Fiona" -VERSION="1.9.4.post1" +VERSION="1.10.1" HOMEPAGE="https://github.com/Toblerity/Fiona" -DOWNLOAD="https://github.com/Toblerity/Fiona/archive/1.9.4.post1/Fiona-1.9.4.post1.tar.gz" -MD5SUM="8c22085e3af1e69d6e4fff313c976ff5" +DOWNLOAD="https://github.com/Toblerity/Fiona/archive/1.10.1/Fiona-1.10.1.tar.gz" +MD5SUM="18b5db57708af803ba6cec8343e2d970" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gdal munch python3-attrs click-plugins cligj python-importlib_metadata" +REQUIRES="gdal munch python3-attrs click-plugins cligj python-importlib_metadata python3-cython-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" diff --git a/gis/Fiona/README b/gis/Fiona/README index 5893290008..ad7dc450bd 100644 --- a/gis/Fiona/README +++ b/gis/Fiona/README @@ -9,6 +9,3 @@ iterators instead of classes specific to OGR. Fiona can read and write real-world data using multi-layered GIS formats and zipped virtual file systems and integrates readily with other Python GIS packages such as pyproj, Rtree and Shapely. - -Fiona 1.9.4.post1 is the last available version for Slackware 15.0. -Newer versions require a newer Cython (at >= 3.0.2). |