summaryrefslogtreecommitdiff
path: root/dev-python/shapely
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-04-05 18:52:46 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-04-05 18:52:46 +0000
commitcafd82d9fed3f9204ad8e3167545111ab9db5cc9 (patch)
treec9129c832e07d05424105a595fd732274a07787a /dev-python/shapely
parent20e9076f1be511fb2cfd93b574ceb4306f6c45fe (diff)
downloadbaldeagleos-repo-cafd82d9fed3f9204ad8e3167545111ab9db5cc9.tar.gz
baldeagleos-repo-cafd82d9fed3f9204ad8e3167545111ab9db5cc9.tar.xz
baldeagleos-repo-cafd82d9fed3f9204ad8e3167545111ab9db5cc9.zip
Adding metadata
Diffstat (limited to 'dev-python/shapely')
-rw-r--r--dev-python/shapely/Manifest1
-rw-r--r--dev-python/shapely/shapely-2.1.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/shapely/Manifest b/dev-python/shapely/Manifest
index fbc9b44658a6..ed916ddf13af 100644
--- a/dev-python/shapely/Manifest
+++ b/dev-python/shapely/Manifest
@@ -1 +1,2 @@
DIST shapely-2.0.7.gh.tar.gz 334359 BLAKE2B 3b12cf5d52595bfdfaa2b9b820a9d9e1bc95e18ca43accf5ec2dba2f30ceb9df90c359e360a51c9aa9a8c3121dcf39ad6e54c2a16793f61aa129dfef881a83ae SHA512 78ecb89d6a4fc880582f576bb4674b6a6ed28f863b65a218835badfb5bcb0b290ef87bbd3113b69d44ead7518643d0f8ecf2cd43f0e4b5b19b814dd8835a0107
+DIST shapely-2.1.0.gh.tar.gz 369395 BLAKE2B 2fcdc727d1b192bbf39dee55d752e445e02cb98107509e220171c80317b48c80bdb34e6d390b26ce00351de94d3815a6234ba3d3f16f9d01eb16440eff9c0f09 SHA512 f5272fdeb68dcddb632965c3031249a270a016b93207b00835b924c0318e3ab4c7e21581f307b30b97f1489d3b6c9b016f1479200ac64e1afcf1b4273c679721
diff --git a/dev-python/shapely/shapely-2.1.0.ebuild b/dev-python/shapely/shapely-2.1.0.ebuild
new file mode 100644
index 000000000000..eded29d84288
--- /dev/null
+++ b/dev-python/shapely/shapely-2.1.0.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_{9,10,11,12,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
+}