Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/astroquery/
Date: Tue, 27 Jun 2017 02:49:17
Message-Id: 1498531729.f6712f61bbf63caea19c3f3588ee746ad6b58ab5.bicatali@gentoo
1 commit: f6712f61bbf63caea19c3f3588ee746ad6b58ab5
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 27 02:45:37 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 27 02:48:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6712f61
7
8 dev-python/astroquery: version bump
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-python/astroquery/Manifest | 1 +
13 dev-python/astroquery/astroquery-0.3.5.ebuild | 60 +++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/dev-python/astroquery/Manifest b/dev-python/astroquery/Manifest
17 index 0f04dd09c76..65d796330e1 100644
18 --- a/dev-python/astroquery/Manifest
19 +++ b/dev-python/astroquery/Manifest
20 @@ -1,2 +1,3 @@
21 DIST astroquery-0.3.1.tar.gz 2786634 SHA256 ad67bf4f31bc9e0c45621a19f7200d701ff7b5df2d78e9ba7095e65a2f69c50d SHA512 e92f10dcdc4ced5c6841b35b7afc0ae645231810ae2951a04cc1c014819096bfd9296b1bc6d0f925a59e64e9011ec3f2436e36d0ec2181d271eb0aeba80906c8 WHIRLPOOL ac91041f9bce69945000ded78a39992d724ce7a32937c4803daa51556c2b8ef4984c8da5b6ae1ae4b1e1747ae6ce83d13ee180bbe361b0aaa9ae6a7900010000
22 DIST astroquery-0.3.2.tar.gz 2391386 SHA256 06a03e38bdc8e193f8729f1b3c0ae7e2fb364187e2215d7ad2a20aef44feff3d SHA512 445d1578cd8c86cdfdfba4cc25868c31884ef764b4617da982e24403d9d071cc80e54bd431a50da433f2775ee4dbf747129268b244448cbac4438a21fd16ddad WHIRLPOOL c7227cf827d88d02b093bbf34e6b009053fa6b6dab49258e7c677fc2fec9228e39379c255ccca9b89cae932be97279107eae8a2bf292888d7f5697f8c62678a4
23 +DIST astroquery-0.3.5.tar.gz 2815313 SHA256 5a27038f81d9875f17f3e0e7a3e958813816b2b612469ceec1972b6e79b06146 SHA512 acd1a18f655c7d48dab5ec508a6efa6610686400ebe59716efa6eedea3bcf75bc5febcb483023ecead8b51db065763409be14c7ffb68cf37a5e8aa654246b26b WHIRLPOOL 0ce014c69127958311cbe55b0e6f8ab74dc9615f55d20b8e6566dc5afce8769dece0295ca71c1874e0d94730f0c21205c8e75fc0048e04f3112762bec082299e
24
25 diff --git a/dev-python/astroquery/astroquery-0.3.5.ebuild b/dev-python/astroquery/astroquery-0.3.5.ebuild
26 new file mode 100644
27 index 00000000000..efe37e1cdcf
28 --- /dev/null
29 +++ b/dev-python/astroquery/astroquery-0.3.5.ebuild
30 @@ -0,0 +1,60 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
37 +
38 +inherit distutils-r1 xdg-utils
39 +
40 +DESCRIPTION="Collection of packages to access online astronomical resources"
41 +HOMEPAGE="https://github.com/astropy/astroquery"
42 +SRC_URI="https://github.com/astropy/astroquery/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +IUSE="doc test"
48 +
49 +DOCS=( README.rst )
50 +
51 +RDEPEND="
52 + dev-python/astropy[${PYTHON_USEDEP}]
53 + dev-python/astropy-helpers[${PYTHON_USEDEP}]
54 + dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
55 + dev-python/html5lib[${PYTHON_USEDEP}]
56 + dev-python/keyring[${PYTHON_USEDEP}]
57 + dev-python/numpy[${PYTHON_USEDEP}]
58 + dev-python/requests[${PYTHON_USEDEP}]"
59 +DEPEND="${RDEPEND}
60 + dev-python/setuptools[${PYTHON_USEDEP}]
61 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
62 + test? ( dev-python/aplpy[${PYTHON_USEDEP}]
63 + dev-python/pyregion[${PYTHON_USEDEP}]
64 + dev-python/pytest[${PYTHON_USEDEP}] )"
65 +
66 +python_prepare_all() {
67 + sed -i -e '/auto_use/s/True/False/' setup.cfg || die
68 + sed -i -e "s/= 'APLpy'/= 'aplpy'/" astroquery/conftest.py || die
69 + xdg_environment_reset
70 + distutils-r1_python_prepare_all
71 +}
72 +
73 +python_test() {
74 + esetup.py test
75 +}
76 +
77 +python_compile_all() {
78 + if use doc; then
79 + python_setup
80 + VARTEXFONTS="${T}"/fonts \
81 + MPLCONFIGDIR="${BUILD_DIR}" \
82 + PYTHONPATH="${BUILD_DIR}"/lib \
83 + esetup.py build_sphinx
84 + fi
85 +}
86 +
87 +python_install_all() {
88 + use doc && local HTML_DOCS=( docs/_build/html/. )
89 + distutils-r1_python_install_all
90 +}