1 |
commit: b9d8af593c9c7a0d14f8fa4df134718452dd6814 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 26 17:21:40 2017 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 27 02:48:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d8af59 |
7 |
|
8 |
dev-python/astroplan: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-python/astroplan/Manifest | 1 + |
13 |
dev-python/astroplan/astroplan-0.2.1.ebuild | 56 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroplan/Manifest b/dev-python/astroplan/Manifest |
17 |
index f1ef68be73b..47546925e30 100644 |
18 |
--- a/dev-python/astroplan/Manifest |
19 |
+++ b/dev-python/astroplan/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST astroplan-0.2.1.tar.gz 270482 SHA256 eec6c517f46a881e9b24e53afca34b5313e11728739b8f2d32053775bb62befb SHA512 baa585ce2b651753b45c6bda78a93b22340b380197338ce3d27d36509c82c29053da237f1f1daf5c12ba08e0da27f7c3cc98daebedb703c944a3e225444f3aff WHIRLPOOL a58611d7b4099b24209dbeea84078794f594a3ee5d088d41ce93ce74c1904c3a4396ea030b0c013973249d53df2d67068f652cf28275d359ba63fb022fbb51e8 |
22 |
DIST astroplan-0.2.tar.gz 264623 SHA256 427d6a890ea7bc4df0b8d0a4b607d060e6e2b230fa1224a648217790d8c1cba7 SHA512 ab98402d2b0daf64aea4a10934c8e33097b92d3b7de9a2346fa3e318e672c85966c050f560bb3fc4c247e2fdd4c94a4b158d6a0dff6af9c83d6411613c663bd9 WHIRLPOOL 6ab4ca9daf2daa8a6a16b06b7287473f149cf3261b2ef35a8f29a24f67e7c0d32edeef59c03fd1fe77f3050670a4c9488b4defe6e417f4925581ca300ca6a8f1 |
23 |
|
24 |
diff --git a/dev-python/astroplan/astroplan-0.2.1.ebuild b/dev-python/astroplan/astroplan-0.2.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..9ed8a4959bf |
27 |
--- /dev/null |
28 |
+++ b/dev-python/astroplan/astroplan-0.2.1.ebuild |
29 |
@@ -0,0 +1,56 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
35 |
+ |
36 |
+inherit distutils-r1 virtualx xdg-utils |
37 |
+ |
38 |
+DESCRIPTION="Observation planning package for astronomers" |
39 |
+HOMEPAGE="https://astroplan.readthedocs.org/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
45 |
+IUSE="doc test" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-python/astropy[${PYTHON_USEDEP}] |
49 |
+ dev-python/pytz[${PYTHON_USEDEP}]" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ dev-python/astropy-helpers[${PYTHON_USEDEP}] |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ doc? ( |
54 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
55 |
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] ) |
56 |
+ test? ( dev-python/pytest-mpl[${PYTHON_USEDEP}] )" |
57 |
+ |
58 |
+PATCHES=( "${FILESDIR}"/${PN}-0.2-ephem-import.patch ) |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ # use system astropy-helpers instead of bundled one |
62 |
+ sed -i -e '/auto_use/s/True/False/' setup.cfg || die |
63 |
+ xdg_environment_reset |
64 |
+ distutils-r1_python_prepare_all |
65 |
+} |
66 |
+ |
67 |
+python_compile_all() { |
68 |
+ if use doc; then |
69 |
+ python_setup |
70 |
+ VARTEXFONTS="${T}"/fonts \ |
71 |
+ MPLCONFIGDIR="${BUILD_DIR}" \ |
72 |
+ PYTHONPATH="${BUILD_DIR}"/lib \ |
73 |
+ esetup.py build_sphinx --no-intersphinx |
74 |
+ fi |
75 |
+} |
76 |
+ |
77 |
+python_test() { |
78 |
+ echo 'backend: Agg' > "${WORKDIR}"/matplotlibrc || die |
79 |
+ MATPLOTLIBRC="${WORKDIR}" virtx esetup.py test |
80 |
+} |
81 |
+ |
82 |
+python_install_all() { |
83 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
84 |
+ distutils-r1_python_install_all |
85 |
+} |