commit:     435f22a01fd4f92e786246807a780eb66a3a3bcb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 25 02:51:43 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 25 10:00:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=435f22a0

dev-python/shapely: Bump to 2.1.2

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

 dev-python/shapely/Manifest             |  1 +
 dev-python/shapely/shapely-2.1.2.ebuild | 48 +++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/shapely/Manifest b/dev-python/shapely/Manifest
index 87862e9b04cb..3308b5c65396 100644
--- a/dev-python/shapely/Manifest
+++ b/dev-python/shapely/Manifest
@@ -1 +1,2 @@
 DIST shapely-2.1.1.gh.tar.gz 371560 BLAKE2B 
f59e4d3dcc4da19f07df27e06d011039f824caf2061d53f274652d5206ad63a7f40e3fa105d74f489d0de4769f35d3b29c972bb8024cdcaeca1f869d2fa8fcdc
 SHA512 
40aa2894e3cd8f778ef0036f9b071b95b032482b6943fc38441c2b471ae49698400d91a952a4dffcecf1d5d4b919c73a29e21478a49562a9942fafb835fe993d
+DIST shapely-2.1.2.gh.tar.gz 371669 BLAKE2B 
d11c6c11e4567518d3bb6b4ec0ecf560ed2351d863825cb0c60465a303f5fe7fd6f5f957596745436b7fab0f38e6f2e2d0f259764002deb685eb6ec71f131d13
 SHA512 
2da9a4b92726c1a3f272f9b4358bc96b7da419550058179d73dd46c3bdfefe3133a30ff7a29dfaae0a1823fd5a9c9b6014dc485b637dff029242f3e8e27f1058

diff --git a/dev-python/shapely/shapely-2.1.2.ebuild 
b/dev-python/shapely/shapely-2.1.2.ebuild
new file mode 100644
index 000000000000..87aba28ed22b
--- /dev/null
+++ b/dev-python/shapely/shapely-2.1.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+# TODO: freethreading
+PYTHON_COMPAT=( python3_{11..14} )
+
+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}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+       rm -rf shapely || die
+       epytest --pyargs shapely
+}

Reply via email to