1 |
commit: 6a76ac36f9560d281bb6bf85cf4e1ec647ddd2f0 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 28 17:26:09 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 28 17:26:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a76ac36 |
7 |
|
8 |
dev-python/aplpy: remove last-rited pkg |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
|
12 |
dev-python/aplpy/Manifest | 2 - |
13 |
dev-python/aplpy/aplpy-1.0.ebuild | 52 --------- |
14 |
dev-python/aplpy/aplpy-1.1.1.ebuild | 58 ---------- |
15 |
.../aplpy/files/aplpy-1.0-fix-dependencies.patch | 14 --- |
16 |
.../files/aplpy-1.0-mark-known-failures.patch | 121 --------------------- |
17 |
dev-python/aplpy/metadata.xml | 18 --- |
18 |
6 files changed, 265 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/aplpy/Manifest b/dev-python/aplpy/Manifest |
21 |
deleted file mode 100644 |
22 |
index 094a79b708a..00000000000 |
23 |
--- a/dev-python/aplpy/Manifest |
24 |
+++ /dev/null |
25 |
@@ -1,2 +0,0 @@ |
26 |
-DIST APLpy-1.0.tar.gz 1169280 BLAKE2B 10c7133c5708412741e25b85f3286d28ab36c5ab69fa65dcbb8b1607c171f1fc5c7b341fea8255176a90d97e18c7a5071d9f3e7848558ee66f7f48de0cf9ea09 SHA512 658b626c2a94c73cc8ba45fde86409659555ed3ec065d07313f08b67c0bcdc596c8dc94562c924de2f3f32d6884051e6756e22384d9594c4538578b482fa7590 |
27 |
-DIST APLpy-1.1.1.tar.gz 938943 BLAKE2B 1b5ca8f1312a0bccea46a3d7bf3dd8cc7a003083cc321147d24c650abe6bc77c3b2398db64687d3603a1077f3253a1cccf37efe874148c681393563991f96b43 SHA512 accc355fb56145db33a931b77b9d5b56e5e0f5a486a3a8d776b0645991883df4b78fae58cfe87c1575dad7f02baa5c68c95427c1de18c2435abd13c4a85eee93 |
28 |
|
29 |
diff --git a/dev-python/aplpy/aplpy-1.0.ebuild b/dev-python/aplpy/aplpy-1.0.ebuild |
30 |
deleted file mode 100644 |
31 |
index 1b77d9ad92e..00000000000 |
32 |
--- a/dev-python/aplpy/aplpy-1.0.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,52 +0,0 @@ |
35 |
-# Copyright 1999-2019 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=6 |
39 |
- |
40 |
-PYTHON_COMPAT=( python{2_7,3_5} ) |
41 |
- |
42 |
-inherit distutils-r1 virtualx xdg-utils |
43 |
- |
44 |
-MYPN=APLpy |
45 |
-MYP=${MYPN}-${PV} |
46 |
- |
47 |
-DESCRIPTION="Astronomical Plotting Library in Python" |
48 |
-HOMEPAGE="https://aplpy.github.com/" |
49 |
-SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" |
50 |
- |
51 |
-LICENSE="MIT" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
54 |
-IUSE="" |
55 |
- |
56 |
-RDEPEND=" |
57 |
- dev-python/astropy[${PYTHON_USEDEP}] |
58 |
- dev-python/numpy[${PYTHON_USEDEP}] |
59 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
60 |
- dev-python/pyavm[${PYTHON_USEDEP}] |
61 |
- dev-python/pillow[${PYTHON_USEDEP}]" |
62 |
-DEPEND="${RDEPEND} |
63 |
- dev-python/astropy-helpers[${PYTHON_USEDEP}]" |
64 |
- |
65 |
-S="${WORKDIR}/${MYP}" |
66 |
- |
67 |
-PATCHES=( |
68 |
- "${FILESDIR}/${PN}-1.0-mark-known-failures.patch" |
69 |
- "${FILESDIR}/${PN}-1.0-fix-dependencies.patch" |
70 |
-) |
71 |
- |
72 |
-python_prepare_all() { |
73 |
- sed -i -e '/auto_use/s/True/False/' setup.cfg || die |
74 |
- xdg_environment_reset |
75 |
- distutils-r1_python_prepare_all |
76 |
-} |
77 |
- |
78 |
-python_compile() { |
79 |
- distutils-r1_python_compile --use-system-libraries |
80 |
-} |
81 |
- |
82 |
-python_test() { |
83 |
- distutils_install_for_testing |
84 |
- cd "${TEST_DIR}" || die |
85 |
- virtx "${EPYTHON}" -c "import aplpy, sys;r = aplpy.test();sys.exit(r)" |
86 |
-} |
87 |
|
88 |
diff --git a/dev-python/aplpy/aplpy-1.1.1.ebuild b/dev-python/aplpy/aplpy-1.1.1.ebuild |
89 |
deleted file mode 100644 |
90 |
index 75229e2c579..00000000000 |
91 |
--- a/dev-python/aplpy/aplpy-1.1.1.ebuild |
92 |
+++ /dev/null |
93 |
@@ -1,58 +0,0 @@ |
94 |
-# Copyright 1999-2019 Gentoo Authors |
95 |
-# Distributed under the terms of the GNU General Public License v2 |
96 |
- |
97 |
-EAPI=6 |
98 |
- |
99 |
-PYTHON_COMPAT=( python{2_7,3_5,3_6} ) |
100 |
- |
101 |
-inherit distutils-r1 virtualx xdg-utils |
102 |
- |
103 |
-MYPN=APLpy |
104 |
-MYP=${MYPN}-${PV} |
105 |
- |
106 |
-DESCRIPTION="Astronomical Plotting Library in Python" |
107 |
-HOMEPAGE="https://aplpy.github.com/" |
108 |
-SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" |
109 |
- |
110 |
-LICENSE="MIT" |
111 |
-SLOT="0" |
112 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
113 |
-IUSE="" |
114 |
- |
115 |
-RDEPEND=" |
116 |
- dev-python/astropy[${PYTHON_USEDEP}] |
117 |
- dev-python/numpy[${PYTHON_USEDEP}] |
118 |
- dev-python/matplotlib[${PYTHON_USEDEP}]" |
119 |
-DEPEND="${RDEPEND} |
120 |
- dev-python/astropy-helpers[${PYTHON_USEDEP}] |
121 |
- test? ( dev-python/pytest-mpl[${PYTHON_USEDEP}] )" |
122 |
- |
123 |
-S="${WORKDIR}/${MYP}" |
124 |
- |
125 |
-PATCHES=( |
126 |
- "${FILESDIR}/${PN}-1.0-fix-dependencies.patch" |
127 |
-) |
128 |
- |
129 |
-python_prepare_all() { |
130 |
- sed -i -e '/auto_use/s/True/False/' setup.cfg || die |
131 |
- xdg_environment_reset |
132 |
- distutils-r1_python_prepare_all |
133 |
-} |
134 |
- |
135 |
-python_compile() { |
136 |
- distutils-r1_python_compile --use-system-libraries |
137 |
-} |
138 |
- |
139 |
-python_test() { |
140 |
- distutils_install_for_testing |
141 |
- cd "${TEST_DIR}" || die |
142 |
- echo "backend: Agg" > matplotlibrc |
143 |
- virtx "${EPYTHON}" -c "import aplpy, sys;r = aplpy.test();sys.exit(r)" |
144 |
-} |
145 |
- |
146 |
-pkg_postinst() { |
147 |
- optfeature "Interact with Montage" dev-python/montage-wrapper |
148 |
- optfeature "Read DS9 regions files" dev-python/pyregion |
149 |
- optfeature "Extend image i/o formats" dev-python/pillow |
150 |
- optfeature "Astronomy Visualization Metadata tagging" dev-python/pyavm |
151 |
-} |
152 |
|
153 |
diff --git a/dev-python/aplpy/files/aplpy-1.0-fix-dependencies.patch b/dev-python/aplpy/files/aplpy-1.0-fix-dependencies.patch |
154 |
deleted file mode 100644 |
155 |
index b5708c8971b..00000000000 |
156 |
--- a/dev-python/aplpy/files/aplpy-1.0-fix-dependencies.patch |
157 |
+++ /dev/null |
158 |
@@ -1,14 +0,0 @@ |
159 |
-Author: Ole Streicher <olebole@××××××.org> |
160 |
-Description: Change requires to install_requires |
161 |
---- a/setup.py |
162 |
-+++ b/setup.py |
163 |
-@@ -94,8 +94,7 @@ |
164 |
- version=VERSION, |
165 |
- description=DESCRIPTION, |
166 |
- scripts=scripts, |
167 |
-- requires=['astropy', 'numpy', 'matplotlib'], |
168 |
-- install_requires=['astropy'], |
169 |
-+ install_requires=['astropy', 'numpy', 'matplotlib'], |
170 |
- provides=[PACKAGENAME], |
171 |
- author=AUTHOR, |
172 |
- author_email=AUTHOR_EMAIL, |
173 |
|
174 |
diff --git a/dev-python/aplpy/files/aplpy-1.0-mark-known-failures.patch b/dev-python/aplpy/files/aplpy-1.0-mark-known-failures.patch |
175 |
deleted file mode 100644 |
176 |
index cf1aa92190d..00000000000 |
177 |
--- a/dev-python/aplpy/files/aplpy-1.0-mark-known-failures.patch |
178 |
+++ /dev/null |
179 |
@@ -1,121 +0,0 @@ |
180 |
-Author: Ole Streicher <olebole@××××××.org> |
181 |
-Description: Mark tests that are known to fail with matplotlib-1.5 |
182 |
---- a/aplpy/tests/test_images.py |
183 |
-+++ b/aplpy/tests/test_images.py |
184 |
-@@ -61,6 +61,8 @@ |
185 |
- |
186 |
- class TestBasic(BaseImageTests): |
187 |
- |
188 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
189 |
-+ @pytest.mark.xfail() |
190 |
- # Test for showing grayscale |
191 |
- def test_basic_image(self, generate): |
192 |
- f = FITSFigure(self.filename_2) |
193 |
-@@ -68,6 +70,8 @@ |
194 |
- self.generate_or_test(generate, f, 'basic_image.png') |
195 |
- f.close() |
196 |
- |
197 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
198 |
-+ @pytest.mark.xfail() |
199 |
- def test_ticks_labels_options(self, generate): |
200 |
- f = FITSFigure(self.filename_2) |
201 |
- f.ticks.set_color('black') |
202 |
-@@ -84,6 +88,8 @@ |
203 |
- self.generate_or_test(generate, f, 'tick_labels_options.png') |
204 |
- f.close() |
205 |
- |
206 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
207 |
-+ @pytest.mark.xfail() |
208 |
- # Test for showing colorscale |
209 |
- def test_show_colorbar_scalebar_beam(self, generate): |
210 |
- f = FITSFigure(self.filename_1) |
211 |
-@@ -96,6 +102,8 @@ |
212 |
- self.generate_or_test(generate, f, 'colorbar_scalebar_beam.png') |
213 |
- f.close() |
214 |
- |
215 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
216 |
-+ @pytest.mark.xfail() |
217 |
- # Test for overlaying shapes |
218 |
- def test_overlay_shapes(self, generate): |
219 |
- f = FITSFigure(self.filename_1) |
220 |
-@@ -112,6 +120,8 @@ |
221 |
- self.generate_or_test(generate, f, 'overlay_shapes.png') |
222 |
- f.close() |
223 |
- |
224 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
225 |
-+ @pytest.mark.xfail() |
226 |
- # Test for grid |
227 |
- def test_grid(self, generate): |
228 |
- f = FITSFigure(self.filename_1) |
229 |
-@@ -125,6 +135,8 @@ |
230 |
- self.generate_or_test(generate, f, 'grid.png') |
231 |
- f.close() |
232 |
- |
233 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
234 |
-+ @pytest.mark.xfail() |
235 |
- # Test recenter |
236 |
- def test_recenter(self, generate): |
237 |
- f = FITSFigure(self.filename_2) |
238 |
-@@ -135,6 +147,8 @@ |
239 |
- self.generate_or_test(generate, f, 'recenter.png') |
240 |
- f.close() |
241 |
- |
242 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
243 |
-+ @pytest.mark.xfail() |
244 |
- # Test overlaying contours |
245 |
- def test_contours(self, generate): |
246 |
- data = np.arange(256).reshape((16, 16)) |
247 |
-@@ -144,6 +158,8 @@ |
248 |
- self.generate_or_test(generate, f, 'contours.png') |
249 |
- f.close() |
250 |
- |
251 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
252 |
-+ @pytest.mark.xfail() |
253 |
- # Test cube slice |
254 |
- def test_cube_slice(self, generate): |
255 |
- f = FITSFigure(self.filename_3, dimensions=[2, 0], slices=[10]) |
256 |
---- a/aplpy/tests/test_rgb.py |
257 |
-+++ b/aplpy/tests/test_rgb.py |
258 |
-@@ -6,6 +6,7 @@ |
259 |
- |
260 |
- import numpy as np |
261 |
- from astropy.io import fits |
262 |
-+from astropy.tests.helper import pytest |
263 |
- |
264 |
- from .. import FITSFigure |
265 |
- from ..rgb import make_rgb_image |
266 |
-@@ -17,6 +18,8 @@ |
267 |
- |
268 |
- class TestRGB(BaseImageTests): |
269 |
- |
270 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
271 |
-+ @pytest.mark.xfail() |
272 |
- def test_rgb(self, generate, tmpdir): |
273 |
- |
274 |
- # Regression test to check that RGB recenter works properly |
275 |
---- a/aplpy/tests/test_vectors.py |
276 |
-+++ b/aplpy/tests/test_vectors.py |
277 |
-@@ -1,4 +1,5 @@ |
278 |
- import numpy as np |
279 |
-+from astropy.tests.helper import pytest |
280 |
- |
281 |
- from ..core import FITSFigure |
282 |
- |
283 |
-@@ -15,6 +16,8 @@ |
284 |
- |
285 |
- class TestVectors(BaseImageTests): |
286 |
- |
287 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
288 |
-+ @pytest.mark.xfail() |
289 |
- def test_default(self, generate): |
290 |
- f = FITSFigure(IMAGE, figsize=(4,4)) |
291 |
- f.show_grayscale() |
292 |
-@@ -22,6 +25,8 @@ |
293 |
- self.generate_or_test(generate, f, 'vectors_default.png', tolerance=2.5) |
294 |
- f.close() |
295 |
- |
296 |
-+# see https://github.com/aplpy/aplpy/issues/278 |
297 |
-+ @pytest.mark.xfail() |
298 |
- def test_step_scale(self, generate): |
299 |
- f = FITSFigure(IMAGE, figsize=(4,4)) |
300 |
- f.show_grayscale() |
301 |
|
302 |
diff --git a/dev-python/aplpy/metadata.xml b/dev-python/aplpy/metadata.xml |
303 |
deleted file mode 100644 |
304 |
index 8fa6a8c707b..00000000000 |
305 |
--- a/dev-python/aplpy/metadata.xml |
306 |
+++ /dev/null |
307 |
@@ -1,18 +0,0 @@ |
308 |
-<?xml version="1.0" encoding="UTF-8"?> |
309 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
310 |
-<pkgmetadata> |
311 |
- <maintainer type="project"> |
312 |
- <email>sci-astronomy@g.o</email> |
313 |
- <name>Gentoo Astronomy Project</name> |
314 |
- </maintainer> |
315 |
- <longdescription lang="en"> |
316 |
- APLpy (the Astronomical Plotting Library in Python) is a Python |
317 |
- module aimed at producing publication-quality plots of astronomical |
318 |
- imaging data in FITS format. The module uses Matplotlib. It is |
319 |
- capable of creating output files in several graphical formats, |
320 |
- including EPS, PDF, PS, PNG, and SVG. |
321 |
-</longdescription> |
322 |
- <upstream> |
323 |
- <remote-id type="pypi">APLpy</remote-id> |
324 |
- </upstream> |
325 |
-</pkgmetadata> |