From 15e0af60a2b2b9c9917fbcd2eee207be25e2a95c Mon Sep 17 00:00:00 2001 From: ArTourter Date: Sun, 2 Mar 2025 18:31:51 +0000 Subject: gis/python3-shapely: Updated for version 2.0.7. Signed-off-by: ArTourter Signed-off-by: Willy Sudiarto Raharjo --- gis/python3-shapely/python3-shapely.SlackBuild | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'gis/python3-shapely/python3-shapely.SlackBuild') 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 -# Copyright 2021-2024 Gregory J. L. Tourte +# Copyright 2021-2025 Gregory J. L. Tourte # 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 -- cgit v1.2.3