aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2023-06-24 01:16:01 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 23:21:13 +0700
commit08b8acf5abb21d651af5fa361624b06bf2194f73 (patch)
treec80d00ba5d9048336599a201227a32ef2d1943f7 /gis
parent0d00a8a6ca919725e363edcb4a7b34d7333cf37b (diff)
gis/python3-pyproj: Updated for version 3.6.0.
- added dep `python3-setuptools-opt` - move to `build`/`wheel` method Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/python3-pyproj/python3-pyproj.SlackBuild7
-rw-r--r--gis/python3-pyproj/python3-pyproj.info8
2 files changed, 9 insertions, 6 deletions
diff --git a/gis/python3-pyproj/python3-pyproj.SlackBuild b/gis/python3-pyproj/python3-pyproj.SlackBuild
index 78bebd6211dc..8ce3614531c7 100644
--- a/gis/python3-pyproj/python3-pyproj.SlackBuild
+++ b/gis/python3-pyproj/python3-pyproj.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pyproj
-VERSION=${VERSION:-3.5.0}
+VERSION=${VERSION:-3.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +82,10 @@ 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 {} \;
-python3 setup.py install --root=$PKG
+export PYTHONPATH=/opt/python3.9/site-packages
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/gis/python3-pyproj/python3-pyproj.info b/gis/python3-pyproj/python3-pyproj.info
index 836c6e33772f..f093177f1252 100644
--- a/gis/python3-pyproj/python3-pyproj.info
+++ b/gis/python3-pyproj/python3-pyproj.info
@@ -1,10 +1,10 @@
PRGNAM="python3-pyproj"
-VERSION="3.5.0"
+VERSION="3.6.0"
HOMEPAGE="https://github.com/pyproj4/pyproj"
-DOWNLOAD="https://github.com/pyproj4/pyproj/archive/3.5.0/pyproj-3.5.0.tar.gz"
-MD5SUM="27906a26dabdece2a0d4b70def556f08"
+DOWNLOAD="https://github.com/pyproj4/pyproj/archive/3.6.0/pyproj-3.6.0.tar.gz"
+MD5SUM="dd28c4d2b030431ebde1c96b118f55cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="proj"
+REQUIRES="proj python3-setuptools-opt"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"