diff options
author | 2025-03-02 18:31:51 +0000 | |
---|---|---|
committer | 2025-03-03 21:29:57 +0700 | |
commit | 15e0af60a2b2b9c9917fbcd2eee207be25e2a95c (patch) | |
tree | 75e47e456a632163ccf8eb43ece3b214c32c09d1 /gis | |
parent | f610d1ac177fb13e57dd0ec7d0384ab17861b5a5 (diff) | |
download | slackbuilds-15e0af60a2b2b9c9917fbcd2eee207be25e2a95c.tar.gz slackbuilds-15e0af60a2b2b9c9917fbcd2eee207be25e2a95c.tar.xz |
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')
-rw-r--r-- | gis/python3-shapely/9795506bba84e96418466ae84573c0cf8654bbeb.patch | 22 | ||||
-rw-r--r-- | gis/python3-shapely/python3-shapely.SlackBuild | 17 | ||||
-rw-r--r-- | gis/python3-shapely/python3-shapely.info | 6 |
3 files changed, 7 insertions, 38 deletions
diff --git a/gis/python3-shapely/9795506bba84e96418466ae84573c0cf8654bbeb.patch b/gis/python3-shapely/9795506bba84e96418466ae84573c0cf8654bbeb.patch deleted file mode 100644 index 90359ce4bc..0000000000 --- a/gis/python3-shapely/9795506bba84e96418466ae84573c0cf8654bbeb.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 9795506bba84e96418466ae84573c0cf8654bbeb Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" <code@musicinmybrain.net> -Date: Sun, 3 Dec 2023 11:36:36 -0500 -Subject: [PATCH] Fix incompatible pointer type passed to GEOSPolygonize_r - ---- - src/ufuncs.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/ufuncs.c b/src/ufuncs.c -index ed83e9619..9d08fa20c 100644 ---- a/src/ufuncs.c -+++ b/src/ufuncs.c -@@ -2160,7 +2160,7 @@ static void polygonize_func(char** args, const npy_intp* dimensions, const npy_i - - GEOS_INIT; - -- GEOSGeometry** geoms = malloc(sizeof(void*) * dimensions[1]); -+ const GEOSGeometry** geoms = malloc(sizeof(void*) * dimensions[1]); - if (geoms == NULL) { - errstate = PGERR_NO_MALLOC; - goto finish; 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 diff --git a/gis/python3-shapely/python3-shapely.info b/gis/python3-shapely/python3-shapely.info index e1b56e8498..2480a783c9 100644 --- a/gis/python3-shapely/python3-shapely.info +++ b/gis/python3-shapely/python3-shapely.info @@ -1,8 +1,8 @@ PRGNAM="python3-shapely" -VERSION="2.0.6" +VERSION="2.0.7" HOMEPAGE="https://github.com/shapely/shapely" -DOWNLOAD="https://github.com/shapely/shapely/archive/2.0.6/shapely-2.0.6.tar.gz" -MD5SUM="8a8294e0d12479457e0c84a3a5d4665b" +DOWNLOAD="https://github.com/shapely/shapely/archive/2.0.7/shapely-2.0.7.tar.gz" +MD5SUM="becf7be07f082ab55cb85d27aacdd93c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt python3-numpy geos" |