1 |
commit: dd405d6fe3d6502c6403a15112e6d924f5913732 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 18:50:33 2016 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 19:05:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd405d6f |
7 |
|
8 |
dev-python/astropy: removed old |
9 |
|
10 |
dev-python/astropy/astropy-1.0.4.ebuild | 84 ---------------------- |
11 |
.../astropy/files/astropy-9999-system-pytest.patch | 16 ----- |
12 |
2 files changed, 100 deletions(-) |
13 |
|
14 |
diff --git a/dev-python/astropy/astropy-1.0.4.ebuild b/dev-python/astropy/astropy-1.0.4.ebuild |
15 |
deleted file mode 100644 |
16 |
index a9ca39d..0000000 |
17 |
--- a/dev-python/astropy/astropy-1.0.4.ebuild |
18 |
+++ /dev/null |
19 |
@@ -1,84 +0,0 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
-# Distributed under the terms of the GNU General Public License v2 |
22 |
-# $Id$ |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
27 |
- |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-DESCRIPTION="Core functionality for performing astrophysics with Python" |
31 |
-HOMEPAGE="http://astropy.org/" |
32 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="BSD" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
37 |
-IUSE="doc test" |
38 |
- |
39 |
-RDEPEND=" |
40 |
- >=dev-libs/expat-2.1.0:0= |
41 |
- dev-python/configobj[${PYTHON_USEDEP}] |
42 |
- <dev-python/numpy-1.10[${PYTHON_USEDEP}] |
43 |
- dev-python/ply[${PYTHON_USEDEP}] |
44 |
- dev-python/six[${PYTHON_USEDEP}] |
45 |
- >=sci-astronomy/erfa-1.2:0= |
46 |
- >=sci-astronomy/wcslib-4.25:0= |
47 |
- >=sci-libs/cfitsio-3.350:0= |
48 |
- sys-libs/zlib:0=" |
49 |
-DEPEND="${RDEPEND} |
50 |
- dev-python/astropy-helpers[${PYTHON_USEDEP}] |
51 |
- dev-python/cython[${PYTHON_USEDEP}] |
52 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
- virtual/pkgconfig |
54 |
- doc? ( |
55 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
56 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
57 |
- media-gfx/graphviz |
58 |
- ) |
59 |
- test? ( |
60 |
- dev-libs/libxml2[${PYTHON_USEDEP}] |
61 |
- dev-python/h5py[${PYTHON_USEDEP}] |
62 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
63 |
- dev-python/pytest[${PYTHON_USEDEP}] |
64 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
65 |
- )" |
66 |
- |
67 |
-PATCHES=( |
68 |
- "${FILESDIR}/${P}-disable_helper.patch" |
69 |
- "${FILESDIR}/${P}-system-six.patch" |
70 |
- "${FILESDIR}/${P}-system-pytest.patch" |
71 |
- "${FILESDIR}/${P}-system-configobj.patch" |
72 |
- ) |
73 |
- |
74 |
-python_prepare_all() { |
75 |
- export mydistutilsargs="--offline" |
76 |
- rm -r ${PN}_helpers || die |
77 |
- cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die |
78 |
- rm -r cextern/{expat,erfa,cfitsio,wcslib} || die |
79 |
- |
80 |
- echo "[build]" >> setup.cfg |
81 |
- echo "use_system_libraries=1" >> setup.cfg |
82 |
- |
83 |
- distutils-r1_python_prepare_all |
84 |
-} |
85 |
- |
86 |
-python_compile_all() { |
87 |
- if use doc; then |
88 |
- python_export_best |
89 |
- VARTEXFONTS="${T}"/fonts \ |
90 |
- MPLCONFIGDIR="${BUILD_DIR}" \ |
91 |
- PYTHONPATH="${BUILD_DIR}"/lib \ |
92 |
- esetup.py build_sphinx |
93 |
- fi |
94 |
-} |
95 |
- |
96 |
-python_test() { |
97 |
- esetup.py test |
98 |
-} |
99 |
- |
100 |
-python_install_all() { |
101 |
- use doc && local HTML_DOCS=( docs/_build/html/. ) |
102 |
- distutils-r1_python_install_all |
103 |
-} |
104 |
|
105 |
diff --git a/dev-python/astropy/files/astropy-9999-system-pytest.patch b/dev-python/astropy/files/astropy-9999-system-pytest.patch |
106 |
deleted file mode 100644 |
107 |
index 19b321d..0000000 |
108 |
--- a/dev-python/astropy/files/astropy-9999-system-pytest.patch |
109 |
+++ /dev/null |
110 |
@@ -1,16 +0,0 @@ |
111 |
- astropy/tests/helper.py | 2 +- |
112 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
113 |
- |
114 |
-diff --git a/astropy/tests/helper.py b/astropy/tests/helper.py |
115 |
-index 97d2617..a75db15 100644 |
116 |
---- a/astropy/tests/helper.py |
117 |
-+++ b/astropy/tests/helper.py |
118 |
-@@ -42,7 +42,7 @@ __all__ = ['raises', 'enable_deprecations_as_exceptions', 'remote_data', |
119 |
- 'pickle_protocol', 'generic_recursive_equality_test'] |
120 |
- |
121 |
- |
122 |
--if os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in sys.modules: |
123 |
-+if True or os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in sys.modules: |
124 |
- import pytest |
125 |
- |
126 |
- else: |