dev-python/shapely: Bump to 2.1.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-05-20 03:39:39 +02:00
parent d268f56da6
commit eff9590db2
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 47 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST shapely-2.1.0.gh.tar.gz 369395 BLAKE2B 2fcdc727d1b192bbf39dee55d752e445e02cb98107509e220171c80317b48c80bdb34e6d390b26ce00351de94d3815a6234ba3d3f16f9d01eb16440eff9c0f09 SHA512 f5272fdeb68dcddb632965c3031249a270a016b93207b00835b924c0318e3ab4c7e21581f307b30b97f1489d3b6c9b016f1479200ac64e1afcf1b4273c679721
DIST shapely-2.1.1.gh.tar.gz 371560 BLAKE2B f59e4d3dcc4da19f07df27e06d011039f824caf2061d53f274652d5206ad63a7f40e3fa105d74f489d0de4769f35d3b29c972bb8024cdcaeca1f869d2fa8fcdc SHA512 40aa2894e3cd8f778ef0036f9b071b95b032482b6943fc38441c2b471ae49698400d91a952a4dffcecf1d5d4b919c73a29e21478a49562a9942fafb835fe993d

View File

@ -0,0 +1,46 @@
# 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
PYTHON_COMPAT=( python3_{11..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}]
"
distutils_enable_tests pytest
python_test() {
rm -rf shapely || die
epytest --pyargs shapely
}