summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-11-11 21:34:32 +0100
committerMichał Górny <mgorny@gentoo.org>2023-11-11 21:34:32 +0100
commit82fd3cd600875af14ca93c1aa44e79326574d8f5 (patch)
tree30c5d99a8e3980e690c75b0be946d2668e23f462 /dev-python/shapely
parentdev-python/pytest-localserver: Remove old (diff)
downloadgentoo-82fd3cd600875af14ca93c1aa44e79326574d8f5.tar.gz
gentoo-82fd3cd600875af14ca93c1aa44e79326574d8f5.tar.bz2
gentoo-82fd3cd600875af14ca93c1aa44e79326574d8f5.zip
dev-python/shapely: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/shapely')
-rw-r--r--dev-python/shapely/Manifest1
-rw-r--r--dev-python/shapely/files/shapely-2.0.1-cython3.patch30
-rw-r--r--dev-python/shapely/shapely-2.0.1-r1.ebuild56
-rw-r--r--dev-python/shapely/shapely-2.0.1.ebuild47
4 files changed, 0 insertions, 134 deletions
diff --git a/dev-python/shapely/Manifest b/dev-python/shapely/Manifest
index 19c8f0fa186e..f27b357882e0 100644
--- a/dev-python/shapely/Manifest
+++ b/dev-python/shapely/Manifest
@@ -1,2 +1 @@
-DIST shapely-2.0.1.gh.tar.gz 325843 BLAKE2B f6ae72c8544c236f6761be5bbc358161232319377a76d297eda317e61b97185ae62126b27963cb83798593ec2ce3f29d99bd74113e356b69b54da7586927d43b SHA512 878a4857f5408e2f779566f4885b3336eecd2ecfd685e9be3e306af2720ca4da3f7a1159ae65ad1eba441e0f9b347176d6c144563a9562ed8213e6f964d183c7
DIST shapely-2.0.2.gh.tar.gz 330120 BLAKE2B 01630239075c767897635fb25573bc37469ecb7b03d62cef2d82b95a8bd7216864087b9bbcaa46c75850f2048efac2b171f2a78090bf4cd846e882fd8b549942 SHA512 7d19984a1fae9a4ec6abaa2f88712ff442272019976427a915ccd3493e3dc8fe169c5ab3aacf71f3104fc325f93b1877bfcbe9c44968b661feccc38eeeb16f9a
diff --git a/dev-python/shapely/files/shapely-2.0.1-cython3.patch b/dev-python/shapely/files/shapely-2.0.1-cython3.patch
deleted file mode 100644
index 23fb0384e3f4..000000000000
--- a/dev-python/shapely/files/shapely-2.0.1-cython3.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-https://bugs.gentoo.org/898708
-https://github.com/shapely/shapely/pull/1872
-https://github.com/shapely/shapely/commit/fea6d0351a4422b1f9fefb508db7924981c18e43
-
-From fea6d0351a4422b1f9fefb508db7924981c18e43 Mon Sep 17 00:00:00 2001
-From: Joris Van den Bossche <jorisvandenbossche@gmail.com>
-Date: Sun, 8 Oct 2023 11:12:28 +0200
-Subject: [PATCH] Fix for cython 3 compatibility (#1872)
-
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -1,6 +1,6 @@
- [build-system]
- requires = [
-- "Cython~=0.29",
-+ "Cython",
- "oldest-supported-numpy",
- "setuptools>=61.0.0",
- ]
---- a/shapely/_geos.pyx
-+++ b/shapely/_geos.pyx
-@@ -8,7 +8,7 @@ import warnings
- from shapely import GEOSException
-
-
--cdef void geos_message_handler(const char* message, void* userdata):
-+cdef void geos_message_handler(const char* message, void* userdata) noexcept:
- snprintf(<char *>userdata, 1024, "%s", message)
-
-
diff --git a/dev-python/shapely/shapely-2.0.1-r1.ebuild b/dev-python/shapely/shapely-2.0.1-r1.ebuild
deleted file mode 100644
index 26da953c9be3..000000000000
--- a/dev-python/shapely/shapely-2.0.1-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2023 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..12} )
-
-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="
- >=sci-libs/geos-3.9
-"
-RDEPEND="
- ${DEPEND}
- dev-python/numpy[${PYTHON_USEDEP}]
-"
-BDEPEND="
- ${DEPEND}
- >=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
- dev-python/packaging[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.0.1-cython3.patch
-)
-
-EPYTEST_DESELECT=(
- # Should be able to drop these in next release (>2.0.1)
- # https://github.com/shapely/shapely/issues/1670
- # https://github.com/shapely/shapely/issues/1855
- tests/test_parallel_offset.py::OperationsTestCase::test_parallel_offset_linestring
-)
-
-distutils_enable_tests pytest
-
-python_compile_all() {
- rm -r shapely || die
-}
diff --git a/dev-python/shapely/shapely-2.0.1.ebuild b/dev-python/shapely/shapely-2.0.1.ebuild
deleted file mode 100644
index db9a582dfe69..000000000000
--- a/dev-python/shapely/shapely-2.0.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2023 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..11} )
-
-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="
- >=sci-libs/geos-3.9
-"
-RDEPEND="
- ${DEPEND}
- dev-python/numpy[${PYTHON_USEDEP}]
-"
-# <cython-3: https://bugs.gentoo.org/898708
-BDEPEND="
- ${DEPEND}
- <dev-python/cython-3[${PYTHON_USEDEP}]
- >=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
- dev-python/packaging[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-python_compile_all() {
- rm -r shapely || die
-}