1 |
commit: ca44bf0199087d61fc54c515f97b50775fb430f7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 03:43:02 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 04:46:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca44bf01 |
7 |
|
8 |
sci-libs/shapely: Bump to 1.8.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sci-libs/shapely/Manifest | 1 + |
13 |
sci-libs/shapely/metadata.xml | 4 +-- |
14 |
sci-libs/shapely/shapely-1.8.2.ebuild | 50 +++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 53 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/shapely/Manifest b/sci-libs/shapely/Manifest |
18 |
index 2848f35bb31b..0145b67b8f00 100644 |
19 |
--- a/sci-libs/shapely/Manifest |
20 |
+++ b/sci-libs/shapely/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST shapely-1.7.1.tar.gz 293368 BLAKE2B 14d9cb0c2b486a3a20b71c0cde7260ec357287ea020352c0320eea07b91674605bdcd22512b33c5ac5a71b89c3d811946f8dd6d3b90c61398203a4c68f30d067 SHA512 72070437960a8c1cf6504b5f4ccc8ec509f87fb6a90178e291aff14889f5add89f9ed4f7e9a19799ce0835c1aea3f0241eaa6efd4d8ea5b879f2167f7c1de50a |
23 |
+DIST shapely-1.8.2.gh.tar.gz 322064 BLAKE2B f21f91eb58818aa30464c719b1079d382c5a00f13eda70c532e4a12f1612284240e5c8c110a867c74eaa4aac5f3a21fd10b23c7ce781808d4adc871d038b8b2b SHA512 c85323f180622235257aed28c85640c63bb43cbcb2bd7ed9b354a0f23a92e0ca8becf7a94e85edea3a90cfd01017ddfc6f268f4bb2945639c2cae29a73292bd6 |
24 |
|
25 |
diff --git a/sci-libs/shapely/metadata.xml b/sci-libs/shapely/metadata.xml |
26 |
index fb27f29d1c11..86aee655948a 100644 |
27 |
--- a/sci-libs/shapely/metadata.xml |
28 |
+++ b/sci-libs/shapely/metadata.xml |
29 |
@@ -11,9 +11,9 @@ |
30 |
Shapely is not concerned with data formats or coordinate systems, but can be readily integrated with packages that are. |
31 |
</longdescription> |
32 |
<upstream> |
33 |
- <bugs-to>https://github.com/Toblerity/Shapely/issues</bugs-to> |
34 |
+ <bugs-to>https://github.com/shapely/shapely/issues</bugs-to> |
35 |
<doc>https://shapely.readthedocs.io</doc> |
36 |
- <remote-id type="github">Toblerity/Shapely</remote-id> |
37 |
+ <remote-id type="github">shapely/shapely</remote-id> |
38 |
<remote-id type="pypi">Shapely</remote-id> |
39 |
</upstream> |
40 |
</pkgmetadata> |
41 |
|
42 |
diff --git a/sci-libs/shapely/shapely-1.8.2.ebuild b/sci-libs/shapely/shapely-1.8.2.ebuild |
43 |
new file mode 100644 |
44 |
index 000000000000..e123057db79a |
45 |
--- /dev/null |
46 |
+++ b/sci-libs/shapely/shapely-1.8.2.ebuild |
47 |
@@ -0,0 +1,50 @@ |
48 |
+# Copyright 1999-2022 Gentoo Authors |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+ |
51 |
+EAPI=8 |
52 |
+ |
53 |
+DISTUTILS_USE_PEP517=setuptools |
54 |
+PYTHON_COMPAT=( python3_{8..11} ) |
55 |
+ |
56 |
+inherit distutils-r1 |
57 |
+ |
58 |
+DESCRIPTION="Geometric objects, predicates, and operations" |
59 |
+HOMEPAGE=" |
60 |
+ https://pypi.org/project/Shapely/ |
61 |
+ https://github.com/shapely/shapely/ |
62 |
+" |
63 |
+SRC_URI=" |
64 |
+ https://github.com/shapely/shapely/archive/${PV}.tar.gz |
65 |
+ -> ${P}.gh.tar.gz |
66 |
+" |
67 |
+ |
68 |
+LICENSE="BSD" |
69 |
+SLOT="0" |
70 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
71 |
+ |
72 |
+DEPEND=" |
73 |
+ >=sci-libs/geos-3.9 |
74 |
+" |
75 |
+RDEPEND=" |
76 |
+ ${DEPEND} |
77 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
78 |
+" |
79 |
+BDEPEND=" |
80 |
+ ${DEPEND} |
81 |
+ dev-python/cython[${PYTHON_USEDEP}] |
82 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
83 |
+" |
84 |
+ |
85 |
+distutils_enable_tests pytest |
86 |
+distutils_enable_sphinx docs dev-python/matplotlib |
87 |
+ |
88 |
+src_prepare() { |
89 |
+ rm -r _vendor || die |
90 |
+ sed -i -e 's:_vendor\.::' setup.py || die |
91 |
+ distutils-r1_src_prepare |
92 |
+} |
93 |
+ |
94 |
+python_test() { |
95 |
+ rm -rf shapely || die |
96 |
+ epytest |
97 |
+} |