aboutsummaryrefslogtreecommitdiff
path: root/gis/python3-shapely/python3-shapely.SlackBuild
diff options
context:
space:
mode:
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