1 |
commit: c3ab5ece8caaf00fcfc5a822bb5b5582326253a3 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 17:15:28 2016 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 18:03:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ab5ece |
7 |
|
8 |
dev-python/specutils: version bump |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-python/specutils/Manifest | 1 + |
13 |
dev-python/specutils/specutils-0.2.2.ebuild | 52 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/specutils/Manifest b/dev-python/specutils/Manifest |
17 |
index d7c90f1..3be3578 100644 |
18 |
--- a/dev-python/specutils/Manifest |
19 |
+++ b/dev-python/specutils/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST specutils-0.2.2.tar.gz 3349951 SHA256 85dba626e4ea2750eadb65e0a16147bc33e174f68e412c5d53688560e0e3f6f7 SHA512 34afeaa33dc529372b926d905024c88786fd622864b35c3d811ce9f99ac26146b13951ed6334e1041c98b0f31ed86e60f21ec9306808b5d52167d9349f139e07 WHIRLPOOL fb177acb76f53314db1c786ad5811861553254939d9568d7acbef774e877a7a085943f99b956a32fd5b378905e19258d6000d437c4c56230bd31b9dd70d82a65 |
22 |
DIST specutils-0.2.tar.gz 3348219 SHA256 e232013a0615105b07a388be1a5faca2b26a71ee19dcf454508229188356df98 SHA512 ac05a795ddf3e690c7f5f7fe1a4b0340b546363ac132ce78bedc6ce364feb7418d896e18302ce391717cc507dbd37de210f5b6dfcfda2c44f9f8e0191619bace WHIRLPOOL 885e8060519842652d845a5afb69fecea5768ba00d7e05877e31349a546ad80b36a132fb0e4ca6ae82b8eb9a7c49dc5180baaf245051c62f3776c74f060f35ca |
23 |
|
24 |
diff --git a/dev-python/specutils/specutils-0.2.2.ebuild b/dev-python/specutils/specutils-0.2.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..0044337 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/specutils/specutils-0.2.2.ebuild |
29 |
@@ -0,0 +1,52 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Python package for astronomy spectral operations" |
40 |
+HOMEPAGE="https://specutils.readthedocs.org/" |
41 |
+SRC_URI="https://github.com/astropy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+IUSE="doc test" |
47 |
+DOCS=( README.rst ) |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/astropy[${PYTHON_USEDEP}] |
51 |
+ dev-python/numpy[${PYTHON_USEDEP}]" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ dev-python/astropy-helpers[${PYTHON_USEDEP}] |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] |
56 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] ) |
57 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
58 |
+ |
59 |
+python_prepare_all() { |
60 |
+ sed -i -e '/auto_use/s/True/False/' setup.cfg || die |
61 |
+ distutils-r1_python_prepare_all |
62 |
+} |
63 |
+ |
64 |
+python_compile_all() { |
65 |
+ if use doc; then |
66 |
+ python_setup |
67 |
+ VARTEXFONTS="${T}"/fonts \ |
68 |
+ MPLCONFIGDIR="${BUILD_DIR}" \ |
69 |
+ PYTHONPATH="${BUILD_DIR}"/lib \ |
70 |
+ esetup.py build_sphinx |
71 |
+ fi |
72 |
+} |
73 |
+ |
74 |
+python_test() { |
75 |
+ esetup.py test |
76 |
+} |
77 |
+ |
78 |
+python_install_all() { |
79 |
+ use doc && local HTML_DOCS=( docs/_build/html/ ) |
80 |
+ distutils-r1_python_install_all |
81 |
+} |