From eff9590db203d674cacf64c3ca205818b25d0ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 20 May 2025 03:39:39 +0200 Subject: [PATCH] dev-python/shapely: Bump to 2.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/shapely/Manifest | 1 + dev-python/shapely/shapely-2.1.1.ebuild | 46 +++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-python/shapely/shapely-2.1.1.ebuild diff --git a/dev-python/shapely/Manifest b/dev-python/shapely/Manifest index a1d175b249ca3..73f7f23467206 100644 --- a/dev-python/shapely/Manifest +++ b/dev-python/shapely/Manifest @@ -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 diff --git a/dev-python/shapely/shapely-2.1.1.ebuild b/dev-python/shapely/shapely-2.1.1.ebuild new file mode 100644 index 0000000000000..93972bc2f6830 --- /dev/null +++ b/dev-python/shapely/shapely-2.1.1.ebuild @@ -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 +}