dev-python/shapely: Bump to 2.1.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-09-25 04:51:43 +02:00
parent ffabc531f2
commit 435f22a01f
2 changed files with 49 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}