diff options
Diffstat (limited to 'gis/python3-pyproj')
-rw-r--r-- | gis/python3-pyproj/python3-pyproj.SlackBuild | 26 | ||||
-rw-r--r-- | gis/python3-pyproj/python3-pyproj.info | 8 |
2 files changed, 8 insertions, 26 deletions
diff --git a/gis/python3-pyproj/python3-pyproj.SlackBuild b/gis/python3-pyproj/python3-pyproj.SlackBuild index 246cf0c474..66a3a2d7b1 100644 --- a/gis/python3-pyproj/python3-pyproj.SlackBuild +++ b/gis/python3-pyproj/python3-pyproj.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for pyproj # Copyright 2013-2021 Benjamin Trigona-Harany -# Copyright 2021-2024 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2021-2025 Gregory J. L. Tourte <artourter@gmail.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=python3-pyproj -VERSION=${VERSION:-3.6.1} +VERSION=${VERSION:-3.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -53,20 +53,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -81,13 +67,9 @@ find -L . \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + 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" -# cython3 does not seem to be actually needed. -# Adding setuptools-scm info to get rid of spurious messages when -# python3-setuptools-scm-opt is installed -# -sed -i 's/cython>=3/cython/' pyproject.toml echo '[tool.setuptools_scm]' >> pyproject.toml python3 -m build --no-isolation diff --git a/gis/python3-pyproj/python3-pyproj.info b/gis/python3-pyproj/python3-pyproj.info index a167cd223c..720ea64806 100644 --- a/gis/python3-pyproj/python3-pyproj.info +++ b/gis/python3-pyproj/python3-pyproj.info @@ -1,10 +1,10 @@ PRGNAM="python3-pyproj" -VERSION="3.6.1" +VERSION="3.7.1" HOMEPAGE="https://github.com/pyproj4/pyproj" -DOWNLOAD="https://files.pythonhosted.org/packages/7d/84/2b39bbf888c753ea48b40d47511548c77aa03445465c35cc4c4e9649b643/pyproj-3.6.1.tar.gz" -MD5SUM="09a67b757bc473b47fb2e247b9994228" +DOWNLOAD="https://files.pythonhosted.org/packages/67/10/a8480ea27ea4bbe896c168808854d00f2a9b49f95c0319ddcbba693c8a90/pyproj-3.7.1.tar.gz" +MD5SUM="ad62b11249d8e62879778190a3e3ef8c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="proj python3-setuptools-opt" +REQUIRES="proj python3-setuptools-opt python3-cython-opt" MAINTAINER="ArTourter" EMAIL="artourter@gmail.com" |