aboutsummaryrefslogtreecommitdiff
path: root/gis/python3-shapely/python3-shapely.SlackBuild
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2025-03-02 18:31:51 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-03-03 21:29:57 +0700
commit15e0af60a2b2b9c9917fbcd2eee207be25e2a95c (patch)
tree75e47e456a632163ccf8eb43ece3b214c32c09d1 /gis/python3-shapely/python3-shapely.SlackBuild
parentf610d1ac177fb13e57dd0ec7d0384ab17861b5a5 (diff)
gis/python3-shapely: Updated for version 2.0.7.
Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/python3-shapely/python3-shapely.SlackBuild')
-rw-r--r--gis/python3-shapely/python3-shapely.SlackBuild17
1 files changed, 4 insertions, 13 deletions
diff --git a/gis/python3-shapely/python3-shapely.SlackBuild b/gis/python3-shapely/python3-shapely.SlackBuild
index adc113ed05..ac00aa124f 100644
--- a/gis/python3-shapely/python3-shapely.SlackBuild
+++ b/gis/python3-shapely/python3-shapely.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Shapely
# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# 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-shapely
-VERSION=${VERSION:-2.0.6}
+VERSION=${VERSION:-2.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -66,17 +66,8 @@ find -L . \
-perm /111 -o \! -perm 755 -o -exec chmod 755 {} + -a \
\! -perm /111 -o \! -perm 644 -o -exec chmod 644 {} +
-# Apply upstream patch to fix compilation with gcc 14
-patch -p1 < $CWD/9795506bba84e96418466ae84573c0cf8654bbeb.patch
-
-# Fixing numpy dependency check in pyproject.toml:
-# oldest-supported-numpy has a strict check and doesn't support newer version
-# so we replace it. The alternative is to add --skip-dependency-check to tbe
-# build line but this is not deemed optimal.
-sed -i 's/oldest-supported-numpy/numpy>=1.19.3/' pyproject.toml
-
-# Requires newer version of setuptools than available in -stable. Has not
-# effect on -current
+# Requires newer version of setuptools than available in -stable. Has no effect
+# on -current
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages