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>
This commit is contained in:
ArTourter 2023-06-24 01:16:01 +01:00 committed by Willy Sudiarto Raharjo
parent 0d00a8a6ca
commit 08b8acf5ab
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 9 additions and 6 deletions

View File

@ -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

View File

@ -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"