diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-13 19:42:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-13 19:42:47 +0100 |
commit | 174cda0f83caffc0ee683143e9b2c501ef589cc1 (patch) | |
tree | e60c3821d3cb0c6c19deaf8ad9c846f57791f3bf /dev-python/shapely | |
parent | 22b51dcc430fb550fd692463a56cdcd5b18efd61 (diff) |
gentoo auto-resync : 13:10:2022 - 19:42:47
Diffstat (limited to 'dev-python/shapely')
-rw-r--r-- | dev-python/shapely/Manifest | 2 | ||||
-rw-r--r-- | dev-python/shapely/shapely-1.8.5_p1.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/shapely/Manifest b/dev-python/shapely/Manifest index 2c346d1b80d9..8456d46f017f 100644 --- a/dev-python/shapely/Manifest +++ b/dev-python/shapely/Manifest @@ -1,3 +1,5 @@ DIST shapely-1.8.4.gh.tar.gz 322701 BLAKE2B 79cca2290b8e32ac146316feff4ccb332d47dd11ec4753f83618305c169e085629858c5e9d66fe281adda36be46eaebe996e2fe67dace1e6cbe9a7ca322c1c18 SHA512 8b57a2e83f8eb10a041f6a8d9170b84ed708a5835a16874761e5ccec0453ff34a282aeefb0367ab79c85216a68f5bb8b4b75503e81eaa3f7277f4036b8b0b242 +DIST shapely-1.8.5.post1.gh.tar.gz 323178 BLAKE2B 05ff22f972446da340714548f5a2ad233f8bac8bb0710a8c5444dc44e7d5ad0d2c2d37bc3ddb987f57accd065c75c9627752a6c6cb3590621e39812674c678e9 SHA512 99a406833ebd13cb3f88fb710ed66f545a0b128d201e82ff381de0214cde38c685a622f78e964d6d41fc9ba096bc62e63bf9da04d216dedf2f96bb1e3496d48f EBUILD shapely-1.8.4.ebuild 923 BLAKE2B 07eb43351f004c170b4f4c4809b112d3fa68716415e43f95060b21eeab1fb1b305ee5a4188698d493cd7f75d71db44d184cf1360b0e875ed4c50ea7b8fc82150 SHA512 4506f974e0cfa01cf54eec14c1872690eec56a10f6c0e04bf97cff74e1fc05ea2d61c7d100037756e07a99269c632e5fb143844a33f4d9f2e24ae1183a39acb8 +EBUILD shapely-1.8.5_p1.ebuild 987 BLAKE2B b75c5bc236b21b7b30a3737c7b52cab021de73dbe34f22fe92d5dcf5097e58693b0e08e1129f50087c49f38269228ea0ebd4364513ff45d261c96b68e875b3b8 SHA512 24b5b0fdef1203bfaeecce525d39b781e9eb9c8af11f5c0745c32634869b4ba9c50f3d1d3f5750c4ef87942e4b64fd30917559d0bb248f850a1c9e5287746392 MISC metadata.xml 1000 BLAKE2B 13d49473b11208e3e050b3d0c5b55751c50b0d29c9bf1a71d73867a3b8a7620b2e3755babee05a09696a55b09e61e440e8e1b5878bc9e3819a5ad38e98de1770 SHA512 77d8c1f9a0c2bfa12acc04f7374d0b633dbd859b3f506c92bc1c1749bd630371a18255ddfb04f323d24740253d1cdffef26bcf3e766d45b4f9c3df5e588f6901 diff --git a/dev-python/shapely/shapely-1.8.5_p1.ebuild b/dev-python/shapely/shapely-1.8.5_p1.ebuild new file mode 100644 index 000000000000..cb3c65a36d9f --- /dev/null +++ b/dev-python/shapely/shapely-1.8.5_p1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +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}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/matplotlib + +src_prepare() { + rm -r _vendor || die + sed -i -e 's:_vendor\.::' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + rm -rf shapely || die + epytest +} |