Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/astroplan/files/, dev-python/astroplan/
Date: Sat, 28 Dec 2019 17:19:43
Message-Id: 1577553573.74a2b72f7acbaeff69e58cee40db6389555f7b50.zlogene@gentoo
1 commit: 74a2b72f7acbaeff69e58cee40db6389555f7b50
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 28 17:19:33 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 28 17:19:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74a2b72f
7
8 dev-python/astroplan: remove last-rited pkg
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11
12 dev-python/astroplan/Manifest | 2 -
13 dev-python/astroplan/astroplan-0.2.1.ebuild | 57 ----------------------
14 dev-python/astroplan/astroplan-0.2.ebuild | 57 ----------------------
15 .../files/astroplan-0.2-ephem-import.patch | 11 -----
16 dev-python/astroplan/metadata.xml | 16 ------
17 5 files changed, 143 deletions(-)
18
19 diff --git a/dev-python/astroplan/Manifest b/dev-python/astroplan/Manifest
20 deleted file mode 100644
21 index 2e5d5b54e93..00000000000
22 --- a/dev-python/astroplan/Manifest
23 +++ /dev/null
24 @@ -1,2 +0,0 @@
25 -DIST astroplan-0.2.1.tar.gz 270482 BLAKE2B fd0d83e492a46c711b32899d6cbb93fac1708588028e8a0c72c76fa13bfdf9db3bea135a09d801deea0a7a67b114c9d8b7f8af5a642348303a392240cdc76363 SHA512 baa585ce2b651753b45c6bda78a93b22340b380197338ce3d27d36509c82c29053da237f1f1daf5c12ba08e0da27f7c3cc98daebedb703c944a3e225444f3aff
26 -DIST astroplan-0.2.tar.gz 264623 BLAKE2B 4343334ef12a13d3269a35403c89eb5c5b124de5f30e9512dce9ba47f1f1ee490e9caf7c7c8511f027eeddae33e2732bb2bad6722ec8b7dfb348aa586c905dfb SHA512 ab98402d2b0daf64aea4a10934c8e33097b92d3b7de9a2346fa3e318e672c85966c050f560bb3fc4c247e2fdd4c94a4b158d6a0dff6af9c83d6411613c663bd9
27
28 diff --git a/dev-python/astroplan/astroplan-0.2.1.ebuild b/dev-python/astroplan/astroplan-0.2.1.ebuild
29 deleted file mode 100644
30 index 577a87d1406..00000000000
31 --- a/dev-python/astroplan/astroplan-0.2.1.ebuild
32 +++ /dev/null
33 @@ -1,57 +0,0 @@
34 -# Copyright 1999-2019 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -PYTHON_COMPAT=( python3_{5,6} )
39 -
40 -inherit distutils-r1 virtualx xdg-utils
41 -
42 -DESCRIPTION="Observation planning package for astronomers"
43 -HOMEPAGE="https://astroplan.readthedocs.org/"
44 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 -
46 -LICENSE="BSD"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
49 -IUSE="doc test"
50 -RESTRICT="!test? ( test )"
51 -
52 -RDEPEND="
53 - dev-python/astropy[${PYTHON_USEDEP}]
54 - dev-python/pytz[${PYTHON_USEDEP}]"
55 -DEPEND="${RDEPEND}
56 - dev-python/astropy-helpers[${PYTHON_USEDEP}]
57 - dev-python/setuptools[${PYTHON_USEDEP}]
58 - doc? (
59 - dev-python/sphinx[${PYTHON_USEDEP}]
60 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] )
61 - test? ( dev-python/pytest-mpl[${PYTHON_USEDEP}] )"
62 -
63 -PATCHES=( "${FILESDIR}"/${PN}-0.2-ephem-import.patch )
64 -
65 -python_prepare_all() {
66 - # use system astropy-helpers instead of bundled one
67 - sed -i -e '/auto_use/s/True/False/' setup.cfg || die
68 - xdg_environment_reset
69 - distutils-r1_python_prepare_all
70 -}
71 -
72 -python_compile_all() {
73 - if use doc; then
74 - python_setup
75 - VARTEXFONTS="${T}"/fonts \
76 - MPLCONFIGDIR="${BUILD_DIR}" \
77 - PYTHONPATH="${BUILD_DIR}"/lib \
78 - esetup.py build_sphinx --no-intersphinx
79 - fi
80 -}
81 -
82 -python_test() {
83 - echo 'backend: Agg' > "${WORKDIR}"/matplotlibrc || die
84 - MATPLOTLIBRC="${WORKDIR}" virtx esetup.py test
85 -}
86 -
87 -python_install_all() {
88 - use doc && local HTML_DOCS=( docs/_build/html/. )
89 - distutils-r1_python_install_all
90 -}
91
92 diff --git a/dev-python/astroplan/astroplan-0.2.ebuild b/dev-python/astroplan/astroplan-0.2.ebuild
93 deleted file mode 100644
94 index 5659914af9d..00000000000
95 --- a/dev-python/astroplan/astroplan-0.2.ebuild
96 +++ /dev/null
97 @@ -1,57 +0,0 @@
98 -# Copyright 1999-2019 Gentoo Authors
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI=6
102 -PYTHON_COMPAT=( python3_5 )
103 -
104 -inherit distutils-r1 virtualx xdg-utils
105 -
106 -DESCRIPTION="Observation planning package for astronomers"
107 -HOMEPAGE="https://astroplan.readthedocs.org/"
108 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
109 -
110 -LICENSE="BSD"
111 -SLOT="0"
112 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
113 -IUSE="doc test"
114 -RESTRICT="!test? ( test )"
115 -
116 -RDEPEND="
117 - dev-python/astropy[${PYTHON_USEDEP}]
118 - dev-python/pytz[${PYTHON_USEDEP}]"
119 -DEPEND="${RDEPEND}
120 - dev-python/astropy-helpers[${PYTHON_USEDEP}]
121 - dev-python/setuptools[${PYTHON_USEDEP}]
122 - doc? (
123 - dev-python/sphinx[${PYTHON_USEDEP}]
124 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] )
125 - test? ( dev-python/pytest-mpl[${PYTHON_USEDEP}] )"
126 -
127 -PATCHES=( "${FILESDIR}"/${P}-ephem-import.patch )
128 -
129 -python_prepare_all() {
130 - # use system astropy-helpers instead of bundled one
131 - sed -i -e '/auto_use/s/True/False/' setup.cfg || die
132 - xdg_environment_reset
133 - distutils-r1_python_prepare_all
134 -}
135 -
136 -python_compile_all() {
137 - if use doc; then
138 - python_setup
139 - VARTEXFONTS="${T}"/fonts \
140 - MPLCONFIGDIR="${BUILD_DIR}" \
141 - PYTHONPATH="${BUILD_DIR}"/lib \
142 - esetup.py build_sphinx --no-intersphinx
143 - fi
144 -}
145 -
146 -python_test() {
147 - echo 'backend: Agg' > "${WORKDIR}"/matplotlibrc || die
148 - MATPLOTLIBRC="${WORKDIR}" virtx esetup.py test
149 -}
150 -
151 -python_install_all() {
152 - use doc && local HTML_DOCS=( docs/_build/html/. )
153 - distutils-r1_python_install_all
154 -}
155
156 diff --git a/dev-python/astroplan/files/astroplan-0.2-ephem-import.patch b/dev-python/astroplan/files/astroplan-0.2-ephem-import.patch
157 deleted file mode 100644
158 index 59328290c07..00000000000
159 --- a/dev-python/astroplan/files/astroplan-0.2-ephem-import.patch
160 +++ /dev/null
161 @@ -1,11 +0,0 @@
162 ---- a/astroplan/conftest.py.orig 2016-11-30 23:17:49.057492656 +0000
163 -+++ b/astroplan/conftest.py 2016-11-30 23:18:11.076451659 +0000
164 -@@ -38,7 +38,7 @@
165 - try:
166 - PYTEST_HEADER_MODULES['Astropy'] = 'astropy'
167 - PYTEST_HEADER_MODULES['pytz'] = 'pytz'
168 -- PYTEST_HEADER_MODULES['pyephem'] = 'pyephem'
169 -+ PYTEST_HEADER_MODULES['pyephem'] = 'ephem'
170 - PYTEST_HEADER_MODULES['matplotlib'] = 'matplotlib'
171 - PYTEST_HEADER_MODULES['nose'] = 'nose'
172 - PYTEST_HEADER_MODULES['pytest-mpl'] = 'pytest_mpl'
173
174 diff --git a/dev-python/astroplan/metadata.xml b/dev-python/astroplan/metadata.xml
175 deleted file mode 100644
176 index b320e5789d6..00000000000
177 --- a/dev-python/astroplan/metadata.xml
178 +++ /dev/null
179 @@ -1,16 +0,0 @@
180 -<?xml version="1.0" encoding="UTF-8"?>
181 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
182 -<pkgmetadata>
183 - <maintainer type="project">
184 - <email>sci-astronomy@g.o</email>
185 - <name>Gentoo Astronomy Project</name>
186 - </maintainer>
187 - <longdescription lang="en">
188 - Astroplan is an observation planning package for astronomers that can help
189 - you plan for everything but the clouds.
190 - </longdescription>
191 - <upstream>
192 - <remote-id type="pypi">astroplan</remote-id>
193 - <remote-id type="github">astropy/astroplan</remote-id>
194 - </upstream>
195 -</pkgmetadata>