Gentoo Archives: gentoo-commits

From: Dennis Lamm <expeditioneer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/shapely/files/, sci-libs/shapely/
Date: Mon, 30 Nov 2020 18:47:19
Message-Id: 1606762028.55a17758608de9e682f47716efa2ee0bab6c71f9.expeditioneer@gentoo
1 commit: 55a17758608de9e682f47716efa2ee0bab6c71f9
2 Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 20:40:32 2020 +0000
4 Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 30 18:47:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55a17758
7
8 sci-libs/shapely: drop old
9
10 Signed-off-by: Dennis Lamm <expeditoneer <AT> gentoo.org>
11 Closes: https://github.com/gentoo/gentoo/pull/18451
12 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
13
14 sci-libs/shapely/Manifest | 2 -
15 .../files/shapely-1.6.4_p2-test_operations.patch | 17 -------
16 sci-libs/shapely/shapely-1.6.4_p2-r1.ebuild | 57 ----------------------
17 sci-libs/shapely/shapely-1.7.0.ebuild | 39 ---------------
18 4 files changed, 115 deletions(-)
19
20 diff --git a/sci-libs/shapely/Manifest b/sci-libs/shapely/Manifest
21 index 0ef111bb11b..2848f35bb31 100644
22 --- a/sci-libs/shapely/Manifest
23 +++ b/sci-libs/shapely/Manifest
24 @@ -1,3 +1 @@
25 -DIST Shapely-1.6.4.post2.tar.gz 225745 BLAKE2B 96e995db6dd1464bac7c2562efdc7f298a5f23c388e44f334db685b1cfa1025ff403db870e11328977a267483726504e03b6d7c47fe4234a3a5966a13b2b7311 SHA512 027c816ef2104f654569ca658b52b87c60e5ba6a45927fcc51c23dd1922f3f9f7fdcea3601160b0a999e39611617142833ccac790777093be8b96a0d9083f78f
26 -DIST shapely-1.7.0.tar.gz 281419 BLAKE2B 1a4e84104f21d2f5a5eb810883a89deb20fd47cf146efed884994786364b29bb5a194b063a50ae21842c07c335cbbee0c3d1a1e4ff4e43e0d083080fe33815ac SHA512 4d944fc6727e11d004ef7ba0325c159aa5ae03043f17b029ab0a399d6dcd361c4d299ad864a045a99b0229e333d5b42634bc6fd1ed94b914b7cf58fb886af2de
27 DIST shapely-1.7.1.tar.gz 293368 BLAKE2B 14d9cb0c2b486a3a20b71c0cde7260ec357287ea020352c0320eea07b91674605bdcd22512b33c5ac5a71b89c3d811946f8dd6d3b90c61398203a4c68f30d067 SHA512 72070437960a8c1cf6504b5f4ccc8ec509f87fb6a90178e291aff14889f5add89f9ed4f7e9a19799ce0835c1aea3f0241eaa6efd4d8ea5b879f2167f7c1de50a
28
29 diff --git a/sci-libs/shapely/files/shapely-1.6.4_p2-test_operations.patch b/sci-libs/shapely/files/shapely-1.6.4_p2-test_operations.patch
30 deleted file mode 100644
31 index a9213a33376..00000000000
32 --- a/sci-libs/shapely/files/shapely-1.6.4_p2-test_operations.patch
33 +++ /dev/null
34 @@ -1,17 +0,0 @@
35 -Description: Mark test_operations as xfail.
36 - # Intersection
37 - > self.assertIsInstance(point.intersection(Point(-1, -1)),
38 - GeometryCollection)
39 - E AssertionError: <shapely.geometry.point.Point object at 0xffffb6e2c250> is not an instance of <class 'shapely.geometry.collection.GeometryCollection'>
40 -Author: Bas Couwenberg <sebastic@××××××.org>
41 -
42 ---- a/tests/test_operations.py
43 -+++ b/tests/test_operations.py
44 -@@ -7,6 +7,7 @@ from shapely.geos import TopologicalErro
45 -
46 - class OperationsTestCase(unittest.TestCase):
47 -
48 -+ @pytest.mark.xfail(reason="Intersection: Point is not an instance of GeometryCollection")
49 - def test_operations(self):
50 - point = Point(0.0, 0.0)
51 -
52
53 diff --git a/sci-libs/shapely/shapely-1.6.4_p2-r1.ebuild b/sci-libs/shapely/shapely-1.6.4_p2-r1.ebuild
54 deleted file mode 100644
55 index be793427c4b..00000000000
56 --- a/sci-libs/shapely/shapely-1.6.4_p2-r1.ebuild
57 +++ /dev/null
58 @@ -1,57 +0,0 @@
59 -# Copyright 1999-2020 Gentoo Authors
60 -# Distributed under the terms of the GNU General Public License v2
61 -
62 -EAPI=7
63 -
64 -MY_PN="Shapely"
65 -MY_PV="$(ver_cut 1-3).post$(ver_cut 5)"
66 -MY_P="${MY_PN}-${MY_PV}"
67 -
68 -PYTHON_COMPAT=( python3_{6,7,8} )
69 -
70 -inherit distutils-r1
71 -
72 -DESCRIPTION="Geometric objects, predicates, and operations"
73 -HOMEPAGE="https://pypi.org/project/Shapely/"
74 -
75 -if [[ ${PV} == "9999" ]] ; then
76 - inherit git-r3
77 - SRC_URI=""
78 - EGIT_REPO_URI="https://github.com/Toblerity/${MY_PN}.git"
79 -else
80 - SRC_URI="mirror://pypi/${PN:0:1}/${MY_P}.tar.gz"
81 - KEYWORDS="amd64 ~arm64 x86"
82 -fi
83 -
84 -LICENSE="BSD"
85 -SLOT="0"
86 -IUSE="test"
87 -
88 -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
89 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
90 -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
91 - >=sci-libs/geos-3.3"
92 -DEPEND="${RDEPEND}
93 - dev-python/cython[${PYTHON_USEDEP}]"
94 -
95 -RESTRICT="!test? ( test )"
96 -
97 -PATCHES=( "${FILESDIR}/${P}-test_operations.patch" ) # bug 701624
98 -
99 -S="${WORKDIR}/${MY_P}"
100 -
101 -python_prepare_all() {
102 - # fix install path for Cython definition file
103 - sed -i \
104 - -e "s|\(data_files.*\)'shapely'|\1'share/shapely'|" \
105 - setup.py || die
106 -
107 - distutils-r1_python_prepare_all
108 -}
109 -
110 -python_test() {
111 - distutils_install_for_testing
112 - cd "${TEST_DIR}/lib" || die
113 - cp -r "${S}/tests" . || die
114 - py.test tests || die
115 -}
116
117 diff --git a/sci-libs/shapely/shapely-1.7.0.ebuild b/sci-libs/shapely/shapely-1.7.0.ebuild
118 deleted file mode 100644
119 index 3e2d10095ce..00000000000
120 --- a/sci-libs/shapely/shapely-1.7.0.ebuild
121 +++ /dev/null
122 @@ -1,39 +0,0 @@
123 -# Copyright 1999-2020 Gentoo Authors
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=7
127 -
128 -MY_PN="Shapely"
129 -MY_P="${MY_PN}-${PV}"
130 -
131 -PYTHON_COMPAT=( python3_{7..8} )
132 -
133 -inherit distutils-r1
134 -
135 -DESCRIPTION="Geometric objects, predicates, and operations"
136 -HOMEPAGE="https://pypi.org/project/Shapely/ https://github.com/Toblerity/Shapely"
137 -SRC_URI="https://github.com/Toblerity/Shapely/archive/${PV}.tar.gz -> ${P}.tar.gz"
138 -
139 -LICENSE="BSD"
140 -SLOT="0"
141 -KEYWORDS="~amd64 ~arm64 ~x86"
142 -
143 -RDEPEND="
144 - dev-python/numpy[${PYTHON_USEDEP}]
145 - >=sci-libs/geos-3.3
146 -"
147 -
148 -BDEPEND="${RDEPEND}
149 - dev-python/cython[${PYTHON_USEDEP}]
150 -"
151 -
152 -S="${WORKDIR}/${MY_P}"
153 -
154 -distutils_enable_tests pytest
155 -
156 -distutils_enable_sphinx docs dev-python/matplotlib
157 -
158 -python_test() {
159 - distutils_install_for_testing
160 - ${EPYTHON} -m pytest tests || die "tests failed under ${EPYTHON}"
161 -}