1 |
commit: 9ef07e5b3c16d401d55a22723073926a2fdde6df |
2 |
Author: Slawomir Lis <slis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 21 04:57:11 2019 +0000 |
4 |
Commit: Slawek Lis <slis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 21 04:57:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ef07e5b |
7 |
|
8 |
sci-libs/Shapely: version bump to 1.6.4_p2 |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Slawek Lis <slis <AT> gentoo.org> |
12 |
|
13 |
sci-libs/Shapely/Manifest | 1 + |
14 |
sci-libs/Shapely/Shapely-1.6.4_p2.ebuild | 50 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/sci-libs/Shapely/Manifest b/sci-libs/Shapely/Manifest |
18 |
index 35873429646..ab1a676fbf8 100644 |
19 |
--- a/sci-libs/Shapely/Manifest |
20 |
+++ b/sci-libs/Shapely/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST Shapely-1.3.0.tar.gz 118863 BLAKE2B 6a35060b6593519b62b479fdb21047e0a44976109e27a55dbdf7583952666c8cfecf775975be54701696d57d3c5b1082110dd474df265ccf5b467acddcd2a629 SHA512 106f9773a5b00e7269a84c760f3a2b867c48139c48eebeecd524c8216d75c28daaf46eff45c118c1809999e33a317e9aca278a8d83605dc7273877a7ed3edd82 |
23 |
DIST Shapely-1.3.2.tar.gz 120179 BLAKE2B bc10e017a546e715c05c4edb1aab4f86cb0fd6f1f35ab23f1d8dcdf402c96bbbbaca92668cf9bc788387dac8cabd958cfa3ffff5a90045f2f2a7a6798383cb2d SHA512 23d65c5a7137726e05e0399dc49f05e5ad9b582d4adcdf30215f72ae75989e85daf30ea2a5010d6a5a086cb6bbb5b4599b5065080b845c833776812f6e46566d |
24 |
DIST Shapely-1.5.17.tar.gz 180663 BLAKE2B 1a41de8c264989abeac27fe9b63abd81ad6f03f0eecd313131d04190b8bbebc6c6bd6b45b1782fbfd163025cda4977b7e93a24a711c76fddfaedb0fe880cea53 SHA512 eea241942ffbf377001445fab4017c9a2746d6bc0baa6c801a08ca95e608bbdaea7ad9568f00cbecdb559e634402bc6d213ebccb4074e59325e1cc4b3771626d |
25 |
+DIST Shapely-1.6.4.post2.tar.gz 225745 BLAKE2B 96e995db6dd1464bac7c2562efdc7f298a5f23c388e44f334db685b1cfa1025ff403db870e11328977a267483726504e03b6d7c47fe4234a3a5966a13b2b7311 SHA512 027c816ef2104f654569ca658b52b87c60e5ba6a45927fcc51c23dd1922f3f9f7fdcea3601160b0a999e39611617142833ccac790777093be8b96a0d9083f78f |
26 |
|
27 |
diff --git a/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild b/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..50528d9087d |
30 |
--- /dev/null |
31 |
+++ b/sci-libs/Shapely/Shapely-1.6.4_p2.ebuild |
32 |
@@ -0,0 +1,50 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
39 |
+ |
40 |
+inherit distutils-r1 eapi7-ver |
41 |
+ |
42 |
+DESCRIPTION="Geometric objects, predicates, and operations" |
43 |
+HOMEPAGE="https://pypi.org/project/Shapely/" |
44 |
+ |
45 |
+MY_PV="$(ver_cut 1-3).post$(ver_cut 5)" |
46 |
+ |
47 |
+if [[ ${PV} == "9999" ]] ; then |
48 |
+ inherit git-r3 |
49 |
+ SRC_URI="" |
50 |
+ EGIT_REPO_URI="https://github.com/Toblerity/${PN}.git" |
51 |
+else |
52 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz" |
53 |
+ KEYWORDS="~amd64 ~x86" |
54 |
+fi |
55 |
+ |
56 |
+LICENSE="BSD" |
57 |
+SLOT="0" |
58 |
+IUSE="test" |
59 |
+ |
60 |
+RDEPEND=">=sci-libs/geos-3.3 |
61 |
+ dev-python/numpy[${PYTHON_USEDEP}]" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
+ dev-python/cython[${PYTHON_USEDEP}] |
65 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
66 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
67 |
+ |
68 |
+python_prepare_all() { |
69 |
+ # fix install path for Cython definition file |
70 |
+ sed -i \ |
71 |
+ -e "s|\(data_files.*\)'shapely'|\1'share/shapely'|" \ |
72 |
+ setup.py || die |
73 |
+ |
74 |
+ distutils-r1_python_prepare_all |
75 |
+} |
76 |
+ |
77 |
+python_test() { |
78 |
+ distutils_install_for_testing |
79 |
+ cd "${TEST_DIR}/lib" || die |
80 |
+ cp -r "${S}/tests" . || die |
81 |
+ py.test tests || die |
82 |
+} |