1 |
commit: 1da05522000f97a2d19ecda3bf2918cc74335033 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 31 20:45:54 2017 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 31 20:46:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da05522 |
7 |
|
8 |
dev-python/montage-wrapper: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-python/montage-wrapper/Manifest | 1 + |
13 |
.../montage-wrapper/montage-wrapper-0.9.9.ebuild | 42 ++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/montage-wrapper/Manifest b/dev-python/montage-wrapper/Manifest |
17 |
index 92a8c29be9f..597dd8550fe 100644 |
18 |
--- a/dev-python/montage-wrapper/Manifest |
19 |
+++ b/dev-python/montage-wrapper/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST montage-wrapper-0.9.8.tar.gz 208240 SHA256 8f7c468f602e3fa38907e481abaede08fbc4cd17faae0b82d86638c0418aa98e SHA512 a9aeb48f86d055448fdfed3a5c3762b554627db10f1374cbd3f7af6002721ae04e9f47828c2084147be40f79c1c4ce6e56568bf61a6cdd78a31ce91de6365ec1 WHIRLPOOL f224a4fe9dba626700e85a78b309f5db0bf1bac26d27457f6f3eb8a53ae58effbe70043c8c1f311029e36e36082540a9da634821df75366056e9ecb7dbc602f1 |
22 |
+DIST montage-wrapper-0.9.9.tar.gz 187490 SHA256 cdf7722297c95ef0c3065de96636d467cb9db4049298f4df10957d209e64a724 SHA512 a113a9f1ca03ca158ed6d8a4520c6710804a5ac10bae3dd0c0231390f771479c43f0cdd08e302c59ac1d608c4865d4b0d7a3a233ad068d40d3f1c0efbc343533 WHIRLPOOL 7c669455641c11963f0da97fa210efb41324dfba9ffa49f45e68b0ca96747472d1024b56e2a851043eb19362d5e4421e16e17b1cd1b1aabfb6f73d8ea1302ec7 |
23 |
|
24 |
diff --git a/dev-python/montage-wrapper/montage-wrapper-0.9.9.ebuild b/dev-python/montage-wrapper/montage-wrapper-0.9.9.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..409d24f2765 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/montage-wrapper/montage-wrapper-0.9.9.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Python wrapper for the Montage mosaicking toolkit" |
40 |
+HOMEPAGE="http://www.astropy.org/montage-wrapper/" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
46 |
+IUSE="doc test" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-python/astropy[${PYTHON_USEDEP}] |
50 |
+ sci-astronomy/montage" |
51 |
+DEPEND=" |
52 |
+ dev-python/astropy[${PYTHON_USEDEP}] |
53 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ test? ( sci-astronomy/montage )" |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ # use system astropy-helpers instead of bundled one |
58 |
+ sed -i -e '/auto_use/s/True/False/' setup.cfg || die |
59 |
+ distutils-r1_python_prepare_all |
60 |
+} |
61 |
+ |
62 |
+python_compile_all() { |
63 |
+ if use doc; then |
64 |
+ PYTHONPATH=".." emake -C docs html |
65 |
+ HTML_DOCS=( docs/_build/html/. ) |
66 |
+ fi |
67 |
+} |
68 |
+ |
69 |
+python_test() { |
70 |
+ esetup.py test || die "tests failed with ${EPYTHON}" |
71 |
+} |