summaryrefslogtreecommitdiff
path: root/dev-python/shapely
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/shapely')
-rw-r--r--dev-python/shapely/Manifest2
-rw-r--r--dev-python/shapely/shapely-2.0.4.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/shapely/Manifest b/dev-python/shapely/Manifest
index ea8d39fcea9e..9ac47f882d9a 100644
--- a/dev-python/shapely/Manifest
+++ b/dev-python/shapely/Manifest
@@ -1,4 +1,6 @@
AUX shapely-2.0.2-c99.patch 654 BLAKE2B 98ac763b8c6170708a3399f4f863d17ebdce9d9979832073c36539ba1d35cfb4388ba6442ea5fe954853c5c0149e80b03024fb915c6b7290eddd1270d078fdbc SHA512 9111c77d76f40c8d2595793091448b4e0d6d0696ce40dcc57d34285e06339e6537f7285aaaa88628302ab03dd591bd8bc1abb0091c5582cc17cf20a59a99986f
DIST shapely-2.0.3.gh.tar.gz 330889 BLAKE2B 32b56fb6517ee1831f2a93a54b2844e71fb860b3d0de992c9c16ab3e028ade8f6a0ecb5a5c7c8104637111486cec24ecbeb6fe0cf1a1f5282f8bc0b2c73a112a SHA512 862c9af9a40ddc759094375689327298979cb19cde6e4fbd0edc7e6bd0ed5296960628a4be7030bedfecaa8d3dd77bc1e1bac137d698530fea055ddc914e2ab8
+DIST shapely-2.0.4.gh.tar.gz 331588 BLAKE2B 4b7f8afa8e4358ed473c6172c340520a4cdf7ab76752c12a96070e88834c0b44fa87b0815fecbe337f012ca1d15bc3f38cb59ef23cf589d4e3e8f2ecbafb5660 SHA512 497bb6d1b3fbfc5758c167e984bb57f52746dae47d7d365e6f13e3879beced8194aea9119c287c8eadf2f74e038e2dbb07e906177f521fab195edcb4b7a9bdbb
EBUILD shapely-2.0.3.ebuild 908 BLAKE2B 4829c719e919f25f3303474b2342fd7cda479c84059612b171df88513abbdf6efd1c7297526f22021ee78ab6757d397b99a6a45c7ea812c6da61a2efefd611e5 SHA512 c92fd945f89f8081f069749ff584887f50fb879487fbbff8953455eb953bde51aef10a05de9e4e877b22a74508dd9dbee6dc23805714222f9635104863412774
+EBUILD shapely-2.0.4.ebuild 910 BLAKE2B fa6b56088adeaa25929f0e2061c52d4402043700385f0b73bd888831651ff4929e6e34022df0d8f8a0c0058ec2977c5d304d654d510b989610fc3f21611c225d SHA512 38914658c61d444ee9be79ed8b8ece20bc87ac100dc68d1744d08a718b1e7f24e12e8705d87d622df40b4ab2ed1c4360062ec7a5ec41175f56edbb8cbcf64baa
MISC metadata.xml 1000 BLAKE2B 9be4c31c417a5660338f479aee97ec224a420cbd1ebd665ff4269a9920e16a5d78b494790bd1450ceb8be0d1228666cb5f7559b76abc669b8a15e61fb683a38a SHA512 044961ebb0caebfdacfd130fa5ed132b3ce59d0f3343c76d394e2e1cd5544bc23d3013e5b206597960f514da0203d59759a115daeab1291b6ce40ca5bdce6c8a
diff --git a/dev-python/shapely/shapely-2.0.4.ebuild b/dev-python/shapely/shapely-2.0.4.ebuild
new file mode 100644
index 000000000000..30e3436f91d3
--- /dev/null
+++ b/dev-python/shapely/shapely-2.0.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 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_{10..12} )
+
+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="
+ >=sci-libs/geos-3.9
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/numpy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${DEPEND}
+ >=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.0.2-c99.patch
+)
+
+distutils_enable_tests pytest
+
+python_test() {
+ rm -rf shapely || die
+ epytest --pyargs shapely
+}