commit:     834376ce45972eca19378f7227ec9202648b7345
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 15 09:47:15 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 09:52:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834376ce

dev-python/shapely: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/shapely/Manifest                      |  1 -
 dev-python/shapely/files/shapely-2.0.2-c99.patch | 19 ---------
 dev-python/shapely/shapely-2.0.6.ebuild          | 50 ------------------------
 3 files changed, 70 deletions(-)

diff --git a/dev-python/shapely/Manifest b/dev-python/shapely/Manifest
index 27507c9ce403..fbc9b44658a6 100644
--- a/dev-python/shapely/Manifest
+++ b/dev-python/shapely/Manifest
@@ -1,2 +1 @@
-DIST shapely-2.0.6.gh.tar.gz 333201 BLAKE2B 
91e5f9552c6b0c33e87e91eebd848fb9a054d963e6e850d541ed65a4ad5b803d4959b1f8f89feb080824cd12299ca1a70ccfe17fb292469a0bd627257d06d1e4
 SHA512 
fedd3e43b7cdf011f19ab89bd27982520689c34d8c924b684441cefa9543a2feabbf856981f934b5935971fd805aae92fbe70e7414e4c9b5753f30eb750e03e0
 DIST shapely-2.0.7.gh.tar.gz 334359 BLAKE2B 
3b12cf5d52595bfdfaa2b9b820a9d9e1bc95e18ca43accf5ec2dba2f30ceb9df90c359e360a51c9aa9a8c3121dcf39ad6e54c2a16793f61aa129dfef881a83ae
 SHA512 
78ecb89d6a4fc880582f576bb4674b6a6ed28f863b65a218835badfb5bcb0b290ef87bbd3113b69d44ead7518643d0f8ecf2cd43f0e4b5b19b814dd8835a0107

diff --git a/dev-python/shapely/files/shapely-2.0.2-c99.patch 
b/dev-python/shapely/files/shapely-2.0.2-c99.patch
deleted file mode 100644
index a51fc8883103..000000000000
--- a/dev-python/shapely/files/shapely-2.0.2-c99.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-https://github.com/shapely/shapely/pull/1945
-
-From 9795506bba84e96418466ae84573c0cf8654bbeb Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <[email protected]>
-Date: Sun, 3 Dec 2023 11:36:36 -0500
-Subject: [PATCH] Fix incompatible pointer type passed to GEOSPolygonize_r
-
---- 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/dev-python/shapely/shapely-2.0.6.ebuild 
b/dev-python/shapely/shapely-2.0.6.ebuild
deleted file mode 100644
index ac8859ac4f41..000000000000
--- a/dev-python/shapely/shapely-2.0.6.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit distutils-r1
-
-MY_P=${P/_p/.post}
-DESCRIPTION="Geometric objects, predicates, and operations"
-HOMEPAGE="
-       https://pypi.org/project/shapely/
-       https://github.com/shapely/shapely/
-"
-SRC_URI="
-       https://github.com/shapely/shapely/archive/${PV/_p/.post}.tar.gz
-               -> ${MY_P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~x86"
-
-DEPEND="
-       dev-python/numpy:=[${PYTHON_USEDEP}]
-       >=sci-libs/geos-3.11.4
-"
-RDEPEND="
-       ${DEPEND}
-"
-BDEPEND="
-       ${DEPEND}
-       >=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
-       dev-python/packaging[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-2.0.2-c99.patch
-)
-
-distutils_enable_tests pytest
-
-python_test() {
-       rm -rf shapely || die
-       epytest --pyargs shapely
-}

Reply via email to