[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2019-12-28 Thread Mikle Kolyada
commit: 9e37ab08502fe3788dbbb606db1d4d7cd55d4827
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Dec 28 17:18:47 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Dec 28 17:18:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e37ab08

dev-python/astropy-helpers: remove last-rited pkg

Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-python/astropy-helpers/Manifest|  3 ---
 .../astropy-helpers/astropy-helpers-1.2.ebuild | 23 --
 .../astropy-helpers/astropy-helpers-1.3.1.ebuild   | 23 --
 .../astropy-helpers/astropy-helpers-2.0.1.ebuild   | 27 --
 dev-python/astropy-helpers/metadata.xml| 16 -
 5 files changed, 92 deletions(-)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
deleted file mode 100644
index d60d39f71bd..000
--- a/dev-python/astropy-helpers/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST astropy-helpers-1.2.tar.gz 134346 BLAKE2B 
bbd341a164bfbbc7e6a7eed98f4880e9505d458a6ae3e94d0b4f6a3be074bc01833cbc62015f60b77bb0f11e96a394bb3e6002e9cfce59dc467e5259d06fb0e0
 SHA512 
c343b2d8a2f37f8baa94a4920c458b23fe28e5afa812937559cd10c1f6750bacc21aec38b8f52367ec68e2ea3ffeea85125290c32028b3076abebb8f2e7e
-DIST astropy-helpers-1.3.1.tar.gz 136460 BLAKE2B 
123b9de9dcf7dfa6206a4ec452b5c5fa782cad5600a3b8b8a63974ff0d15b64a2e1c77659d98bf14cfcd4e2ba5b5ea87700bea01ff5454c64b8f239d14580568
 SHA512 
796e9827a6c29e148474180c9c8f934a51a8ed455991d84a096025ed5d8aecf764a8152a8b24aa1aec6c254b39ca3f13ebfc764717bd0109022b86c384ebaa99
-DIST astropy-helpers-2.0.1.tar.gz 122118 BLAKE2B 
366d3c2af2c53082d23b1a5951b0a6c2e990fc1ba38af98bc2e0647b421c17943fbbab8727370eb15c16339fc6265c6a42c7ce85c0fd8c3ff616b44777489213
 SHA512 
ce0fb8bccc11b4e26ae9455f156274a4fbdf82bb1b6bf6c8322b0cb218502bcf291c175149e71ebd31cbd0434455a3c974cccd38c38f9263ae624cf2edffd475

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
deleted file mode 100644
index 56f01cfba51..000
--- a/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_5 )
-
-inherit distutils-r1 xdg-utils
-
-DESCRIPTION="Helpers for Astropy and Affiliated packages"
-HOMEPAGE="https://github.com/astropy/astropy-helpers;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
-
-python_prepare_all() {
-   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
-   xdg_environment_reset
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild
deleted file mode 100644
index ee8b427fcfa..000
--- a/dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-
-inherit distutils-r1 xdg-utils
-
-DESCRIPTION="Helpers for Astropy and Affiliated packages"
-HOMEPAGE="https://github.com/astropy/astropy-helpers;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
-
-python_prepare_all() {
-   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
-   xdg_environment_reset
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild
deleted file mode 100644
index 10745247c92..000
--- a/dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-
-inherit distutils-r1 xdg-utils
-
-MYPV=${PV/_/}
-S=${WORKDIR}/${PN}-${MYPV}
-
-DESCRIPTION="Helpers for Astropy and Affiliated packages"
-HOMEPAGE="https://github.com/astropy/astropy-helpers;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MYPV}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-python_prepare_all() {
-   sed -e '/import ah_bootstrap/d' \
-   -i setup.py || die "Removing ah_bootstrap failed"
-   xdg_environment_reset
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/astropy-helpers/metadata.xml 
b/dev-python/astropy-helpers/metadata.xml
deleted file mode 100644
index 845f41eee17..000
--- a/dev-python/astropy-helpers/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/, dev-python/astropy/files/

2019-12-28 Thread Mikle Kolyada
commit: 5511595e336f25098e0ab5f89de3eb73f9f582c8
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Dec 28 17:08:44 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Dec 28 17:08:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5511595e

dev-python/astropy: remove last-rited pkg

Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-python/astropy/Manifest|   3 -
 dev-python/astropy/astropy-1.2.1.ebuild|  98 -
 dev-python/astropy/astropy-1.3.3.ebuild|  97 -
 dev-python/astropy/astropy-2.0.1.ebuild|  95 
 .../files/astropy-1.0.4-system-configobj.patch |  14 ---
 .../astropy/files/astropy-1.0.4-system-six.patch   |  12 ---
 .../files/astropy-1.1.1-mark-kown-failures.patch   |  99 -
 .../astropy/files/astropy-1.2.1-cfitsio-338.patch  |  16 ---
 .../files/astropy-1.3.3-external-python-pkgs.patch | 119 -
 .../files/astropy-1.3.3-mark-known-failures.patch  |  84 ---
 dev-python/astropy/files/astropy-ply.py|  58 --
 dev-python/astropy/metadata.xml|  16 ---
 12 files changed, 711 deletions(-)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
deleted file mode 100644
index f8286fd16f0..000
--- a/dev-python/astropy/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST astropy-1.2.1.tar.gz 8179665 BLAKE2B 
d61dbb7a4e56d9a0273dd87fde5b6ed8b2fc8cd206eb51f57621d0ed48adffb76653e1ee5954a7b33ba6e0e2e9d3edb9a5a5afd269d674a899196280fea379fa
 SHA512 
2ef37537a4c6b2ec50a1d898f600978475c9c5d2cb66ba19d06782656e9ddcb4aa6a8e53217e318448cedac45dac0dce0d8cc2fe94cddc15ebb306b3b0794595
-DIST astropy-1.3.3.tar.gz 8427036 BLAKE2B 
60a9f78f01fe3607314d69bc66180f2afb0ca9a53f7916079f18bf982cff2cda8986823ec03ea8ecd439df6d213547067d04425f43536f37baadc1caa56e9db0
 SHA512 
15956d488a390ab3b4091146bffe6f192f22e7598d00e302c2bcf0ec9728911f48bef3ee4c71d331f58e57aec86292421d27f915ea16027a7f62c5d43f6a12e5
-DIST astropy-2.0.1.tar.gz 8220097 BLAKE2B 
f9332b828d2204f60a0e032e79fb841235a08ce3be974563fa0818f98d02c95743dc42ec6c8bae5f239c0917b030b073f5a9ee5cbf848682b7d2ca01ef9b5009
 SHA512 
0677b4f22a9eb7d3334109a639ec14ce904935dc58925d303dc98c27cbac2be7d0e95bd873cc21d3cd92e8e553481d203382c281f91cb7a4e41c27d1ff83aac7

diff --git a/dev-python/astropy/astropy-1.2.1.ebuild 
b/dev-python/astropy/astropy-1.2.1.ebuild
deleted file mode 100644
index e7786c0fe17..000
--- a/dev-python/astropy/astropy-1.2.1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_5 )
-
-inherit distutils-r1 xdg-utils
-
-DESCRIPTION="Core functionality for performing astrophysics with Python"
-HOMEPAGE="https://www.astropy.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   dev-libs/expat:0=
-   dev-python/configobj[${PYTHON_USEDEP}]
-   >=dev-python/numpy-1.10[${PYTHON_USEDEP}]
-   dev-python/ply[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   >=sci-astronomy/erfa-1.2:0=
-   >=sci-astronomy/wcslib-5:0=
-   sci-libs/cfitsio:0=
-   sys-libs/zlib:0="
-DEPEND="${RDEPEND}
-   >=dev-python/astropy-helpers-1.1[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   virtual/pkgconfig
-   doc? (
-   media-gfx/graphviz
-   $(python_gen_cond_dep 'dev-libs/libxml2[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'dev-python/h5py[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'dev-python/matplotlib[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'dev-python/wcsaxes[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'sci-libs/scipy[${PYTHON_USEDEP}]' 
python2_7)
-   )
-   test? (
-   dev-libs/libxml2[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/h5py[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   sci-libs/scipy[${PYTHON_USEDEP}]
-   )"
-
-REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.0.4-system-six.patch"
-   "${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
-   "${FILESDIR}/${PN}-1.1.1-mark-kown-failures.patch"
-   "${FILESDIR}/${PN}-1.2.1-cfitsio-338.patch"
-)
-
-pkg_setup() {
-   use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
-}
-
-python_prepare_all() {
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2018-07-01 Thread Pacho Ramos
commit: ac7effa5cbea4e83ab3d577d2168fd0d80a81c41
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 14:59:29 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 15:00:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac7effa5

dev-python/astropy: amd64 stable, bug #599846

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-python/astropy/astropy-1.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/astropy/astropy-1.3.3.ebuild 
b/dev-python/astropy/astropy-1.3.3.ebuild
index 8eb789f8cfb..0b1ab4a51a6 100644
--- a/dev-python/astropy/astropy-1.3.3.ebuild
+++ b/dev-python/astropy/astropy-1.3.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 # ply-3.10 incompatible, keep bundled (bug #622802)



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2018-07-01 Thread Pacho Ramos
commit: 83ec596d68348eb8e367fd00c4b86823982be7ff
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 14:59:20 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 15:00:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83ec596d

dev-python/astropy-helpers: amd64 stable, bug #599846

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild
index f7e6f1eb6f8..84a5de50abb 100644
--- a/dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild
+++ b/dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 IUSE=""
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 
 python_prepare_all() {
sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2018-05-25 Thread Aaron Bauman
commit: fefea0958098700d35a95da101c2243c3426a7cf
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri May 25 19:52:22 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri May 25 22:28:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fefea095

dev-python/astropy: use HTTPs

Closes: https://github.com/gentoo/gentoo/pull/8584

 dev-python/astropy/astropy-1.2.1.ebuild | 4 ++--
 dev-python/astropy/astropy-1.3.3.ebuild | 4 ++--
 dev-python/astropy/astropy-2.0.1.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-python/astropy/astropy-1.2.1.ebuild 
b/dev-python/astropy/astropy-1.2.1.ebuild
index 2f2c8fcdb9d..c7daa8fd56d 100644
--- a/dev-python/astropy/astropy-1.2.1.ebuild
+++ b/dev-python/astropy/astropy-1.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
 inherit distutils-r1 xdg-utils
 
 DESCRIPTION="Core functionality for performing astrophysics with Python"
-HOMEPAGE="http://astropy.org/;
+HOMEPAGE="https://www.astropy.org/;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"

diff --git a/dev-python/astropy/astropy-1.3.3.ebuild 
b/dev-python/astropy/astropy-1.3.3.ebuild
index b1a454a4e08..8eb789f8cfb 100644
--- a/dev-python/astropy/astropy-1.3.3.ebuild
+++ b/dev-python/astropy/astropy-1.3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 inherit distutils-r1 xdg-utils
 
 DESCRIPTION="Core functionality for performing astrophysics with Python"
-HOMEPAGE="http://astropy.org/;
+HOMEPAGE="https://www.astropy.org/;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"

diff --git a/dev-python/astropy/astropy-2.0.1.ebuild 
b/dev-python/astropy/astropy-2.0.1.ebuild
index fb535d4fd51..cac851d8af6 100644
--- a/dev-python/astropy/astropy-2.0.1.ebuild
+++ b/dev-python/astropy/astropy-2.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ MYPV=${PV/_/}
 S=${WORKDIR}/${PN}-${MYPV}
 
 DESCRIPTION="Core functionality for performing astrophysics with Python"
-HOMEPAGE="http://astropy.org/;
+HOMEPAGE="https://www.astropy.org/;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MYPV}.tar.gz"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2017-10-22 Thread Patrick Lauer
commit: 20d8755f7dc366276a7a31f1b5cbb0ab643180a6
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sun Oct 22 16:42:56 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Sun Oct 22 16:53:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20d8755f

dev-python/astropy: Fix dev-python/pillow dependency

Package-Manager: Portage-2.3.12, Repoman-2.3.3

 dev-python/astropy/astropy-1.3.3.ebuild | 2 +-
 dev-python/astropy/astropy-2.0.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/astropy/astropy-1.3.3.ebuild 
b/dev-python/astropy/astropy-1.3.3.ebuild
index 784a43072ae..b1a454a4e08 100644
--- a/dev-python/astropy/astropy-1.3.3.ebuild
+++ b/dev-python/astropy/astropy-1.3.3.ebuild
@@ -40,7 +40,7 @@ DEPEND="${RDEPEND}
dev-python/h5py[${PYTHON_USEDEP}]
dev-python/jplephem[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP},jpeg]
+   dev-python/pillow[${PYTHON_USEDEP},jpeg(+)]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/sphinx-gallery[${PYTHON_USEDEP}]

diff --git a/dev-python/astropy/astropy-2.0.1.ebuild 
b/dev-python/astropy/astropy-2.0.1.ebuild
index 65cd60ea569..fb535d4fd51 100644
--- a/dev-python/astropy/astropy-2.0.1.ebuild
+++ b/dev-python/astropy/astropy-2.0.1.ebuild
@@ -33,7 +33,7 @@ RDEPEND="
>=dev-python/numpy-1.10[${PYTHON_USEDEP}]
dev-python/objgraph[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP},jpeg]
+   dev-python/pillow[${PYTHON_USEDEP},jpeg(+)]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/files/

2017-09-02 Thread Michael Palimaka
commit: f26753127955f2c9cc9706a8d74f6eb7f2926897
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Wed Aug 16 12:21:43 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep  2 15:10:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2675312

dev-python/astropy: remove unused patch

 .../files/astropy-2.0-external-python-pkgs.patch   | 120 -
 1 file changed, 120 deletions(-)

diff --git a/dev-python/astropy/files/astropy-2.0-external-python-pkgs.patch 
b/dev-python/astropy/files/astropy-2.0-external-python-pkgs.patch
deleted file mode 100644
index 117cb8563b7..000
--- a/dev-python/astropy/files/astropy-2.0-external-python-pkgs.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-From: Ole Streicher 
-Date: Thu, 12 Jan 2017 11:37:47 +0100
-Subject: Use external python modules instead of convenience copies
-bicat...@gentoo.org: Edit to remove jsviewer debian internals
-

- astropy/coordinates/angle_utilities.py |  2 +-
- astropy/extern/configobj.py|  5 -
- astropy/extern/six.py  |  2 +-
- astropy/units/format/cds.py|  4 ++--
- astropy/units/format/generic.py|  4 ++--
- astropy/units/format/ogip.py   |  4 ++--
- 8 files changed, 23 insertions(+), 18 deletions(-)
-
-diff --git a/astropy/coordinates/angle_utilities.py 
b/astropy/coordinates/angle_utilities.py
-index cfa894e..bb8fb7d 100644
 a/astropy/coordinates/angle_utilities.py
-+++ b/astropy/coordinates/angle_utilities.py
-@@ -64,7 +64,7 @@ class _AngleParser(object):
- 
- @classmethod
- def _make_parser(cls):
--from ..extern.ply import lex, yacc
-+from ply import lex, yacc
- 
- # List of token names.
- tokens = (
-diff --git a/astropy/extern/configobj.py b/astropy/extern/configobj.py
-index 8d1bd8c..e3bb0e0 100644
 a/astropy/extern/configobj.py
-+++ b/astropy/extern/configobj.py
-@@ -7,5 +7,8 @@ currently installed version of python.
- Also, this should actually never actually show up as a docstring, because
- it should get overwritten by the appropriate configobj docstring.
- """
-+from __future__ import absolute_import
-+import validate
-+import configobj
-+
- 
--from .configobj import configobj, validate, __doc__
-diff --git a/astropy/extern/six.py b/astropy/extern/six.py
-index 5398fc0..fb3a30c 100644
 a/astropy/extern/six.py
-+++ b/astropy/extern/six.py
-@@ -13,7 +13,7 @@ _SIX_MIN_VERSION = StrictVersion('1.10.0')
- # Update this to prevent Astropy from using its bundled copy of six
- # (but only if some other version of at least _SIX_MIN_VERSION can
- # be provided)
--_SIX_SEARCH_PATH = ['astropy.extern.bundled.six', 'six']
-+_SIX_SEARCH_PATH = ['six']
- 
- 
- def _find_module(name, path=None):
-diff --git a/astropy/units/format/cds.py b/astropy/units/format/cds.py
-index e40c1cf..0d5e033 100644
 a/astropy/units/format/cds.py
-+++ b/astropy/units/format/cds.py
-@@ -78,7 +78,7 @@ class CDS(Base):
- 
- @classmethod
- def _make_lexer(cls):
--from ...extern.ply import lex
-+from ply import lex
- 
- tokens = cls._tokens
- 
-@@ -142,7 +142,7 @@ class CDS(Base):
- `_.
- """
- 
--from ...extern.ply import yacc
-+from ply import yacc
- 
- tokens = cls._tokens
- 
-diff --git a/astropy/units/format/generic.py b/astropy/units/format/generic.py
-index 974ca25..7d40dfe 100644
 a/astropy/units/format/generic.py
-+++ b/astropy/units/format/generic.py
-@@ -103,7 +103,7 @@ class Generic(Base):
- 
- @classmethod
- def _make_lexer(cls):
--from ...extern.ply import lex
-+from ply import lex
- 
- tokens = cls._tokens
- 
-@@ -178,7 +178,7 @@ class Generic(Base):
- formats, the only difference being the set of available unit
- strings.
- """
--from ...extern.ply import yacc
-+from ply import yacc
- 
- tokens = cls._tokens
- 
-diff --git a/astropy/units/format/ogip.py b/astropy/units/format/ogip.py
-index e429407..e80e35a 100644
 a/astropy/units/format/ogip.py
-+++ b/astropy/units/format/ogip.py
-@@ -110,7 +110,7 @@ class OGIP(generic.Generic):
- 
- @classmethod
- def _make_lexer(cls):
--from ...extern.ply import lex
-+from ply import lex
- 
- tokens = cls._tokens
- 
-@@ -180,7 +180,7 @@ class OGIP(generic.Generic):
- `_.
- """
- 
--from ...extern.ply import yacc
-+from ply import yacc
- 
- tokens = cls._tokens
- 



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2017-07-31 Thread Sebastien Fabbro
commit: 17488a2e689901d7270b85bb7814132613c7f013
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Mon Jul 31 20:43:21 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Mon Jul 31 20:46:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17488a2e

dev-python/astropy: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/astropy/Manifest | 2 +-
 dev-python/astropy/{astropy-2.0.ebuild => astropy-2.0.1.ebuild} | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index 2cb34d56b18..dae14609f7b 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -1,3 +1,3 @@
 DIST astropy-1.2.1.tar.gz 8179665 SHA256 
0d7ef702166f26fed239b59fc12edcd5243ca5bf562a36202fd8c6b0270d6e48 SHA512 
2ef37537a4c6b2ec50a1d898f600978475c9c5d2cb66ba19d06782656e9ddcb4aa6a8e53217e318448cedac45dac0dce0d8cc2fe94cddc15ebb306b3b0794595
 WHIRLPOOL 
d37374f23a0121fdc92fa572facc248f0a571dacb8edcf1a9d0987d6a40287de199262ec01f654bd6ea5aece826e5588d2869558152adffe9ab490fa46f2e36d
 DIST astropy-1.3.3.tar.gz 8427036 SHA256 
ed093e033fcbee5a3ec122420c3376f8a80f74663214560727d3defe82170a99 SHA512 
15956d488a390ab3b4091146bffe6f192f22e7598d00e302c2bcf0ec9728911f48bef3ee4c71d331f58e57aec86292421d27f915ea16027a7f62c5d43f6a12e5
 WHIRLPOOL 
a9246b1ba56ecda5eec42e89998f18da4987f611d1154ba8ef5d3480d398fd77c0fdad6c15614885ae722454b9c284b9281ee926fed0f39c314864a015bf658f
-DIST astropy-2.0.tar.gz 8217371 SHA256 
cdd60fce57c2be5d93fdc39a8ddf3621c4099026f50617294875273321cd8f99 SHA512 
b49289da6564539dc9321cd1bf4c8295ce9c659f501f7cdab6ef97cf34fcd80cd68d734178b99b8aa2ffccd6529b6c03629d384c7155804d12f467973cda90cc
 WHIRLPOOL 
e90586613c4426f875bbdc9387048a32a5424a1b7d3d11ff1ac0d349de899b7f3f4a2863247cb7329b5261afbe6e648663123aaf33a98c2ba39dc2d556f0dbd0
+DIST astropy-2.0.1.tar.gz 8220097 SHA256 
25e0881a392a2e03b4a705cf9592f01894d23f64797323b21387efa8ea9ec03e SHA512 
0677b4f22a9eb7d3334109a639ec14ce904935dc58925d303dc98c27cbac2be7d0e95bd873cc21d3cd92e8e553481d203382c281f91cb7a4e41c27d1ff83aac7
 WHIRLPOOL 
af4d78b88cf9ea7f536eb2d6b6a0cc46068ae5312de3f8f83f0ad3bea539112868f3704f6898be6da6e1a0a60caadd2d88335523c242f6156723dfd849c6ef76

diff --git a/dev-python/astropy/astropy-2.0.ebuild 
b/dev-python/astropy/astropy-2.0.1.ebuild
similarity index 96%
rename from dev-python/astropy/astropy-2.0.ebuild
rename to dev-python/astropy/astropy-2.0.1.ebuild
index 539de59e144..65cd60ea569 100644
--- a/dev-python/astropy/astropy-2.0.ebuild
+++ b/dev-python/astropy/astropy-2.0.1.ebuild
@@ -55,7 +55,8 @@ DEPEND="
${RDEPEND}
media-gfx/graphviz
dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/sphinx-gallery[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-1.6[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-gallery-0.1.9[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2017-07-31 Thread Sebastien Fabbro
commit: 7c81b656c5710043090fe45e86d341e7c554210c
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Mon Jul 31 18:55:48 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Mon Jul 31 20:46:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c81b656

dev-python/astropy-helpers: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/astropy-helpers/Manifest | 2 +-
 .../{astropy-helpers-2.0.ebuild => astropy-helpers-2.0.1.ebuild}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index 12c3937ba16..e1da6da57e5 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1,3 +1,3 @@
 DIST astropy-helpers-1.2.tar.gz 134346 SHA256 
623a9efdd1f34ce4fc71effb225bf5b8ff06ff515bd8e6b751aba2c7ff207661 SHA512 
c343b2d8a2f37f8baa94a4920c458b23fe28e5afa812937559cd10c1f6750bacc21aec38b8f52367ec68e2ea3ffeea85125290c32028b3076abebb8f2e7e
 WHIRLPOOL 
528ac9acb02bc03f3af61649be08ecc5cc39c26c7fc408664b38d4b662a64ef5350e6f9127bcbd5c9c8765d196c6b90221e0e192b70c70953d8e6b9dcbfe5aa4
 DIST astropy-helpers-1.3.1.tar.gz 136460 SHA256 
7640c5582e518a3ed2f2b5a209d188f1d5099ab33cc1e861a2c123e0e80c9fcd SHA512 
796e9827a6c29e148474180c9c8f934a51a8ed455991d84a096025ed5d8aecf764a8152a8b24aa1aec6c254b39ca3f13ebfc764717bd0109022b86c384ebaa99
 WHIRLPOOL 
e0091adbc7f081d5a64823443fe1fc58f7d4c1d3d10d0ff6e066f409c70224fd39dcdf0d651261b6a2133a821e1e4dede989c95c79d63fcbf69b9556f73078a8
-DIST astropy-helpers-2.0.tar.gz 122083 SHA256 
86cd55a13d30a9c495559746a548cbdc4c3f083d414c695a399c8caf7769b838 SHA512 
41b5d0a6c67fb88c9715d5c967aed6975fcc528c2d62a9e6f700f8fa2b0b41fa1ea5aa9de9c074e72a865d47cdd94ada552564cbf7a31a458a2e932e1651bd3d
 WHIRLPOOL 
9d7380cd43b47552ec6a86a9a05a5a873d4c2a144316e86cf8d1c736f678edf8b964255bbdb64caa4c132b7eb03318866b02dab521878c7ab0c0042e63bd7115
+DIST astropy-helpers-2.0.1.tar.gz 122118 SHA256 
42427a1b3f027b2bfeb528610bc3d82d182053323b51a97403a4ce09fa3bbc82 SHA512 
ce0fb8bccc11b4e26ae9455f156274a4fbdf82bb1b6bf6c8322b0cb218502bcf291c175149e71ebd31cbd0434455a3c974cccd38c38f9263ae624cf2edffd475
 WHIRLPOOL 
37d1fae20b1cf72282ab302e13ee7eaad62f5be26b218161c6eaf4ffc71ea194e9078eef0077c059934606cd581596052f89aaab36f5ec6c684217dc70e7c863

diff --git a/dev-python/astropy-helpers/astropy-helpers-2.0.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild
similarity index 100%
rename from dev-python/astropy-helpers/astropy-helpers-2.0.ebuild
rename to dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2017-07-10 Thread Sebastien Fabbro
commit: ad4dfc5e1a936ef3964b05b083ca55affc7cefeb
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Mon Jul 10 18:47:33 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Mon Jul 10 18:49:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad4dfc5e

dev-python/astropy-helpers: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/astropy-helpers/Manifest   | 2 +-
 .../{astropy-helpers-1.3.ebuild => astropy-helpers-2.0.ebuild}| 8 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index b19702aed18..12c3937ba16 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1,3 +1,3 @@
 DIST astropy-helpers-1.2.tar.gz 134346 SHA256 
623a9efdd1f34ce4fc71effb225bf5b8ff06ff515bd8e6b751aba2c7ff207661 SHA512 
c343b2d8a2f37f8baa94a4920c458b23fe28e5afa812937559cd10c1f6750bacc21aec38b8f52367ec68e2ea3ffeea85125290c32028b3076abebb8f2e7e
 WHIRLPOOL 
528ac9acb02bc03f3af61649be08ecc5cc39c26c7fc408664b38d4b662a64ef5350e6f9127bcbd5c9c8765d196c6b90221e0e192b70c70953d8e6b9dcbfe5aa4
 DIST astropy-helpers-1.3.1.tar.gz 136460 SHA256 
7640c5582e518a3ed2f2b5a209d188f1d5099ab33cc1e861a2c123e0e80c9fcd SHA512 
796e9827a6c29e148474180c9c8f934a51a8ed455991d84a096025ed5d8aecf764a8152a8b24aa1aec6c254b39ca3f13ebfc764717bd0109022b86c384ebaa99
 WHIRLPOOL 
e0091adbc7f081d5a64823443fe1fc58f7d4c1d3d10d0ff6e066f409c70224fd39dcdf0d651261b6a2133a821e1e4dede989c95c79d63fcbf69b9556f73078a8
-DIST astropy-helpers-1.3.tar.gz 136411 SHA256 
8e7410e5045bdccc68a8010624eed4ab0ef019a4fc621cae6eb900f51b107e20 SHA512 
f72a5de8ce1af5f340067bb9e76ccd6dd39195e4f65faf28ee482ef16ecec7e7dfb4cfbb4ec2db333a13bbf34e7f5f968041af807672421419f90f672c599ec4
 WHIRLPOOL 
2354912bbbd9b0ef1d165cea4b1fdaee7f978aebe40086d23d3a9905085fbb6a52dd97807ad8305b7b58269e281c2593b5a3f9c6d426f361c498a94f3cf37cb3
+DIST astropy-helpers-2.0.tar.gz 122083 SHA256 
86cd55a13d30a9c495559746a548cbdc4c3f083d414c695a399c8caf7769b838 SHA512 
41b5d0a6c67fb88c9715d5c967aed6975fcc528c2d62a9e6f700f8fa2b0b41fa1ea5aa9de9c074e72a865d47cdd94ada552564cbf7a31a458a2e932e1651bd3d
 WHIRLPOOL 
9d7380cd43b47552ec6a86a9a05a5a873d4c2a144316e86cf8d1c736f678edf8b964255bbdb64caa4c132b7eb03318866b02dab521878c7ab0c0042e63bd7115

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.3.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-2.0.ebuild
similarity index 71%
rename from dev-python/astropy-helpers/astropy-helpers-1.3.ebuild
rename to dev-python/astropy-helpers/astropy-helpers-2.0.ebuild
index f7e6f1eb6f8..68cb890bf33 100644
--- a/dev-python/astropy-helpers/astropy-helpers-1.3.ebuild
+++ b/dev-python/astropy-helpers/astropy-helpers-2.0.ebuild
@@ -7,9 +7,12 @@ PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1 xdg-utils
 
+MYPV=${PV/_/}
+S=${WORKDIR}/${PN}-${MYPV}
+
 DESCRIPTION="Helpers for Astropy and Affiliated packages"
 HOMEPAGE="https://github.com/astropy/astropy-helpers;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MYPV}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -17,7 +20,8 @@ IUSE=""
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 python_prepare_all() {
-   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
+   sed -e '/import ah_bootstrap/d' \
+   -i setup.py || die "Removing ah_bootstrap failed"
xdg_environment_reset
distutils-r1_python_prepare_all
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/files/, dev-python/astropy/

2017-07-10 Thread Sebastien Fabbro
commit: 0b585ade219b8b24afb0046e678ce34b1681199b
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Mon Jul 10 18:47:04 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Mon Jul 10 18:49:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b585ade

dev-python/astropy: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/astropy/Manifest|   1 +
 dev-python/astropy/astropy-2.0.ebuild  |  93 
 .../files/astropy-2.0-external-python-pkgs.patch   | 120 +
 3 files changed, 214 insertions(+)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index 93eb031730c..2cb34d56b18 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -1,2 +1,3 @@
 DIST astropy-1.2.1.tar.gz 8179665 SHA256 
0d7ef702166f26fed239b59fc12edcd5243ca5bf562a36202fd8c6b0270d6e48 SHA512 
2ef37537a4c6b2ec50a1d898f600978475c9c5d2cb66ba19d06782656e9ddcb4aa6a8e53217e318448cedac45dac0dce0d8cc2fe94cddc15ebb306b3b0794595
 WHIRLPOOL 
d37374f23a0121fdc92fa572facc248f0a571dacb8edcf1a9d0987d6a40287de199262ec01f654bd6ea5aece826e5588d2869558152adffe9ab490fa46f2e36d
 DIST astropy-1.3.3.tar.gz 8427036 SHA256 
ed093e033fcbee5a3ec122420c3376f8a80f74663214560727d3defe82170a99 SHA512 
15956d488a390ab3b4091146bffe6f192f22e7598d00e302c2bcf0ec9728911f48bef3ee4c71d331f58e57aec86292421d27f915ea16027a7f62c5d43f6a12e5
 WHIRLPOOL 
a9246b1ba56ecda5eec42e89998f18da4987f611d1154ba8ef5d3480d398fd77c0fdad6c15614885ae722454b9c284b9281ee926fed0f39c314864a015bf658f
+DIST astropy-2.0.tar.gz 8217371 SHA256 
cdd60fce57c2be5d93fdc39a8ddf3621c4099026f50617294875273321cd8f99 SHA512 
b49289da6564539dc9321cd1bf4c8295ce9c659f501f7cdab6ef97cf34fcd80cd68d734178b99b8aa2ffccd6529b6c03629d384c7155804d12f467973cda90cc
 WHIRLPOOL 
e90586613c4426f875bbdc9387048a32a5424a1b7d3d11ff1ac0d349de899b7f3f4a2863247cb7329b5261afbe6e648663123aaf33a98c2ba39dc2d556f0dbd0

diff --git a/dev-python/astropy/astropy-2.0.ebuild 
b/dev-python/astropy/astropy-2.0.ebuild
new file mode 100644
index 000..539de59e144
--- /dev/null
+++ b/dev-python/astropy/astropy-2.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1 xdg-utils
+
+MYPV=${PV/_/}
+S=${WORKDIR}/${PN}-${MYPV}
+
+DESCRIPTION="Core functionality for performing astrophysics with Python"
+HOMEPAGE="http://astropy.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MYPV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+RDEPEND="
+   dev-libs/expat:0=
+   dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/ipython[${PYTHON_USEDEP}]
+   >=dev-python/jinja-2.7[${PYTHON_USEDEP}]
+   dev-python/jplephem[${PYTHON_USEDEP}]
+   dev-libs/libxml2[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/mpmath[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.10[${PYTHON_USEDEP}]
+   dev-python/objgraph[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP},jpeg]
+   dev-python/pytz[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=sci-astronomy/erfa-1.3:0=
+   >=sci-astronomy/wcslib-5:0=
+   >=sci-libs/cfitsio-3.410:0=
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   sci-libs/scikits_image[${PYTHON_USEDEP}]
+   sys-libs/zlib:0=
+"
+DEPEND="
+   >=dev-python/astropy-helpers-2[${PYTHON_USEDEP}]
+   >=dev-python/cython-0.21[${PYTHON_USEDEP}]
+   >=dev-python/jinja-2.7[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.10[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   virtual/pkgconfig
+   doc? (
+   ${RDEPEND}
+   media-gfx/graphviz
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/sphinx-gallery[${PYTHON_USEDEP}]
+   )
+   test? (
+   ${RDEPEND}
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/pytest-mpl[${PYTHON_USEDEP}]
+   )
+"
+
+python_prepare_all() {
+   export mydistutilsargs="--offline"
+   export ASTROPY_USE_SYSTEM_PYTEST=True
+   rm -r ${PN}_helpers || die
+   rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
+   sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+   cat >> setup.cfg <<-EOF
+
+   [build]
+   use_system_libraries=1
+   EOF
+   xdg_environment_reset
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   VARTEXFONTS="${T}"/fonts MPLCONFIGDIR="${T}" 

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/files/, dev-python/astropy/

2017-06-27 Thread Sebastien Fabbro
commit: cfe66eaac18ce62aad4e6c441e41ff2efd86ba57
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 16:58:48 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfe66eaa

dev-python/astropy: ply-3.10 is not compatible, so to simplify, keep bundled 
ply.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/astropy/astropy-1.3.3.ebuild|  6 +-
 .../files/astropy-1.3.3-external-python-pkgs.patch | 81 +-
 2 files changed, 6 insertions(+), 81 deletions(-)

diff --git a/dev-python/astropy/astropy-1.3.3.ebuild 
b/dev-python/astropy/astropy-1.3.3.ebuild
index fad05b0a7b5..784a43072ae 100644
--- a/dev-python/astropy/astropy-1.3.3.ebuild
+++ b/dev-python/astropy/astropy-1.3.3.ebuild
@@ -16,11 +16,14 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
+# ply-3.10 incompatible, keep bundled (bug #622802)
+#rdep: dev-python/ply[${PYTHON_USEDEP}]
+#prep: cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
+
 RDEPEND="
dev-libs/expat:0=
dev-python/configobj[${PYTHON_USEDEP}]
>=dev-python/numpy-1.10[${PYTHON_USEDEP}]
-   dev-python/ply[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=sci-astronomy/erfa-1.3:0=
>=sci-astronomy/wcslib-5:0=
@@ -61,7 +64,6 @@ python_prepare_all() {
export mydistutilsargs="--offline"
export ASTROPY_USE_SYSTEM_PYTEST=True
#rm -r ${PN}_helpers || die
-   cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
cat >> setup.cfg <<-EOF

diff --git a/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch 
b/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch
index 41796094060..5c69704df9b 100644
--- a/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch
+++ b/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch
@@ -1,3 +1,5 @@
+Edit: bicat...@gentoo.org, ply-3.10 incompatible, so keep bundled.
+
 From: Ole Streicher 
 Date: Thu, 12 Jan 2017 11:37:47 +0100
 Subject: Use external python modules instead of convenience copies
@@ -14,19 +16,6 @@ Subject: Use external python modules instead of convenience 
copies
  astropy/units/format/ogip.py   |  4 ++--
  9 files changed, 24 insertions(+), 19 deletions(-)
 
-diff --git a/astropy/coordinates/angle_utilities.py 
b/astropy/coordinates/angle_utilities.py
-index cfa894e..bb8fb7d 100644
 a/astropy/coordinates/angle_utilities.py
-+++ b/astropy/coordinates/angle_utilities.py
-@@ -64,7 +64,7 @@ class _AngleParser(object):
- 
- @classmethod
- def _make_parser(cls):
--from ..extern.ply import lex, yacc
-+from ply import lex, yacc
- 
- # List of token names.
- tokens = (
 diff --git a/astropy/extern/configobj.py b/astropy/extern/configobj.py
 index 8d1bd8c..e3bb0e0 100644
 --- a/astropy/extern/configobj.py
@@ -128,69 +117,3 @@ index 9e88d1f..94bd40a 100644
  import pytest
  
  else:
-diff --git a/astropy/units/format/cds.py b/astropy/units/format/cds.py
-index e40c1cf..0d5e033 100644
 a/astropy/units/format/cds.py
-+++ b/astropy/units/format/cds.py
-@@ -78,7 +78,7 @@ class CDS(Base):
- 
- @classmethod
- def _make_lexer(cls):
--from ...extern.ply import lex
-+from ply import lex
- 
- tokens = cls._tokens
- 
-@@ -142,7 +142,7 @@ class CDS(Base):
- `_.
- """
- 
--from ...extern.ply import yacc
-+from ply import yacc
- 
- tokens = cls._tokens
- 
-diff --git a/astropy/units/format/generic.py b/astropy/units/format/generic.py
-index 6f1d0e6..8c12a2d 100644
 a/astropy/units/format/generic.py
-+++ b/astropy/units/format/generic.py
-@@ -102,7 +102,7 @@ class Generic(Base):
- 
- @classmethod
- def _make_lexer(cls):
--from ...extern.ply import lex
-+from ply import lex
- 
- tokens = cls._tokens
- 
-@@ -177,7 +177,7 @@ class Generic(Base):
- formats, the only difference being the set of available unit
- strings.
- """
--from ...extern.ply import yacc
-+from ply import yacc
- 
- tokens = cls._tokens
- 
-diff --git a/astropy/units/format/ogip.py b/astropy/units/format/ogip.py
-index e429407..e80e35a 100644
 a/astropy/units/format/ogip.py
-+++ b/astropy/units/format/ogip.py
-@@ -110,7 +110,7 @@ class OGIP(generic.Generic):
- 
- @classmethod
- def _make_lexer(cls):
--from ...extern.ply import lex
-+from ply import lex
- 
- tokens = cls._tokens
- 
-@@ -180,7 +180,7 @@ class OGIP(generic.Generic):
- `_.
- """
- 
--from ...extern.ply import yacc
-+from ply 

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2017-06-25 Thread Sebastien Fabbro
commit: b5ddb973ac177d5e47a77383997c3e6664acb8f9
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Mon Jun 26 04:14:54 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Mon Jun 26 04:16:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5ddb973

dev-python/astropy: added dep on pyyaml for doc building

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/astropy/astropy-1.3.3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/astropy/astropy-1.3.3.ebuild 
b/dev-python/astropy/astropy-1.3.3.ebuild
index 923ff494b4b..fad05b0a7b5 100644
--- a/dev-python/astropy/astropy-1.3.3.ebuild
+++ b/dev-python/astropy/astropy-1.3.3.ebuild
@@ -39,6 +39,7 @@ DEPEND="${RDEPEND}
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP},jpeg]
dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/sphinx-gallery[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
)



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/files/, dev-python/astropy/

2017-06-25 Thread Sebastien Fabbro
commit: 6210899ddc89d87f07c32711f65d2dfaebd42947
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Mon Jun 26 03:25:55 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Mon Jun 26 04:16:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6210899d

dev-python/astropy: version bump

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/astropy/Manifest|   2 +-
 .../{astropy-1.3.ebuild => astropy-1.3.3.ebuild}   |  20 +--
 .../files/astropy-1.3.3-external-python-pkgs.patch | 196 +
 ...tch => astropy-1.3.3-mark-known-failures.patch} |   0
 4 files changed, 206 insertions(+), 12 deletions(-)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index fb18d25d266..93eb031730c 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -1,2 +1,2 @@
 DIST astropy-1.2.1.tar.gz 8179665 SHA256 
0d7ef702166f26fed239b59fc12edcd5243ca5bf562a36202fd8c6b0270d6e48 SHA512 
2ef37537a4c6b2ec50a1d898f600978475c9c5d2cb66ba19d06782656e9ddcb4aa6a8e53217e318448cedac45dac0dce0d8cc2fe94cddc15ebb306b3b0794595
 WHIRLPOOL 
d37374f23a0121fdc92fa572facc248f0a571dacb8edcf1a9d0987d6a40287de199262ec01f654bd6ea5aece826e5588d2869558152adffe9ab490fa46f2e36d
-DIST astropy-1.3.tar.gz 8372366 SHA256 
49de3e86482abe24e3cd02c4a30a469ee4b928d5b46ea5f70fa605ff6f9c6d38 SHA512 
1dd667af78be568bd4719d273d432881d7dea03725deb24a045726b315f8e5cd8afac3f6f925867b05c4c7924cd71d7e7d6ae15985a95c7fcc4421e52273983b
 WHIRLPOOL 
2913c195989c2af0a58ab5e675bd41607bb28273265c0a502c8b1d33925994f9127c9a03058b55aabc1b3a8c594e89ddbd2d5fc38c42dd4723998bad01c7bd45
+DIST astropy-1.3.3.tar.gz 8427036 SHA256 
ed093e033fcbee5a3ec122420c3376f8a80f74663214560727d3defe82170a99 SHA512 
15956d488a390ab3b4091146bffe6f192f22e7598d00e302c2bcf0ec9728911f48bef3ee4c71d331f58e57aec86292421d27f915ea16027a7f62c5d43f6a12e5
 WHIRLPOOL 
a9246b1ba56ecda5eec42e89998f18da4987f611d1154ba8ef5d3480d398fd77c0fdad6c15614885ae722454b9c284b9281ee926fed0f39c314864a015bf658f

diff --git a/dev-python/astropy/astropy-1.3.ebuild 
b/dev-python/astropy/astropy-1.3.3.ebuild
similarity index 81%
rename from dev-python/astropy/astropy-1.3.ebuild
rename to dev-python/astropy/astropy-1.3.3.ebuild
index 7fa95760a88..923ff494b4b 100644
--- a/dev-python/astropy/astropy-1.3.ebuild
+++ b/dev-python/astropy/astropy-1.3.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1 xdg-utils
 
@@ -24,10 +24,10 @@ RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
>=sci-astronomy/erfa-1.3:0=
>=sci-astronomy/wcslib-5:0=
-   sci-libs/cfitsio:0=
+   >=sci-libs/cfitsio-3.410:0=
sys-libs/zlib:0="
 DEPEND="${RDEPEND}
-   >=dev-python/astropy-helpers-1.1[${PYTHON_USEDEP}]
+   dev-python/astropy-helpers[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
virtual/pkgconfig
@@ -37,25 +37,23 @@ DEPEND="${RDEPEND}
dev-python/h5py[${PYTHON_USEDEP}]
dev-python/jplephem[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP},jpeg]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/sphinx-gallery[${PYTHON_USEDEP}]
-   dev-python/wcsaxes[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
)
test? (
dev-libs/libxml2[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP},jpeg]
dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/pytest-mpl[${PYTHON_USEDEP}]
dev-python/h5py[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
)"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-1.0.4-system-six.patch
-   "${FILESDIR}"/${PN}-1.0.4-system-configobj.patch
-   "${FILESDIR}"/${PN}-1.3-mark-known-failures.patch
-   "${FILESDIR}"/${PN}-1.2.1-cfitsio-338.patch
+   "${FILESDIR}"/${PN}-1.3.3-mark-known-failures.patch
+   "${FILESDIR}"/${PN}-1.3.3-external-python-pkgs.patch
 )
 
 python_prepare_all() {

diff --git a/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch 
b/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch
new file mode 100644
index 000..41796094060
--- /dev/null
+++ b/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch
@@ -0,0 +1,196 @@
+From: Ole Streicher 
+Date: Thu, 12 Jan 2017 11:37:47 +0100
+Subject: Use external python modules instead of convenience copies
+
+---
+ astropy/coordinates/angle_utilities.py |  2 +-
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2017-06-25 Thread Sebastien Fabbro
commit: d89d3d14e866c5c667af88e2dd1d02c3b95ca651
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Fri May 19 17:30:26 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Mon Jun 26 04:16:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89d3d14

dev-python/astropy-helpers: version bump

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/astropy-helpers/Manifest|  1 +
 .../astropy-helpers/astropy-helpers-1.3.1.ebuild   | 23 ++
 2 files changed, 24 insertions(+)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index 57fed4f8e38..b19702aed18 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1,2 +1,3 @@
 DIST astropy-helpers-1.2.tar.gz 134346 SHA256 
623a9efdd1f34ce4fc71effb225bf5b8ff06ff515bd8e6b751aba2c7ff207661 SHA512 
c343b2d8a2f37f8baa94a4920c458b23fe28e5afa812937559cd10c1f6750bacc21aec38b8f52367ec68e2ea3ffeea85125290c32028b3076abebb8f2e7e
 WHIRLPOOL 
528ac9acb02bc03f3af61649be08ecc5cc39c26c7fc408664b38d4b662a64ef5350e6f9127bcbd5c9c8765d196c6b90221e0e192b70c70953d8e6b9dcbfe5aa4
+DIST astropy-helpers-1.3.1.tar.gz 136460 SHA256 
7640c5582e518a3ed2f2b5a209d188f1d5099ab33cc1e861a2c123e0e80c9fcd SHA512 
796e9827a6c29e148474180c9c8f934a51a8ed455991d84a096025ed5d8aecf764a8152a8b24aa1aec6c254b39ca3f13ebfc764717bd0109022b86c384ebaa99
 WHIRLPOOL 
e0091adbc7f081d5a64823443fe1fc58f7d4c1d3d10d0ff6e066f409c70224fd39dcdf0d651261b6a2133a821e1e4dede989c95c79d63fcbf69b9556f73078a8
 DIST astropy-helpers-1.3.tar.gz 136411 SHA256 
8e7410e5045bdccc68a8010624eed4ab0ef019a4fc621cae6eb900f51b107e20 SHA512 
f72a5de8ce1af5f340067bb9e76ccd6dd39195e4f65faf28ee482ef16ecec7e7dfb4cfbb4ec2db333a13bbf34e7f5f968041af807672421419f90f672c599ec4
 WHIRLPOOL 
2354912bbbd9b0ef1d165cea4b1fdaee7f978aebe40086d23d3a9905085fbb6a52dd97807ad8305b7b58269e281c2593b5a3f9c6d426f361c498a94f3cf37cb3

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild
new file mode 100644
index 000..f7e6f1eb6f8
--- /dev/null
+++ b/dev-python/astropy-helpers/astropy-helpers-1.3.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1 xdg-utils
+
+DESCRIPTION="Helpers for Astropy and Affiliated packages"
+HOMEPAGE="https://github.com/astropy/astropy-helpers;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+python_prepare_all() {
+   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
+   xdg_environment_reset
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2017-05-16 Thread Michał Górny
commit: 45cf03f5075d373391f42d692412994289921537
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 16 17:54:17 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 16 17:56:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45cf03f5

dev-python/astropy: Fix typo in python_gen_cond_dep call

 dev-python/astropy/astropy-1.2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/astropy/astropy-1.2.1.ebuild 
b/dev-python/astropy/astropy-1.2.1.ebuild
index 9251cc4f294..2f2c8fcdb9d 100644
--- a/dev-python/astropy/astropy-1.2.1.ebuild
+++ b/dev-python/astropy/astropy-1.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -39,7 +39,7 @@ DEPEND="${RDEPEND}
$(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]' 
python2_7)
$(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' 
python2_7)
$(python_gen_cond_dep 'dev-python/wcsaxes[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 
'sci-libs/scipy[${PYTHON_USEDEP}]'python2_7)
+   $(python_gen_cond_dep 'sci-libs/scipy[${PYTHON_USEDEP}]' 
python2_7)
)
test? (
dev-libs/libxml2[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2017-04-28 Thread Manuel Rüger
commit: ab935b06d9176516cd0581fce5d988ba241774c7
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Apr 28 14:18:02 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Apr 28 14:18:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab935b06

dev-python/astropy-helpers: Add python3_6

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/astropy-helpers/astropy-helpers-1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.3.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.3.ebuild
index 7e0f687462a..f7e6f1eb6f8 100644
--- a/dev-python/astropy-helpers/astropy-helpers-1.3.ebuild
+++ b/dev-python/astropy-helpers/astropy-helpers-1.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1 xdg-utils
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2016-12-29 Thread Sebastien Fabbro
commit: 4bf936bd6670845bcc0f6cc1f5828dbba9d31f69
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Dec 29 19:55:34 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Dec 29 19:56:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bf936bd

dev-python/astropy: fixed for doc generation
Missed dependencies and astropy-helpers local
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=604034

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/astropy/astropy-1.3.ebuild | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/dev-python/astropy/astropy-1.3.ebuild 
b/dev-python/astropy/astropy-1.3.ebuild
index d85184f..8a49c8c 100644
--- a/dev-python/astropy/astropy-1.3.ebuild
+++ b/dev-python/astropy/astropy-1.3.ebuild
@@ -36,9 +36,11 @@ DEPEND="${RDEPEND}
media-gfx/graphviz
dev-libs/libxml2[${PYTHON_USEDEP}]
dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/jplephem[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-gallery[${PYTHON_USEDEP}]
dev-python/wcsaxes[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
)
@@ -60,7 +62,7 @@ PATCHES=(
 python_prepare_all() {
export mydistutilsargs="--offline"
export ASTROPY_USE_SYSTEM_PYTEST=True
-   rm -r ${PN}_helpers || die
+   #rm -r ${PN}_helpers || die
cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
@@ -74,10 +76,13 @@ python_prepare_all() {
 
 python_compile_all() {
if use doc; then
+   mkdir -p examples
+   touch examples/README.txt || die
+   python_setup
VARTEXFONTS="${T}"/fonts \
MPLCONFIGDIR="${BUILD_DIR}" \
PYTHONPATH="${BUILD_DIR}"/lib \
-   esetup.py build_sphinx
+   esetup.py build_docs --no-intersphinx
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2016-12-28 Thread Sebastien Fabbro
commit: 7d40feb8a84cf84975899e76c3cad2c907d9afbe
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Dec 28 22:47:48 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Dec 28 23:44:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d40feb8

dev-python/astropy-helpers: version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/astropy-helpers/Manifest| 2 +-
 .../{astropy-helpers-1.1.2.ebuild => astropy-helpers-1.3.ebuild}   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index cb731bc..57fed4f 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1,2 +1,2 @@
-DIST astropy-helpers-1.1.2.tar.gz 132787 SHA256 
d4ae269f7bb6f41f791334b524e788c37e07787b2a3efe9906da8d30f645824e SHA512 
28fef972c92bd988ef9456292f5f02d12d27d64fa181985fec799ebe23c472cab61ce7bcebb758c46273c2a2e8098b15ae3242b5961bf84f5ffe8e5f91e13ff8
 WHIRLPOOL 
ecbadad319cfb9e2afbb6120230ac24b59cb82e3489be54d63769681ecd22b841f5a1d58fa7ae7e4fd706b5eda761bd30b5a8b647e70205e5fab526384786e14
 DIST astropy-helpers-1.2.tar.gz 134346 SHA256 
623a9efdd1f34ce4fc71effb225bf5b8ff06ff515bd8e6b751aba2c7ff207661 SHA512 
c343b2d8a2f37f8baa94a4920c458b23fe28e5afa812937559cd10c1f6750bacc21aec38b8f52367ec68e2ea3ffeea85125290c32028b3076abebb8f2e7e
 WHIRLPOOL 
528ac9acb02bc03f3af61649be08ecc5cc39c26c7fc408664b38d4b662a64ef5350e6f9127bcbd5c9c8765d196c6b90221e0e192b70c70953d8e6b9dcbfe5aa4
+DIST astropy-helpers-1.3.tar.gz 136411 SHA256 
8e7410e5045bdccc68a8010624eed4ab0ef019a4fc621cae6eb900f51b107e20 SHA512 
f72a5de8ce1af5f340067bb9e76ccd6dd39195e4f65faf28ee482ef16ecec7e7dfb4cfbb4ec2db333a13bbf34e7f5f968041af807672421419f90f672c599ec4
 WHIRLPOOL 
2354912bbbd9b0ef1d165cea4b1fdaee7f978aebe40086d23d3a9905085fbb6a52dd97807ad8305b7b58269e281c2593b5a3f9c6d426f361c498a94f3cf37cb3

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.1.2.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.3.ebuild
similarity index 91%
rename from dev-python/astropy-helpers/astropy-helpers-1.1.2.ebuild
rename to dev-python/astropy-helpers/astropy-helpers-1.3.ebuild
index f7cda01..f5ac3b4 100644
--- a/dev-python/astropy-helpers/astropy-helpers-1.1.2.ebuild
+++ b/dev-python/astropy-helpers/astropy-helpers-1.3.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python2_7 python3_{4,5} )
 
-inherit distutils-r1
+inherit distutils-r1 xdg-utils
 
 DESCRIPTION="Helpers for Astropy and Affiliated packages"
 HOMEPAGE="https://github.com/astropy/astropy-helpers;
@@ -19,5 +19,6 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 python_prepare_all() {
sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
+   xdg_environment_reset
distutils-r1_python_prepare_all
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/files/, dev-python/astropy/

2016-12-28 Thread Sebastien Fabbro
commit: 3c4b373497aeea66ccd19209c3395b306a880c7e
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Dec 28 23:42:26 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Dec 28 23:44:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4b3734

dev-python/astropy: version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/astropy/Manifest|  2 +-
 .../{astropy-1.1.2.ebuild => astropy-1.3.ebuild}   | 37 --
 .../astropy/files/astropy-1.1.2-cfitsio-338.patch  | 35 -
 .../files/astropy-1.1.2-fix-for-pytest-28.patch| 37 --
 .../files/astropy-1.3-mark-known-failures.patch| 84 ++
 5 files changed, 100 insertions(+), 95 deletions(-)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index 6cf0a59..fb18d25 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -1,2 +1,2 @@
-DIST astropy-1.1.2.tar.gz 8059713 SHA256 
6f0d84cd7dfb304bb437dda666406a1d42208c16204043bc920308ff8ffdfad1 SHA512 
b83c4a1415a3eb8c016507705d0d2f22971e4da937bb97953eec08f8f856933d8fa76ce8c536122235b19e7879b16add2e20fd2fee3e488f9b2b4bf1b9f4dbdb
 WHIRLPOOL 
01cdfd33c29f7128e88be3f53b7ecdec37d95ba06acae6ceeba83746e0454aa220396fb00519b30639ac01b5b297fad004488d34856295735e04924d154c4eb9
 DIST astropy-1.2.1.tar.gz 8179665 SHA256 
0d7ef702166f26fed239b59fc12edcd5243ca5bf562a36202fd8c6b0270d6e48 SHA512 
2ef37537a4c6b2ec50a1d898f600978475c9c5d2cb66ba19d06782656e9ddcb4aa6a8e53217e318448cedac45dac0dce0d8cc2fe94cddc15ebb306b3b0794595
 WHIRLPOOL 
d37374f23a0121fdc92fa572facc248f0a571dacb8edcf1a9d0987d6a40287de199262ec01f654bd6ea5aece826e5588d2869558152adffe9ab490fa46f2e36d
+DIST astropy-1.3.tar.gz 8372366 SHA256 
49de3e86482abe24e3cd02c4a30a469ee4b928d5b46ea5f70fa605ff6f9c6d38 SHA512 
1dd667af78be568bd4719d273d432881d7dea03725deb24a045726b315f8e5cd8afac3f6f925867b05c4c7924cd71d7e7d6ae15985a95c7fcc4421e52273983b
 WHIRLPOOL 
2913c195989c2af0a58ab5e675bd41607bb28273265c0a502c8b1d33925994f9127c9a03058b55aabc1b3a8c594e89ddbd2d5fc38c42dd4723998bad01c7bd45

diff --git a/dev-python/astropy/astropy-1.1.2.ebuild 
b/dev-python/astropy/astropy-1.3.ebuild
similarity index 63%
rename from dev-python/astropy/astropy-1.1.2.ebuild
rename to dev-python/astropy/astropy-1.3.ebuild
index c8b61ae..d85184f 100644
--- a/dev-python/astropy/astropy-1.1.2.ebuild
+++ b/dev-python/astropy/astropy-1.3.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python2_7 python3_{4,5} )
 
-inherit distutils-r1
+inherit distutils-r1 xdg-utils
 
 DESCRIPTION="Core functionality for performing astrophysics with Python"
 HOMEPAGE="http://astropy.org/;
@@ -18,12 +18,12 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 RDEPEND="
-   >=dev-libs/expat-2.1.0:0=
+   dev-libs/expat:0=
dev-python/configobj[${PYTHON_USEDEP}]
>=dev-python/numpy-1.10[${PYTHON_USEDEP}]
dev-python/ply[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
-   >=sci-astronomy/erfa-1.2:0=
+   >=sci-astronomy/erfa-1.3:0=
>=sci-astronomy/wcslib-5:0=
sci-libs/cfitsio:0=
sys-libs/zlib:0="
@@ -34,13 +34,13 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
doc? (
media-gfx/graphviz
-   $(python_gen_cond_dep 'dev-libs/libxml2[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'dev-python/h5py[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'dev-python/matplotlib[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 'dev-python/wcsaxes[${PYTHON_USEDEP}]' 
python2_7)
-   $(python_gen_cond_dep 
'sci-libs/scipy[${PYTHON_USEDEP}]'python2_7)
+   dev-libs/libxml2[${PYTHON_USEDEP}]
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/wcsaxes[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
)
test? (
dev-libs/libxml2[${PYTHON_USEDEP}]
@@ -50,20 +50,13 @@ DEPEND="${RDEPEND}
sci-libs/scipy[${PYTHON_USEDEP}]
)"
 
-REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
-
 PATCHES=(
-   "${FILESDIR}/${PN}-1.0.4-system-six.patch"
-   "${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
-   "${FILESDIR}/${PN}-1.1.1-mark-kown-failures.patch"
-   "${FILESDIR}/${PN}-1.1.2-fix-for-pytest-28.patch"
-   "${FILESDIR}/${PN}-1.1.2-cfitsio-338.patch"
+   "${FILESDIR}"/${PN}-1.0.4-system-six.patch
+   "${FILESDIR}"/${PN}-1.0.4-system-configobj.patch
+   "${FILESDIR}"/${PN}-1.3-mark-known-failures.patch
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2016-12-21 Thread Tobias Klausmann
commit: 68ff503964bf71c501d3079bc86e4908b8856c43
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 21 12:39:57 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 21 12:39:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ff5039

dev-python/astropy-helpers-1.2-r0: stable on amd64

Gentoo-Bug: 599854

 dev-python/astropy-helpers/astropy-helpers-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
index f5ac3b4..89bed30 100644
--- a/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
+++ b/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 IUSE=""
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 
 python_prepare_all() {
sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2016-12-21 Thread Tobias Klausmann
commit: 3edf4b8bae29877d03808f4d9e57a5ac4cc8c0cd
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 21 12:39:57 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 21 12:39:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3edf4b8b

dev-python/astropy-1.2.1-r0: stable on amd64

Gentoo-Bug: 599854

 dev-python/astropy/astropy-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/astropy/astropy-1.2.1.ebuild 
b/dev-python/astropy/astropy-1.2.1.ebuild
index 20994e5..b5c281a 100644
--- a/dev-python/astropy/astropy-1.2.1.ebuild
+++ b/dev-python/astropy/astropy-1.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2016-09-01 Thread Sebastien Fabbro
commit: 5579ab102a0ffc76293c4989550bec9d33423751
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Sep  1 15:57:32 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Sep  1 17:00:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5579ab10

dev-python/astropy-helpers: fix xdg sandbox violation (bug #587700)

Package-Manager: portage-2.3.0

 dev-python/astropy-helpers/astropy-helpers-1.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
index f7cda01..f5ac3b4 100644
--- a/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
+++ b/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python2_7 python3_{4,5} )
 
-inherit distutils-r1
+inherit distutils-r1 xdg-utils
 
 DESCRIPTION="Helpers for Astropy and Affiliated packages"
 HOMEPAGE="https://github.com/astropy/astropy-helpers;
@@ -19,5 +19,6 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 python_prepare_all() {
sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
+   xdg_environment_reset
distutils-r1_python_prepare_all
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/, dev-python/astropy/files/

2016-08-31 Thread Sebastien Fabbro
commit: 3403656699bb4587f0dd0399078ab36c30535975
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Aug 31 21:50:28 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Aug 31 23:07:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34036566

dev-python/astropy: version bump. fix also xdg sandboxing issue
Gentoo-Bug: 587700

Package-Manager: portage-2.3.0

 dev-python/astropy/Manifest|  1 +
 dev-python/astropy/astropy-1.2.1.ebuild| 98 ++
 .../astropy/files/astropy-1.2.1-cfitsio-338.patch  | 16 
 3 files changed, 115 insertions(+)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index 2f4f81f..6cf0a59 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -1 +1,2 @@
 DIST astropy-1.1.2.tar.gz 8059713 SHA256 
6f0d84cd7dfb304bb437dda666406a1d42208c16204043bc920308ff8ffdfad1 SHA512 
b83c4a1415a3eb8c016507705d0d2f22971e4da937bb97953eec08f8f856933d8fa76ce8c536122235b19e7879b16add2e20fd2fee3e488f9b2b4bf1b9f4dbdb
 WHIRLPOOL 
01cdfd33c29f7128e88be3f53b7ecdec37d95ba06acae6ceeba83746e0454aa220396fb00519b30639ac01b5b297fad004488d34856295735e04924d154c4eb9
+DIST astropy-1.2.1.tar.gz 8179665 SHA256 
0d7ef702166f26fed239b59fc12edcd5243ca5bf562a36202fd8c6b0270d6e48 SHA512 
2ef37537a4c6b2ec50a1d898f600978475c9c5d2cb66ba19d06782656e9ddcb4aa6a8e53217e318448cedac45dac0dce0d8cc2fe94cddc15ebb306b3b0794595
 WHIRLPOOL 
d37374f23a0121fdc92fa572facc248f0a571dacb8edcf1a9d0987d6a40287de199262ec01f654bd6ea5aece826e5588d2869558152adffe9ab490fa46f2e36d

diff --git a/dev-python/astropy/astropy-1.2.1.ebuild 
b/dev-python/astropy/astropy-1.2.1.ebuild
new file mode 100644
index ..20994e5
--- /dev/null
+++ b/dev-python/astropy/astropy-1.2.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1 xdg-utils
+
+DESCRIPTION="Core functionality for performing astrophysics with Python"
+HOMEPAGE="http://astropy.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+RDEPEND="
+   dev-libs/expat:0=
+   dev-python/configobj[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.10[${PYTHON_USEDEP}]
+   dev-python/ply[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=sci-astronomy/erfa-1.2:0=
+   >=sci-astronomy/wcslib-5:0=
+   sci-libs/cfitsio:0=
+   sys-libs/zlib:0="
+DEPEND="${RDEPEND}
+   >=dev-python/astropy-helpers-1.1[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   virtual/pkgconfig
+   doc? (
+   media-gfx/graphviz
+   $(python_gen_cond_dep 'dev-libs/libxml2[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/h5py[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/matplotlib[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/wcsaxes[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 
'sci-libs/scipy[${PYTHON_USEDEP}]'python2_7)
+   )
+   test? (
+   dev-libs/libxml2[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   )"
+
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.4-system-six.patch"
+   "${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
+   "${FILESDIR}/${PN}-1.1.1-mark-kown-failures.patch"
+   "${FILESDIR}/${PN}-1.2.1-cfitsio-338.patch"
+)
+
+pkg_setup() {
+   use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
+python_prepare_all() {
+   export mydistutilsargs="--offline"
+   export ASTROPY_USE_SYSTEM_PYTEST=True
+   rm -r ${PN}_helpers || die
+   cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
+   rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
+   sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+   cat >> setup.cfg <<-EOF
+   [build]
+   use_system_libraries=1
+   EOF
+   xdg_environment_reset
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   python_setup "python2*"
+   VARTEXFONTS="${T}"/fonts \
+   MPLCONFIGDIR="${BUILD_DIR}" \
+   PYTHONPATH="${BUILD_DIR}"/lib \
+   esetup.py build_sphinx
+   fi
+}
+
+python_test() {

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2016-08-31 Thread Sebastien Fabbro
commit: 932088e23e6ac9fbab0d1c0e32af8743394c7963
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Aug 31 20:41:30 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Aug 31 20:42:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=932088e2

dev-python/astropy-helpers: version bump

Package-Manager: portage-2.3.0

 dev-python/astropy-helpers/Manifest|  1 +
 .../astropy-helpers/astropy-helpers-1.2.ebuild | 23 ++
 2 files changed, 24 insertions(+)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index c9dc3d6..cb731bc 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1 +1,2 @@
 DIST astropy-helpers-1.1.2.tar.gz 132787 SHA256 
d4ae269f7bb6f41f791334b524e788c37e07787b2a3efe9906da8d30f645824e SHA512 
28fef972c92bd988ef9456292f5f02d12d27d64fa181985fec799ebe23c472cab61ce7bcebb758c46273c2a2e8098b15ae3242b5961bf84f5ffe8e5f91e13ff8
 WHIRLPOOL 
ecbadad319cfb9e2afbb6120230ac24b59cb82e3489be54d63769681ecd22b841f5a1d58fa7ae7e4fd706b5eda761bd30b5a8b647e70205e5fab526384786e14
+DIST astropy-helpers-1.2.tar.gz 134346 SHA256 
623a9efdd1f34ce4fc71effb225bf5b8ff06ff515bd8e6b751aba2c7ff207661 SHA512 
c343b2d8a2f37f8baa94a4920c458b23fe28e5afa812937559cd10c1f6750bacc21aec38b8f52367ec68e2ea3ffeea85125290c32028b3076abebb8f2e7e
 WHIRLPOOL 
528ac9acb02bc03f3af61649be08ecc5cc39c26c7fc408664b38d4b662a64ef5350e6f9127bcbd5c9c8765d196c6b90221e0e192b70c70953d8e6b9dcbfe5aa4

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
new file mode 100644
index ..f7cda01
--- /dev/null
+++ b/dev-python/astropy-helpers/astropy-helpers-1.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Helpers for Astropy and Affiliated packages"
+HOMEPAGE="https://github.com/astropy/astropy-helpers;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+python_prepare_all() {
+   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2016-06-09 Thread Sebastien Fabbro
commit: 1750d3847170302c99f0a639088eb397ddfa3d40
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Jun  9 16:15:39 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Jun  9 17:23:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1750d384

dev-python/astropy-helpers: dropping python-3.3 to sync with astropy

Package-Manager: portage-2.3.0_rc1

 dev-python/astropy-helpers/Manifest|  2 --
 .../astropy-helpers/astropy-helpers-1.0.6.ebuild   | 23 --
 .../astropy-helpers/astropy-helpers-1.1.1.ebuild   | 23 --
 .../astropy-helpers/astropy-helpers-1.1.2.ebuild   |  4 ++--
 4 files changed, 2 insertions(+), 50 deletions(-)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index 669744a..c9dc3d6 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1,3 +1 @@
-DIST astropy-helpers-1.0.6.tar.gz 126274 SHA256 
3651a854fafd0184252639775aab9776331f8ae1bbadd920169d6dc1914095e3 SHA512 
c3fa2e329094c5e319b493d2c8889b1158dfdcb8845dc978274a4333167b5069228d9c9ac585e0759b1002776d4597b2a23cf5d276d9c971122919afddb8f277
 WHIRLPOOL 
83467c958a762fb3b045b6e8e168572012ef308b6aaac7f92c5992e5207cd26efb6cbb5ce617e5701ab2c8d23f169af939052dc2bd50195b9163f3a8db5d6b3f
-DIST astropy-helpers-1.1.1.tar.gz 132083 SHA256 
2da74e8e6b08f3c378fc5f863460bc5c45f4f08e47ed2887cff0a26692aadd4b SHA512 
432580de37583b6195b6827dae46516553ceba71bfc038bb609bd59f158f3eb082925dc03f7d9b8ef10d9da68e0d40ee0fa0dc915d72ee0391d58d851a7114bf
 WHIRLPOOL 
a64b950acb452307e2f43206c2ff6d102856c0c60a7d4058a59ab8c82338692fee4e432d7dea78b865dea2401536a101713615079c3a1eafbfb4b8c034f57047
 DIST astropy-helpers-1.1.2.tar.gz 132787 SHA256 
d4ae269f7bb6f41f791334b524e788c37e07787b2a3efe9906da8d30f645824e SHA512 
28fef972c92bd988ef9456292f5f02d12d27d64fa181985fec799ebe23c472cab61ce7bcebb758c46273c2a2e8098b15ae3242b5961bf84f5ffe8e5f91e13ff8
 WHIRLPOOL 
ecbadad319cfb9e2afbb6120230ac24b59cb82e3489be54d63769681ecd22b841f5a1d58fa7ae7e4fd706b5eda761bd30b5a8b647e70205e5fab526384786e14

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.0.6.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.0.6.ebuild
deleted file mode 100644
index ef25606..000
--- a/dev-python/astropy-helpers/astropy-helpers-1.0.6.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
-
-inherit distutils-r1
-
-DESCRIPTION="Helpers for Astropy and Affiliated packages"
-HOMEPAGE="https://github.com/astropy/astropy-helpers;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-KEYWORDS="~amd64 ~x86 ~x86-linux"
-
-python_prepare_all() {
-   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.1.1.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.1.1.ebuild
deleted file mode 100644
index fd68055..000
--- a/dev-python/astropy-helpers/astropy-helpers-1.1.1.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
-
-inherit distutils-r1
-
-DESCRIPTION="Helpers for Astropy and Affiliated packages"
-HOMEPAGE="https://github.com/astropy/astropy-helpers;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-KEYWORDS="~amd64 ~x86 ~x86-linux"
-
-python_prepare_all() {
-   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.1.2.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.1.2.ebuild
index fd68055..f7cda01 100644
--- a/dev-python/astropy-helpers/astropy-helpers-1.1.2.ebuild
+++ b/dev-python/astropy-helpers/astropy-helpers-1.1.2.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
 
 inherit distutils-r1
 
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 IUSE=""
-KEYWORDS="~amd64 ~x86 ~x86-linux"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 python_prepare_all() {
sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/files/, dev-python/astropy/

2016-06-09 Thread Sebastien Fabbro
commit: 63ac55e0f89cd9e634fe37e96176045bed11be29
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Jun  9 16:12:46 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Jun  9 17:23:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ac55e0

dev-python/astropy: force numpy-1.10

Fixing (maybe):
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=585468

Package-Manager: portage-2.3.0_rc1

 dev-python/astropy/Manifest|  2 -
 dev-python/astropy/astropy-1.0.6.ebuild| 89 
 dev-python/astropy/astropy-1.1.1.ebuild| 96 --
 dev-python/astropy/astropy-1.1.2.ebuild|  2 +-
 .../files/astropy-1.0.4-disable_helper.patch   | 14 
 .../files/astropy-1.0.4-system-pytest.patch| 14 
 .../astropy/files/astropy-1.1.1-fix-wcs.patch  | 15 
 7 files changed, 1 insertion(+), 231 deletions(-)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index 3d68604..2f4f81f 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -1,3 +1 @@
-DIST astropy-1.0.6.tar.gz 7632331 SHA256 
1a0190ad420323b9bd8f7b29995a39580d7d59c5329c825bb5abb52e2f7b936d SHA512 
84e02204bc55d3bd6e0e891dc56ab218d1deb65882d5d771b3f80c2a11790f77c103b0c0d5537f1842d98f0d3ded19039c82482c15147edadac89e9707537b40
 WHIRLPOOL 
b20e5c2e3677485eaf22c71c7e3461443d4a92bf7b0e649f5e0153e0b1d46741958e983b743aa30bf07ad971a0c865e53211963653ddf814a5d4362f36f07b02
-DIST astropy-1.1.1.tar.gz 8157305 SHA256 
4d2e7a8bd5191a66d7e1a52beefb4a0b6f496a1e9e8212422613219cb514769f SHA512 
bc3c370da32d5f0098dbfc2808dba9d4d4424d3dcfba4d7ffd84b39569387b79ad93086e10678c259237f9cfe1229725501d0dc4eba51c9d01a4cd8a72024fb4
 WHIRLPOOL 
5b40955f56e6f080ad93b224eabd345565ef9f5e7f5ccb00e2737bd714117bc9b35922a044fe4ccaddb9d30fa72e13dd560577392120bfbd0a9d10c8aaa5aa01
 DIST astropy-1.1.2.tar.gz 8059713 SHA256 
6f0d84cd7dfb304bb437dda666406a1d42208c16204043bc920308ff8ffdfad1 SHA512 
b83c4a1415a3eb8c016507705d0d2f22971e4da937bb97953eec08f8f856933d8fa76ce8c536122235b19e7879b16add2e20fd2fee3e488f9b2b4bf1b9f4dbdb
 WHIRLPOOL 
01cdfd33c29f7128e88be3f53b7ecdec37d95ba06acae6ceeba83746e0454aa220396fb00519b30639ac01b5b297fad004488d34856295735e04924d154c4eb9

diff --git a/dev-python/astropy/astropy-1.0.6.ebuild 
b/dev-python/astropy/astropy-1.0.6.ebuild
deleted file mode 100644
index b5ae9cd..000
--- a/dev-python/astropy/astropy-1.0.6.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
-
-inherit distutils-r1
-
-DESCRIPTION="Core functionality for performing astrophysics with Python"
-HOMEPAGE="http://astropy.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-
-RDEPEND="
-   >=dev-libs/expat-2.1.0:0=
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/ply[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   >=sci-astronomy/erfa-1.2:0=
-   >=sci-astronomy/wcslib-4.25:0=
-   >=sci-libs/cfitsio-3.350:0=
-   sys-libs/zlib:0="
-DEPEND="${RDEPEND}
-   dev-python/astropy-helpers[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   virtual/pkgconfig
-   doc? (
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   media-gfx/graphviz
-   )
-   test? (
-   dev-libs/libxml2[${PYTHON_USEDEP}]
-   dev-python/h5py[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   sci-libs/scipy[${PYTHON_USEDEP}]
-   )"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.0.4-disable_helper.patch"
-   "${FILESDIR}/${PN}-1.0.4-system-six.patch"
-   "${FILESDIR}/${PN}-1.0.4-system-pytest.patch"
-   "${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
-   )
-
-python_prepare_all() {
-   export mydistutilsargs="--offline"
-   rm -r ${PN}_helpers || die
-   cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
-   rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
-   #rm -rvf ${PN}/extern/* || die
-   #{configobj,{six,pytest,configobj}.py} || die
-
-   cat >> setup.cfg <<-EOF
-   
-   [build]
-   use_system_libraries=1
-   EOF
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   if use doc; then
-   python_export_best
-   VARTEXFONTS="${T}"/fonts \
-   MPLCONFIGDIR="${BUILD_DIR}" \
-   PYTHONPATH="${BUILD_DIR}"/lib \
-   esetup.py build_sphinx
-   fi
-}
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/files/, dev-python/astropy/

2016-03-19 Thread Sebastien Fabbro
commit: 74951654691dd578db646dec8591eab10f642667
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Mar 17 18:24:48 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Fri Mar 18 20:10:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74951654

dev-python/astropy: Version bump

Package-Manager: portage-2.2.28

 dev-python/astropy/Manifest|  1 +
 dev-python/astropy/astropy-1.1.2.ebuild| 98 ++
 .../astropy/files/astropy-1.1.2-cfitsio-338.patch  | 35 
 .../files/astropy-1.1.2-fix-for-pytest-28.patch| 37 
 4 files changed, 171 insertions(+)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index f32eecc..3d68604 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -1,2 +1,3 @@
 DIST astropy-1.0.6.tar.gz 7632331 SHA256 
1a0190ad420323b9bd8f7b29995a39580d7d59c5329c825bb5abb52e2f7b936d SHA512 
84e02204bc55d3bd6e0e891dc56ab218d1deb65882d5d771b3f80c2a11790f77c103b0c0d5537f1842d98f0d3ded19039c82482c15147edadac89e9707537b40
 WHIRLPOOL 
b20e5c2e3677485eaf22c71c7e3461443d4a92bf7b0e649f5e0153e0b1d46741958e983b743aa30bf07ad971a0c865e53211963653ddf814a5d4362f36f07b02
 DIST astropy-1.1.1.tar.gz 8157305 SHA256 
4d2e7a8bd5191a66d7e1a52beefb4a0b6f496a1e9e8212422613219cb514769f SHA512 
bc3c370da32d5f0098dbfc2808dba9d4d4424d3dcfba4d7ffd84b39569387b79ad93086e10678c259237f9cfe1229725501d0dc4eba51c9d01a4cd8a72024fb4
 WHIRLPOOL 
5b40955f56e6f080ad93b224eabd345565ef9f5e7f5ccb00e2737bd714117bc9b35922a044fe4ccaddb9d30fa72e13dd560577392120bfbd0a9d10c8aaa5aa01
+DIST astropy-1.1.2.tar.gz 8059713 SHA256 
6f0d84cd7dfb304bb437dda666406a1d42208c16204043bc920308ff8ffdfad1 SHA512 
b83c4a1415a3eb8c016507705d0d2f22971e4da937bb97953eec08f8f856933d8fa76ce8c536122235b19e7879b16add2e20fd2fee3e488f9b2b4bf1b9f4dbdb
 WHIRLPOOL 
01cdfd33c29f7128e88be3f53b7ecdec37d95ba06acae6ceeba83746e0454aa220396fb00519b30639ac01b5b297fad004488d34856295735e04924d154c4eb9

diff --git a/dev-python/astropy/astropy-1.1.2.ebuild 
b/dev-python/astropy/astropy-1.1.2.ebuild
new file mode 100644
index 000..c3bd961
--- /dev/null
+++ b/dev-python/astropy/astropy-1.1.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Core functionality for performing astrophysics with Python"
+HOMEPAGE="http://astropy.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+RDEPEND="
+   >=dev-libs/expat-2.1.0:0=
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/ply[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=sci-astronomy/erfa-1.2:0=
+   >=sci-astronomy/wcslib-5:0=
+   sci-libs/cfitsio:0=
+   sys-libs/zlib:0="
+DEPEND="${RDEPEND}
+   >=dev-python/astropy-helpers-1.1[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   virtual/pkgconfig
+   doc? (
+   media-gfx/graphviz
+   $(python_gen_cond_dep 'dev-libs/libxml2[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/h5py[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/matplotlib[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/wcsaxes[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 
'sci-libs/scipy[${PYTHON_USEDEP}]'python2_7)
+   )
+   test? (
+   dev-libs/libxml2[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   )"
+
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.4-system-six.patch"
+   "${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
+   "${FILESDIR}/${PN}-1.1.1-mark-kown-failures.patch"
+   "${FILESDIR}/${PN}-1.1.2-fix-for-pytest-28.patch"
+   "${FILESDIR}/${PN}-1.1.2-cfitsio-338.patch"
+)
+
+pkg_setup() {
+   use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
+python_prepare_all() {
+   export mydistutilsargs="--offline"
+   export ASTROPY_USE_SYSTEM_PYTEST=True
+   rm -r ${PN}_helpers || die
+   cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
+   rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
+   sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+   cat >> setup.cfg <<-EOF

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2016-02-24 Thread Sebastien Fabbro
commit: ddce0e47c970b3647fc92b97d66f0fbc0a105a1a
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Feb 24 23:09:31 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Feb 24 23:42:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddce0e47

dev-python/astropy: add missing dependencies for documentation building

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=575222

Package-Manager: portage-2.2.27

 dev-python/astropy/astropy-1.1.1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/astropy/astropy-1.1.1.ebuild 
b/dev-python/astropy/astropy-1.1.1.ebuild
index 656fb4a..a006013 100644
--- a/dev-python/astropy/astropy-1.1.1.ebuild
+++ b/dev-python/astropy/astropy-1.1.1.ebuild
@@ -35,7 +35,11 @@ DEPEND="${RDEPEND}
doc? (
$(python_gen_cond_dep 'dev-python/matplotlib[${PYTHON_USEDEP}]' 
python2_7)
$(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-libs/libxml2[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/h5py[${PYTHON_USEDEP}]' 
python2_7)
media-gfx/graphviz
+   $(python_gen_cond_dep 
'sci-libs/scipy[${PYTHON_USEDEP}]'python2_7)
)
test? (
dev-libs/libxml2[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2016-02-23 Thread Sebastien Fabbro
commit: 3f75cba317d5fae3b2035d5b55b68be2e87cff01
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Feb 23 20:41:55 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Tue Feb 23 20:42:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f75cba3

dev-python/astropy: fix for EAPI6 doc building

Documentation build fix, and using newer python-r1 routines.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=575222

Package-Manager: portage-2.2.27

 dev-python/astropy/astropy-1.1.1.ebuild | 14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/dev-python/astropy/astropy-1.1.1.ebuild 
b/dev-python/astropy/astropy-1.1.1.ebuild
index cbe1283..656fb4a 100644
--- a/dev-python/astropy/astropy-1.1.1.ebuild
+++ b/dev-python/astropy/astropy-1.1.1.ebuild
@@ -33,8 +33,8 @@ DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
virtual/pkgconfig
doc? (
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/sphinx[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/matplotlib[${PYTHON_USEDEP}]' 
python2_7)
+   $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' 
python2_7)
media-gfx/graphviz
)
test? (
@@ -45,6 +45,8 @@ DEPEND="${RDEPEND}
sci-libs/scipy[${PYTHON_USEDEP}]
)"
 
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
 PATCHES=(
"${FILESDIR}/${PN}-1.0.4-system-six.patch"
"${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
@@ -52,6 +54,10 @@ PATCHES=(
"${FILESDIR}/${PN}-1.1.1-mark-kown-failures.patch"
 )
 
+pkg_setup() {
+   use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
 python_prepare_all() {
export mydistutilsargs="--offline"
export ASTROPY_USE_SYSTEM_PYTEST=True
@@ -60,17 +66,15 @@ python_prepare_all() {
rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
cat >> setup.cfg <<-EOF
-
[build]
use_system_libraries=1
EOF
-
distutils-r1_python_prepare_all
 }
 
 python_compile_all() {
if use doc; then
-   python_export_best
+   python_setup "python2*"
VARTEXFONTS="${T}"/fonts \
MPLCONFIGDIR="${BUILD_DIR}" \
PYTHONPATH="${BUILD_DIR}"/lib \



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/, dev-python/astropy/files/

2016-02-18 Thread Sebastien Fabbro
commit: 3764c9756bec480696e0ebbb7e9d6421d81da933
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Feb 18 20:10:14 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Feb 18 20:10:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3764c975

dev-python/astropy: version bump

Package-Manager: portage-2.2.27

 dev-python/astropy/Manifest|  2 +-
 dev-python/astropy/astropy-1.1.1.ebuild| 88 +++
 .../astropy/files/astropy-1.1.1-fix-wcs.patch  | 15 
 .../files/astropy-1.1.1-mark-kown-failures.patch   | 99 ++
 4 files changed, 203 insertions(+), 1 deletion(-)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index 461d0b2..f32eecc 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -1,2 +1,2 @@
-DIST astropy-1.0.4.tar.gz 7693852 SHA256 
c64be72f3246ef699d2e0627a757afc0d59701fc9533088a8be0de23e16595a9 SHA512 
5f66f61c93ad88afd2f24fedf96d553688de3c9f2a926dca9b1037ff24b4fd83bd486b870a0abf3c9810ad4e3e902c64f8dfb7f023363d0677e233a21667dfcc
 WHIRLPOOL 
ab10edec3650cc39d82e0f023ab107e5b23e75a03cbf8e24b0e902f3700c78921f86983f89ff533c56d9f4bc3b9d0109d8ee57cd6450ab239845b8a403bc5c26
 DIST astropy-1.0.6.tar.gz 7632331 SHA256 
1a0190ad420323b9bd8f7b29995a39580d7d59c5329c825bb5abb52e2f7b936d SHA512 
84e02204bc55d3bd6e0e891dc56ab218d1deb65882d5d771b3f80c2a11790f77c103b0c0d5537f1842d98f0d3ded19039c82482c15147edadac89e9707537b40
 WHIRLPOOL 
b20e5c2e3677485eaf22c71c7e3461443d4a92bf7b0e649f5e0153e0b1d46741958e983b743aa30bf07ad971a0c865e53211963653ddf814a5d4362f36f07b02
+DIST astropy-1.1.1.tar.gz 8157305 SHA256 
4d2e7a8bd5191a66d7e1a52beefb4a0b6f496a1e9e8212422613219cb514769f SHA512 
bc3c370da32d5f0098dbfc2808dba9d4d4424d3dcfba4d7ffd84b39569387b79ad93086e10678c259237f9cfe1229725501d0dc4eba51c9d01a4cd8a72024fb4
 WHIRLPOOL 
5b40955f56e6f080ad93b224eabd345565ef9f5e7f5ccb00e2737bd714117bc9b35922a044fe4ccaddb9d30fa72e13dd560577392120bfbd0a9d10c8aaa5aa01

diff --git a/dev-python/astropy/astropy-1.1.1.ebuild 
b/dev-python/astropy/astropy-1.1.1.ebuild
new file mode 100644
index 000..cbe1283
--- /dev/null
+++ b/dev-python/astropy/astropy-1.1.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Core functionality for performing astrophysics with Python"
+HOMEPAGE="http://astropy.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+RDEPEND="
+   >=dev-libs/expat-2.1.0:0=
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/ply[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=sci-astronomy/erfa-1.2:0=
+   >=sci-astronomy/wcslib-5:0=
+   >=sci-libs/cfitsio-3.360:0=
+   sys-libs/zlib:0="
+DEPEND="${RDEPEND}
+   >=dev-python/astropy-helpers-1.1[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   virtual/pkgconfig
+   doc? (
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   media-gfx/graphviz
+   )
+   test? (
+   dev-libs/libxml2[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.4-system-six.patch"
+   "${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
+   "${FILESDIR}/${PN}-1.1.1-fix-wcs.patch"
+   "${FILESDIR}/${PN}-1.1.1-mark-kown-failures.patch"
+)
+
+python_prepare_all() {
+   export mydistutilsargs="--offline"
+   export ASTROPY_USE_SYSTEM_PYTEST=True
+   rm -r ${PN}_helpers || die
+   cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
+   rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
+   sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+   cat >> setup.cfg <<-EOF
+
+   [build]
+   use_system_libraries=1
+   EOF
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   python_export_best
+   VARTEXFONTS="${T}"/fonts \
+   MPLCONFIGDIR="${BUILD_DIR}" \
+   PYTHONPATH="${BUILD_DIR}"/lib \
+   esetup.py build_sphinx
+   fi
+}
+
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   use doc && local HTML_DOCS=( docs/_build/html/. )
+   distutils-r1_python_install_all
+}

diff --git a/dev-python/astropy/files/astropy-1.1.1-fix-wcs.patch 

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/files/, dev-python/astropy/

2016-02-18 Thread Sebastien Fabbro
commit: dd405d6fe3d6502c6403a15112e6d924f5913732
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Feb 18 18:50:33 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Feb 18 19:05:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd405d6f

dev-python/astropy: removed old

 dev-python/astropy/astropy-1.0.4.ebuild| 84 --
 .../astropy/files/astropy--system-pytest.patch | 16 -
 2 files changed, 100 deletions(-)

diff --git a/dev-python/astropy/astropy-1.0.4.ebuild 
b/dev-python/astropy/astropy-1.0.4.ebuild
deleted file mode 100644
index a9ca39d..000
--- a/dev-python/astropy/astropy-1.0.4.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="Core functionality for performing astrophysics with Python"
-HOMEPAGE="http://astropy.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-
-RDEPEND="
-   >=dev-libs/expat-2.1.0:0=
-   dev-python/configobj[${PYTHON_USEDEP}]
-   =sci-astronomy/erfa-1.2:0=
-   >=sci-astronomy/wcslib-4.25:0=
-   >=sci-libs/cfitsio-3.350:0=
-   sys-libs/zlib:0="
-DEPEND="${RDEPEND}
-   dev-python/astropy-helpers[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   virtual/pkgconfig
-   doc? (
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   media-gfx/graphviz
-   )
-   test? (
-   dev-libs/libxml2[${PYTHON_USEDEP}]
-   dev-python/h5py[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   sci-libs/scipy[${PYTHON_USEDEP}]
-   )"
-
-PATCHES=(
-   "${FILESDIR}/${P}-disable_helper.patch"
-   "${FILESDIR}/${P}-system-six.patch"
-   "${FILESDIR}/${P}-system-pytest.patch"
-   "${FILESDIR}/${P}-system-configobj.patch"
-   )
-
-python_prepare_all() {
-   export mydistutilsargs="--offline"
-   rm -r ${PN}_helpers || die
-   cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
-   rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
-
-   echo "[build]" >> setup.cfg
-   echo "use_system_libraries=1" >> setup.cfg
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   if use doc; then
-   python_export_best
-   VARTEXFONTS="${T}"/fonts \
-   MPLCONFIGDIR="${BUILD_DIR}" \
-   PYTHONPATH="${BUILD_DIR}"/lib \
-   esetup.py build_sphinx
-   fi
-}
-
-python_test() {
-   esetup.py test
-}
-
-python_install_all() {
-   use doc && local HTML_DOCS=( docs/_build/html/. )
-   distutils-r1_python_install_all
-}

diff --git a/dev-python/astropy/files/astropy--system-pytest.patch 
b/dev-python/astropy/files/astropy--system-pytest.patch
deleted file mode 100644
index 19b321d..000
--- a/dev-python/astropy/files/astropy--system-pytest.patch
+++ /dev/null
@@ -1,16 +0,0 @@
- astropy/tests/helper.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/astropy/tests/helper.py b/astropy/tests/helper.py
-index 97d2617..a75db15 100644
 a/astropy/tests/helper.py
-+++ b/astropy/tests/helper.py
-@@ -42,7 +42,7 @@ __all__ = ['raises', 'enable_deprecations_as_exceptions', 
'remote_data',
-'pickle_protocol', 'generic_recursive_equality_test']
- 
- 
--if os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in sys.modules:
-+if True or os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in 
sys.modules:
- import pytest
- 
- else:



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2016-02-18 Thread Sebastien Fabbro
commit: 4891d388bf9542f597474a17820a64da068fb1ba
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Feb 18 18:25:10 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Feb 18 18:25:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4891d388

dev-python/astropy-helpers: version bump

Package-Manager: portage-2.2.27

 dev-python/astropy-helpers/Manifest|  1 +
 .../astropy-helpers/astropy-helpers-1.1.1.ebuild   | 23 ++
 2 files changed, 24 insertions(+)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index 64deed5..388867c 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1 +1,2 @@
 DIST astropy-helpers-1.0.6.tar.gz 126274 SHA256 
3651a854fafd0184252639775aab9776331f8ae1bbadd920169d6dc1914095e3 SHA512 
c3fa2e329094c5e319b493d2c8889b1158dfdcb8845dc978274a4333167b5069228d9c9ac585e0759b1002776d4597b2a23cf5d276d9c971122919afddb8f277
 WHIRLPOOL 
83467c958a762fb3b045b6e8e168572012ef308b6aaac7f92c5992e5207cd26efb6cbb5ce617e5701ab2c8d23f169af939052dc2bd50195b9163f3a8db5d6b3f
+DIST astropy-helpers-1.1.1.tar.gz 132083 SHA256 
2da74e8e6b08f3c378fc5f863460bc5c45f4f08e47ed2887cff0a26692aadd4b SHA512 
432580de37583b6195b6827dae46516553ceba71bfc038bb609bd59f158f3eb082925dc03f7d9b8ef10d9da68e0d40ee0fa0dc915d72ee0391d58d851a7114bf
 WHIRLPOOL 
a64b950acb452307e2f43206c2ff6d102856c0c60a7d4058a59ab8c82338692fee4e432d7dea78b865dea2401536a101713615079c3a1eafbfb4b8c034f57047

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.1.1.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.1.1.ebuild
new file mode 100644
index 000..fd68055
--- /dev/null
+++ b/dev-python/astropy-helpers/astropy-helpers-1.1.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Helpers for Astropy and Affiliated packages"
+HOMEPAGE="https://github.com/astropy/astropy-helpers;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+
+python_prepare_all() {
+   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2016-02-18 Thread Sebastien Fabbro
commit: e9341fa9f636e76465055a038e7c3d4eeb3a3c55
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Feb 18 18:24:02 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Feb 18 18:24:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9341fa9

dev-python/astropy-helpers: removed old

Package-Manager: portage-2.2.27

 dev-python/astropy-helpers/Manifest|  3 ---
 .../astropy-helpers/astropy-helpers-0.4.1.ebuild   | 23 --
 .../astropy-helpers/astropy-helpers-1.0.3.ebuild   | 23 --
 .../astropy-helpers/astropy-helpers-1.0.5.ebuild   | 23 --
 4 files changed, 72 deletions(-)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index 2274164..64deed5 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1,4 +1 @@
-DIST astropy-helpers-0.4.1.tar.gz 98477 SHA256 
0b4e47e535e7226d8795efb9e9453cac9343759058970a20734e66f443074577 SHA512 
85975268372624bec4024dfbe560ef820bda308db898919c4d29643f10df11636f4996a8ff3f2fb7deece44f88963ddb0c8ca231e030713cf17db7503ceae42e
 WHIRLPOOL 
b37fa02ebe3e750052a9681e1e8a3a0aa9eede1909e69c70e2004ba738139707e1a0c21797681454ee782a6543bc8808b8de574d60aba601d228966c8659bb9f
-DIST astropy-helpers-1.0.3.tar.gz 127177 SHA256 
0733f3081db46ec02faa08595dad9a72d79d0ed73e54fe3404620703d737594d SHA512 
74d4f191290914cf51f91b9cc1a9ed168799a47f586c33505a4ebdef554b7e4cdc90625fbd9b8c9e29b44fc2a988fdf0f50446ce9461017a9755c7ec2a2b1ed4
 WHIRLPOOL 
43a00a990b3caabeeecefac90bbb91e2b42a7f184c66887855ea188b123f0b74125fb9b694e7d503e78dbed720769329b95aaddd17c16d65807113ec7253b448
-DIST astropy-helpers-1.0.5.tar.gz 127951 SHA256 
b872547580861564023f31a201dcb63d5e9f134f47f4224eb3904a6341b42507 SHA512 
31e0c858f126d1e02167faaed2395529ade4e484d0c9c53f809d15de2fda68a4ce9dcd36951546c071d3556feb6f64ca4b0ed5678405af57cb80f3e0cf8de13d
 WHIRLPOOL 
1481eff853e04c94dd95f689c148a68f83cc18d7026f766d2af7d6c4ffc5c0f9eca107c3403b9295f245aed3dea562377ba59cf2bbb303d4653fb4712f6a037c
 DIST astropy-helpers-1.0.6.tar.gz 126274 SHA256 
3651a854fafd0184252639775aab9776331f8ae1bbadd920169d6dc1914095e3 SHA512 
c3fa2e329094c5e319b493d2c8889b1158dfdcb8845dc978274a4333167b5069228d9c9ac585e0759b1002776d4597b2a23cf5d276d9c971122919afddb8f277
 WHIRLPOOL 
83467c958a762fb3b045b6e8e168572012ef308b6aaac7f92c5992e5207cd26efb6cbb5ce617e5701ab2c8d23f169af939052dc2bd50195b9163f3a8db5d6b3f

diff --git a/dev-python/astropy-helpers/astropy-helpers-0.4.1.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-0.4.1.ebuild
deleted file mode 100644
index 509beac..000
--- a/dev-python/astropy-helpers/astropy-helpers-0.4.1.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="Helpers for Astropy and Affiliated packages"
-HOMEPAGE="https://github.com/astropy/astropy-helpers;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-KEYWORDS="~amd64 ~x86 ~x86-linux"
-
-python_prepare_all() {
-   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.0.3.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.0.3.ebuild
deleted file mode 100644
index 509beac..000
--- a/dev-python/astropy-helpers/astropy-helpers-1.0.3.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="Helpers for Astropy and Affiliated packages"
-HOMEPAGE="https://github.com/astropy/astropy-helpers;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-KEYWORDS="~amd64 ~x86 ~x86-linux"
-
-python_prepare_all() {
-   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild
deleted file mode 100644
index ef25606..000
--- a/dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
-
-inherit distutils-r1
-
-DESCRIPTION="Helpers for Astropy and Affiliated packages"
-HOMEPAGE="https://github.com/astropy/astropy-helpers;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-KEYWORDS="~amd64 ~x86 ~x86-linux"
-
-python_prepare_all() {
-   sed -e '/import ah_bootstrap/d' -i 

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2015-12-20 Thread Justin Lecher
commit: aa39bab748b42f68e72a7b0b53d6d03623c2664b
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Dec 20 15:40:56 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Dec 20 16:35:42 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa39bab7

dev-python/astropy-helpers: Version Bump

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy-helpers/Manifest|  1 +
 .../astropy-helpers/astropy-helpers-1.0.6.ebuild   | 23 ++
 2 files changed, 24 insertions(+)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index e882381..2274164 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1,3 +1,4 @@
 DIST astropy-helpers-0.4.1.tar.gz 98477 SHA256 
0b4e47e535e7226d8795efb9e9453cac9343759058970a20734e66f443074577 SHA512 
85975268372624bec4024dfbe560ef820bda308db898919c4d29643f10df11636f4996a8ff3f2fb7deece44f88963ddb0c8ca231e030713cf17db7503ceae42e
 WHIRLPOOL 
b37fa02ebe3e750052a9681e1e8a3a0aa9eede1909e69c70e2004ba738139707e1a0c21797681454ee782a6543bc8808b8de574d60aba601d228966c8659bb9f
 DIST astropy-helpers-1.0.3.tar.gz 127177 SHA256 
0733f3081db46ec02faa08595dad9a72d79d0ed73e54fe3404620703d737594d SHA512 
74d4f191290914cf51f91b9cc1a9ed168799a47f586c33505a4ebdef554b7e4cdc90625fbd9b8c9e29b44fc2a988fdf0f50446ce9461017a9755c7ec2a2b1ed4
 WHIRLPOOL 
43a00a990b3caabeeecefac90bbb91e2b42a7f184c66887855ea188b123f0b74125fb9b694e7d503e78dbed720769329b95aaddd17c16d65807113ec7253b448
 DIST astropy-helpers-1.0.5.tar.gz 127951 SHA256 
b872547580861564023f31a201dcb63d5e9f134f47f4224eb3904a6341b42507 SHA512 
31e0c858f126d1e02167faaed2395529ade4e484d0c9c53f809d15de2fda68a4ce9dcd36951546c071d3556feb6f64ca4b0ed5678405af57cb80f3e0cf8de13d
 WHIRLPOOL 
1481eff853e04c94dd95f689c148a68f83cc18d7026f766d2af7d6c4ffc5c0f9eca107c3403b9295f245aed3dea562377ba59cf2bbb303d4653fb4712f6a037c
+DIST astropy-helpers-1.0.6.tar.gz 126274 SHA256 
3651a854fafd0184252639775aab9776331f8ae1bbadd920169d6dc1914095e3 SHA512 
c3fa2e329094c5e319b493d2c8889b1158dfdcb8845dc978274a4333167b5069228d9c9ac585e0759b1002776d4597b2a23cf5d276d9c971122919afddb8f277
 WHIRLPOOL 
83467c958a762fb3b045b6e8e168572012ef308b6aaac7f92c5992e5207cd26efb6cbb5ce617e5701ab2c8d23f169af939052dc2bd50195b9163f3a8db5d6b3f

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.0.6.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.0.6.ebuild
new file mode 100644
index 000..ef25606
--- /dev/null
+++ b/dev-python/astropy-helpers/astropy-helpers-1.0.6.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Helpers for Astropy and Affiliated packages"
+HOMEPAGE="https://github.com/astropy/astropy-helpers;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+
+python_prepare_all() {
+   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2015-10-23 Thread Justin Lecher
commit: d4296a834101d12e04e9513b825f6dc5c9617587
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Oct 23 08:20:44 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Fri Oct 23 08:45:55 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4296a83

dev-python/astropy: Release Blocker against pyfits

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy/astropy-1.0.5.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/astropy/astropy-1.0.5.ebuild 
b/dev-python/astropy/astropy-1.0.5.ebuild
index efa4090..8b93665 100644
--- a/dev-python/astropy/astropy-1.0.5.ebuild
+++ b/dev-python/astropy/astropy-1.0.5.ebuild
@@ -18,7 +18,6 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 RDEPEND="
-   !dev-python/pyfits
>=dev-libs/expat-2.1.0:0=
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2015-10-23 Thread Justin Lecher
commit: fb8556202e7e7096dd62eb10b5246ff18bbff49b
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Oct 23 09:22:57 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Fri Oct 23 09:23:02 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb855620

dev-python/astropy: Version Bump

* Replace broken version
* fix test calls regarding upstream recommendations

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy/Manifest   | 2 +-
 dev-python/astropy/astropy-1.0.4.ebuild   | 5 ++---
 dev-python/astropy/{astropy-1.0.5.ebuild => astropy-1.0.6.ebuild} | 2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index 4defe46..461d0b2 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -1,2 +1,2 @@
 DIST astropy-1.0.4.tar.gz 7693852 SHA256 
c64be72f3246ef699d2e0627a757afc0d59701fc9533088a8be0de23e16595a9 SHA512 
5f66f61c93ad88afd2f24fedf96d553688de3c9f2a926dca9b1037ff24b4fd83bd486b870a0abf3c9810ad4e3e902c64f8dfb7f023363d0677e233a21667dfcc
 WHIRLPOOL 
ab10edec3650cc39d82e0f023ab107e5b23e75a03cbf8e24b0e902f3700c78921f86983f89ff533c56d9f4bc3b9d0109d8ee57cd6450ab239845b8a403bc5c26
-DIST astropy-1.0.5.tar.gz 7641836 SHA256 
701b7bfef0ab99a2b9d5c4796eb7021d7bbdac19b60ff244c5428e3ea78177d4 SHA512 
fe0e34db1719b9659fc10f453c619d00174fd34956299c14a76dc6497ab83aa0276e21ab9122b38edea3e31583b75575573062bbd20c17d349dbb4d1c0362716
 WHIRLPOOL 
4d699f4f3f3ff1cdbc149985e2a0fc92e16180c64efee95ca68f7c870d6841421bc4d9709fada1a73e7753ac1528ea84a7a619e76cb952a41a538b786c2ee014
+DIST astropy-1.0.6.tar.gz 7632331 SHA256 
1a0190ad420323b9bd8f7b29995a39580d7d59c5329c825bb5abb52e2f7b936d SHA512 
84e02204bc55d3bd6e0e891dc56ab218d1deb65882d5d771b3f80c2a11790f77c103b0c0d5537f1842d98f0d3ded19039c82482c15147edadac89e9707537b40
 WHIRLPOOL 
b20e5c2e3677485eaf22c71c7e3461443d4a92bf7b0e649f5e0153e0b1d46741958e983b743aa30bf07ad971a0c865e53211963653ddf814a5d4362f36f07b02

diff --git a/dev-python/astropy/astropy-1.0.4.ebuild 
b/dev-python/astropy/astropy-1.0.4.ebuild
index 5c4a30e..a9ca39d 100644
--- a/dev-python/astropy/astropy-1.0.4.ebuild
+++ b/dev-python/astropy/astropy-1.0.4.ebuild
@@ -18,10 +18,9 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 RDEPEND="
-   !dev-python/pyfits
>=dev-libs/expat-2.1.0:0=
dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
+   =sci-astronomy/erfa-1.2:0=
@@ -76,7 +75,7 @@ python_compile_all() {
 }
 
 python_test() {
-   py.test -vv -k "not test_web_profile" astropy || die
+   esetup.py test
 }
 
 python_install_all() {

diff --git a/dev-python/astropy/astropy-1.0.5.ebuild 
b/dev-python/astropy/astropy-1.0.6.ebuild
similarity index 97%
rename from dev-python/astropy/astropy-1.0.5.ebuild
rename to dev-python/astropy/astropy-1.0.6.ebuild
index 8b93665..b5ae9cd 100644
--- a/dev-python/astropy/astropy-1.0.5.ebuild
+++ b/dev-python/astropy/astropy-1.0.6.ebuild
@@ -80,7 +80,7 @@ python_compile_all() {
 }
 
 python_test() {
-   py.test -vv -k "not test_web_profile" astropy || die
+   esetup.py test
 }
 
 python_install_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2015-10-22 Thread Justin Lecher
commit: e88223b61382015a06bc238a3ff81b2012d0819c
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Oct 22 08:35:26 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Oct 22 08:35:26 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88223b6

dev-python/astropy: Drop old

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy/Manifest |  4 --
 dev-python/astropy/astropy-0.3.1.ebuild | 65 --
 dev-python/astropy/astropy-0.3.2.ebuild | 65 --
 dev-python/astropy/astropy-0.4.4.ebuild | 70 -
 dev-python/astropy/astropy-0.4.ebuild   | 70 -
 5 files changed, 274 deletions(-)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index b0d7371..4defe46 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -1,6 +1,2 @@
-DIST astropy-0.3.1.tar.gz 6190259 SHA256 
e296b445943c842adc18db2dcbfe6fb1b79d4b95cae0f5bac768fd78f4af30ac SHA512 
f2beacbc49e8d8af93b0fdbc5e6def7de7e854592d73bf84b14e8571cf7688d46c6b62f014be38e793c899c94b5803bf63f695723777dc74fef1da63bd8e14d4
 WHIRLPOOL 
46e377c57536a8a945d212a40179391d4362dc2641ae9ba84e36dbf47a0e4ed4b3a86745a68fb25318a0e1076ba5df719ecf95150f500c2f252cb8d349bb98bf
-DIST astropy-0.3.2.tar.gz 6375740 SHA256 
0b564870f5c198885d9bbb1b3d07e526439303f37c2c654a879d1f9dee270915 SHA512 
f3ec641a6ef31668fbbe4aac6517a442bfca006b4d58a3240aef06833c74c59abdb586658d057ecd1defc616a90e0b82d3e66de26f8d76d945238d443bf82267
 WHIRLPOOL 
551d0cae993e5d494cd4c157c76f8f7352548a0d575533105b5bdff12ac925e3b51c15a704342298292d07f70295a90800af99176591de0297e70c555b38881a
-DIST astropy-0.4.4.tar.gz 6939433 SHA256 
8b2bc2a82b8de48e5ee247c52f20e6d9c32a801e338b3086e9cd39b5219e3389 SHA512 
235cd2a9a48276872fd7bcdfe11a74809fef042b9e2caf9d493c804ac48340793fc1ba542327c2e10a94ac569365d6421544bcc7b7a842b50b638f4abc6ae0b0
 WHIRLPOOL 
b947dbe718f02edd773e32a7922b67d7fba2d74ee06bc262defb5616f9cee5354105a3d5076e0e138cc0faa1fac65256550a63506e2fbb1e5f92a4326be0700f
-DIST astropy-0.4.tar.gz 6906375 SHA256 
bcb16f7e01d74851d43c13a372fd5e240014ae9bc695a87ed2e2693d36581aba SHA512 
661c9a5ea01aa5b38737606df5fdceb1e59cd63d669db01cb18dc20939301b058f5a1696725f25a21f87798fd2457bc96e726c4b52f5bf2473236c0e423e8047
 WHIRLPOOL 
951af517a3d5612be9ed1a23684a48e750521723fb5b982947e0c08a0f80fc53a1adce36d055b47f1374ec28028d08d47a0258570c1b4075448a72f95a2d588a
 DIST astropy-1.0.4.tar.gz 7693852 SHA256 
c64be72f3246ef699d2e0627a757afc0d59701fc9533088a8be0de23e16595a9 SHA512 
5f66f61c93ad88afd2f24fedf96d553688de3c9f2a926dca9b1037ff24b4fd83bd486b870a0abf3c9810ad4e3e902c64f8dfb7f023363d0677e233a21667dfcc
 WHIRLPOOL 
ab10edec3650cc39d82e0f023ab107e5b23e75a03cbf8e24b0e902f3700c78921f86983f89ff533c56d9f4bc3b9d0109d8ee57cd6450ab239845b8a403bc5c26
 DIST astropy-1.0.5.tar.gz 7641836 SHA256 
701b7bfef0ab99a2b9d5c4796eb7021d7bbdac19b60ff244c5428e3ea78177d4 SHA512 
fe0e34db1719b9659fc10f453c619d00174fd34956299c14a76dc6497ab83aa0276e21ab9122b38edea3e31583b75575573062bbd20c17d349dbb4d1c0362716
 WHIRLPOOL 
4d699f4f3f3ff1cdbc149985e2a0fc92e16180c64efee95ca68f7c870d6841421bc4d9709fada1a73e7753ac1528ea84a7a619e76cb952a41a538b786c2ee014

diff --git a/dev-python/astropy/astropy-0.3.1.ebuild 
b/dev-python/astropy/astropy-0.3.1.ebuild
deleted file mode 100644
index 97a5156..000
--- a/dev-python/astropy/astropy-0.3.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_3} )
-
-inherit distutils-r1
-
-DESCRIPTION="Core functionality for performing astrophysics with Python"
-HOMEPAGE="http://astropy.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-
-RDEPEND="
-   dev-libs/expat:0=
-   dev-python/numpy[${PYTHON_USEDEP}]
-   sci-astronomy/erfa:0=
-   sci-astronomy/wcslib:0=
-   >=sci-libs/cfitsio-3.350:0=
-   sys-libs/zlib:0="
-DEPEND="${RDEPEND}
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   virtual/pkgconfig
-   doc? (
-   dev-python/matplotlib
-   dev-python/sphinx
-   media-gfx/graphviz
-   )
-   test? (
-   dev-libs/libxml2
-   dev-python/h5py[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   sci-libs/scipy[${PYTHON_USEDEP}]
-   )"
-
-python_compile() {
-   distutils-r1_python_compile --use-system-libraries
-}
-
-python_compile_all() {
-   if use doc; then
-   python_export_best
-   VARTEXFONTS="${T}"/fonts \
-   MPLCONFIGDIR="${BUILD_DIR}" \
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2015-10-22 Thread Justin Lecher
commit: 4208a457bd50bb4bbe1fc14c63da94ac218a4cc4
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Oct 22 08:41:23 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Oct 22 08:41:23 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4208a457

dev-python/astropy: Properly block dev-python/pyfits

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=537250

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy/astropy-1.0.4.ebuild | 1 +
 dev-python/astropy/astropy-1.0.5.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-python/astropy/astropy-1.0.4.ebuild 
b/dev-python/astropy/astropy-1.0.4.ebuild
index 75b7618..5c4a30e 100644
--- a/dev-python/astropy/astropy-1.0.4.ebuild
+++ b/dev-python/astropy/astropy-1.0.4.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 RDEPEND="
+   !dev-python/pyfits
>=dev-libs/expat-2.1.0:0=
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]

diff --git a/dev-python/astropy/astropy-1.0.5.ebuild 
b/dev-python/astropy/astropy-1.0.5.ebuild
index 8b93665..efa4090 100644
--- a/dev-python/astropy/astropy-1.0.5.ebuild
+++ b/dev-python/astropy/astropy-1.0.5.ebuild
@@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
 RDEPEND="
+   !dev-python/pyfits
>=dev-libs/expat-2.1.0:0=
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2015-10-21 Thread Justin Lecher
commit: f62fa7fd2f8adfd105f48b0a6b2af679461357f3
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Oct 21 14:09:48 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Oct 21 14:09:48 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f62fa7fd

dev-python/astropy: Drop live ebuild

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy/astropy-.ebuild | 89 --
 1 file changed, 89 deletions(-)

diff --git a/dev-python/astropy/astropy-.ebuild 
b/dev-python/astropy/astropy-.ebuild
deleted file mode 100644
index 634d5be..000
--- a/dev-python/astropy/astropy-.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
-
-inherit distutils-r1 git-r3
-
-DESCRIPTION="Core functionality for performing astrophysics with Python"
-HOMEPAGE="http://astropy.org/;
-EGIT_REPO_URI="https://github.com/astropy/astropy.git;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS=""
-IUSE="doc test"
-
-RDEPEND="
-   >=dev-libs/expat-2.1.0:0=
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/ply[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   >=sci-astronomy/erfa-1.2:0=
-   >=sci-astronomy/wcslib-4.25:0=
-   >=sci-libs/cfitsio-3.350:0=
-   sys-libs/zlib:0="
-DEPEND="${RDEPEND}
-   dev-python/astropy-helpers[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   virtual/pkgconfig
-   doc? (
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   media-gfx/graphviz
-   )
-   test? (
-   dev-libs/libxml2[${PYTHON_USEDEP}]
-   dev-python/h5py[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   sci-libs/scipy[${PYTHON_USEDEP}]
-   )"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.0.4-disable_helper.patch"
-   "${FILESDIR}/${PN}-1.0.4-system-six.patch"
-   "${FILESDIR}/${P}-system-pytest.patch"
-   "${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
-   )
-
-python_prepare_all() {
-   export mydistutilsargs="--offline"
-   rm -r ${PN}_helpers || die
-   cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
-   rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
-   #rm -rvf ${PN}/extern/* || die
-   #{configobj,{six,pytest,configobj}.py} || die
-
-   cat >> setup.cfg <<-EOF
-   
-   [build]
-   use_system_libraries=1
-   EOF
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   if use doc; then
-   python_export_best
-   VARTEXFONTS="${T}"/fonts \
-   MPLCONFIGDIR="${BUILD_DIR}" \
-   PYTHONPATH="${BUILD_DIR}"/lib \
-   esetup.py build_sphinx
-   fi
-}
-
-python_test() {
-   py.test -vv -k "not test_web_profile" astropy || die
-}
-
-python_install_all() {
-   use doc && local HTML_DOCS=( docs/_build/html/. )
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/, dev-python/astropy/files/

2015-10-21 Thread Justin Lecher
commit: e0be7fcacfe52147962469b89d6979c34f3ab226
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Oct 21 13:24:50 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Oct 21 13:40:24 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0be7fca

dev-python/astropy: Add python3.5 support

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy/astropy-1.0.5.ebuild  |  2 +-
 .../{astropy-1.0.5.ebuild => astropy-.ebuild}| 10 +-
 .../astropy/files/astropy--system-pytest.patch   | 16 
 3 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/dev-python/astropy/astropy-1.0.5.ebuild 
b/dev-python/astropy/astropy-1.0.5.ebuild
index 3a3666e..8b93665 100644
--- a/dev-python/astropy/astropy-1.0.5.ebuild
+++ b/dev-python/astropy/astropy-1.0.5.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
 inherit distutils-r1
 

diff --git a/dev-python/astropy/astropy-1.0.5.ebuild 
b/dev-python/astropy/astropy-.ebuild
similarity index 90%
copy from dev-python/astropy/astropy-1.0.5.ebuild
copy to dev-python/astropy/astropy-.ebuild
index 3a3666e..634d5be 100644
--- a/dev-python/astropy/astropy-1.0.5.ebuild
+++ b/dev-python/astropy/astropy-.ebuild
@@ -4,17 +4,17 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
-inherit distutils-r1
+inherit distutils-r1 git-r3
 
 DESCRIPTION="Core functionality for performing astrophysics with Python"
 HOMEPAGE="http://astropy.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+EGIT_REPO_URI="https://github.com/astropy/astropy.git;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS=""
 IUSE="doc test"
 
 RDEPEND="
@@ -48,7 +48,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
"${FILESDIR}/${PN}-1.0.4-disable_helper.patch"
"${FILESDIR}/${PN}-1.0.4-system-six.patch"
-   "${FILESDIR}/${PN}-1.0.4-system-pytest.patch"
+   "${FILESDIR}/${P}-system-pytest.patch"
"${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
)
 

diff --git a/dev-python/astropy/files/astropy--system-pytest.patch 
b/dev-python/astropy/files/astropy--system-pytest.patch
new file mode 100644
index 000..19b321d
--- /dev/null
+++ b/dev-python/astropy/files/astropy--system-pytest.patch
@@ -0,0 +1,16 @@
+ astropy/tests/helper.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/astropy/tests/helper.py b/astropy/tests/helper.py
+index 97d2617..a75db15 100644
+--- a/astropy/tests/helper.py
 b/astropy/tests/helper.py
+@@ -42,7 +42,7 @@ __all__ = ['raises', 'enable_deprecations_as_exceptions', 
'remote_data',
+'pickle_protocol', 'generic_recursive_equality_test']
+ 
+ 
+-if os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in sys.modules:
++if True or os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in 
sys.modules:
+ import pytest
+ 
+ else:



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2015-10-19 Thread Justin Lecher
commit: 4807a694b0ee90f7d50aaf4b6131f4775f96bf8b
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Oct 19 12:35:31 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Oct 19 12:47:56 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4807a694

dev-python/astropy-helpers: Add python3.5 support

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild
index 509beac..ef25606 100644
--- a/dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild
+++ b/dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2015-10-19 Thread Justin Lecher
commit: fe495bbc504d4be6b183727ffcad148c40e1f7a1
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Oct 19 12:06:11 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Oct 19 12:06:18 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe495bbc

dev-python/astropy: Version Bump

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy/Manifest |  1 +
 dev-python/astropy/astropy-1.0.5.ebuild | 89 +
 2 files changed, 90 insertions(+)

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index 880a83b..b0d7371 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -3,3 +3,4 @@ DIST astropy-0.3.2.tar.gz 6375740 SHA256 
0b564870f5c198885d9bbb1b3d07e526439303f
 DIST astropy-0.4.4.tar.gz 6939433 SHA256 
8b2bc2a82b8de48e5ee247c52f20e6d9c32a801e338b3086e9cd39b5219e3389 SHA512 
235cd2a9a48276872fd7bcdfe11a74809fef042b9e2caf9d493c804ac48340793fc1ba542327c2e10a94ac569365d6421544bcc7b7a842b50b638f4abc6ae0b0
 WHIRLPOOL 
b947dbe718f02edd773e32a7922b67d7fba2d74ee06bc262defb5616f9cee5354105a3d5076e0e138cc0faa1fac65256550a63506e2fbb1e5f92a4326be0700f
 DIST astropy-0.4.tar.gz 6906375 SHA256 
bcb16f7e01d74851d43c13a372fd5e240014ae9bc695a87ed2e2693d36581aba SHA512 
661c9a5ea01aa5b38737606df5fdceb1e59cd63d669db01cb18dc20939301b058f5a1696725f25a21f87798fd2457bc96e726c4b52f5bf2473236c0e423e8047
 WHIRLPOOL 
951af517a3d5612be9ed1a23684a48e750521723fb5b982947e0c08a0f80fc53a1adce36d055b47f1374ec28028d08d47a0258570c1b4075448a72f95a2d588a
 DIST astropy-1.0.4.tar.gz 7693852 SHA256 
c64be72f3246ef699d2e0627a757afc0d59701fc9533088a8be0de23e16595a9 SHA512 
5f66f61c93ad88afd2f24fedf96d553688de3c9f2a926dca9b1037ff24b4fd83bd486b870a0abf3c9810ad4e3e902c64f8dfb7f023363d0677e233a21667dfcc
 WHIRLPOOL 
ab10edec3650cc39d82e0f023ab107e5b23e75a03cbf8e24b0e902f3700c78921f86983f89ff533c56d9f4bc3b9d0109d8ee57cd6450ab239845b8a403bc5c26
+DIST astropy-1.0.5.tar.gz 7641836 SHA256 
701b7bfef0ab99a2b9d5c4796eb7021d7bbdac19b60ff244c5428e3ea78177d4 SHA512 
fe0e34db1719b9659fc10f453c619d00174fd34956299c14a76dc6497ab83aa0276e21ab9122b38edea3e31583b75575573062bbd20c17d349dbb4d1c0362716
 WHIRLPOOL 
4d699f4f3f3ff1cdbc149985e2a0fc92e16180c64efee95ca68f7c870d6841421bc4d9709fada1a73e7753ac1528ea84a7a619e76cb952a41a538b786c2ee014

diff --git a/dev-python/astropy/astropy-1.0.5.ebuild 
b/dev-python/astropy/astropy-1.0.5.ebuild
new file mode 100644
index 000..3a3666e
--- /dev/null
+++ b/dev-python/astropy/astropy-1.0.5.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Core functionality for performing astrophysics with Python"
+HOMEPAGE="http://astropy.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+RDEPEND="
+   >=dev-libs/expat-2.1.0:0=
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/ply[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=sci-astronomy/erfa-1.2:0=
+   >=sci-astronomy/wcslib-4.25:0=
+   >=sci-libs/cfitsio-3.350:0=
+   sys-libs/zlib:0="
+DEPEND="${RDEPEND}
+   dev-python/astropy-helpers[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   virtual/pkgconfig
+   doc? (
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   media-gfx/graphviz
+   )
+   test? (
+   dev-libs/libxml2[${PYTHON_USEDEP}]
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   )"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.0.4-disable_helper.patch"
+   "${FILESDIR}/${PN}-1.0.4-system-six.patch"
+   "${FILESDIR}/${PN}-1.0.4-system-pytest.patch"
+   "${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
+   )
+
+python_prepare_all() {
+   export mydistutilsargs="--offline"
+   rm -r ${PN}_helpers || die
+   cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
+   rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
+   #rm -rvf ${PN}/extern/* || die
+   #{configobj,{six,pytest,configobj}.py} || die
+
+   cat >> setup.cfg <<-EOF
+   
+   [build]
+   use_system_libraries=1
+   EOF
+
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   python_export_best
+   VARTEXFONTS="${T}"/fonts \
+   MPLCONFIGDIR="${BUILD_DIR}" \
+   PYTHONPATH="${BUILD_DIR}"/lib \
+  

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/

2015-10-19 Thread Justin Lecher
commit: b3398ceb061fd93088ec4f492623b61a1488d901
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Oct 19 07:26:37 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Oct 19 12:06:18 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3398ceb

dev-python/astropy-helpers: Version Bump

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy-helpers/Manifest|  1 +
 .../astropy-helpers/astropy-helpers-1.0.5.ebuild   | 23 ++
 2 files changed, 24 insertions(+)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index 6f175af..e882381 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1,2 +1,3 @@
 DIST astropy-helpers-0.4.1.tar.gz 98477 SHA256 
0b4e47e535e7226d8795efb9e9453cac9343759058970a20734e66f443074577 SHA512 
85975268372624bec4024dfbe560ef820bda308db898919c4d29643f10df11636f4996a8ff3f2fb7deece44f88963ddb0c8ca231e030713cf17db7503ceae42e
 WHIRLPOOL 
b37fa02ebe3e750052a9681e1e8a3a0aa9eede1909e69c70e2004ba738139707e1a0c21797681454ee782a6543bc8808b8de574d60aba601d228966c8659bb9f
 DIST astropy-helpers-1.0.3.tar.gz 127177 SHA256 
0733f3081db46ec02faa08595dad9a72d79d0ed73e54fe3404620703d737594d SHA512 
74d4f191290914cf51f91b9cc1a9ed168799a47f586c33505a4ebdef554b7e4cdc90625fbd9b8c9e29b44fc2a988fdf0f50446ce9461017a9755c7ec2a2b1ed4
 WHIRLPOOL 
43a00a990b3caabeeecefac90bbb91e2b42a7f184c66887855ea188b123f0b74125fb9b694e7d503e78dbed720769329b95aaddd17c16d65807113ec7253b448
+DIST astropy-helpers-1.0.5.tar.gz 127951 SHA256 
b872547580861564023f31a201dcb63d5e9f134f47f4224eb3904a6341b42507 SHA512 
31e0c858f126d1e02167faaed2395529ade4e484d0c9c53f809d15de2fda68a4ce9dcd36951546c071d3556feb6f64ca4b0ed5678405af57cb80f3e0cf8de13d
 WHIRLPOOL 
1481eff853e04c94dd95f689c148a68f83cc18d7026f766d2af7d6c4ffc5c0f9eca107c3403b9295f245aed3dea562377ba59cf2bbb303d4653fb4712f6a037c

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild
new file mode 100644
index 000..509beac
--- /dev/null
+++ b/dev-python/astropy-helpers/astropy-helpers-1.0.5.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Helpers for Astropy and Affiliated packages"
+HOMEPAGE="https://github.com/astropy/astropy-helpers;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+
+python_prepare_all() {
+   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/files/, dev-python/astropy/

2015-09-14 Thread Justin Lecher
commit: 9bfc3cd91fb88333c88bd9b6e2976a64f1bc99e2
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Sep 14 11:39:58 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Sep 14 11:55:54 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bfc3cd9

dev-python/astropy: Version Bump

import patches from fedora for unbundling

Closes gentoo/gentoo#10

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=556884

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy/astropy-1.0.4.ebuild| 31 +++-
 .../files/astropy-1.0.4-system-configobj.patch | 14 ++
 .../files/astropy-1.0.4-system-pytest.patch| 14 ++
 .../astropy/files/astropy-1.0.4-system-six.patch   | 12 +
 dev-python/astropy/files/astropy-ply.py| 58 ++
 5 files changed, 116 insertions(+), 13 deletions(-)

diff --git a/dev-python/astropy/astropy-1.0.4.ebuild 
b/dev-python/astropy/astropy-1.0.4.ebuild
index 88cd6a8..e8700ab 100644
--- a/dev-python/astropy/astropy-1.0.4.ebuild
+++ b/dev-python/astropy/astropy-1.0.4.ebuild
@@ -20,6 +20,8 @@ IUSE="doc test"
 RDEPEND="
>=dev-libs/expat-2.1.0:0=
dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/ply[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
>=sci-astronomy/erfa-1.2:0=
>=sci-astronomy/wcslib-4.25:0=
>=sci-libs/cfitsio-3.350:0=
@@ -42,16 +44,23 @@ DEPEND="${RDEPEND}
sci-libs/scipy[${PYTHON_USEDEP}]
)"
 
-PATCHES=( "${FILESDIR}/${P}-disable_helper.patch" )
+PATCHES=(
+   "${FILESDIR}/${P}-disable_helper.patch"
+   "${FILESDIR}/${P}-system-six.patch"
+   "${FILESDIR}/${P}-system-pytest.patch"
+   "${FILESDIR}/${P}-system-configobj.patch"
+   )
 
 python_prepare_all() {
+   export mydistutilsargs="--offline"
rm -r ${PN}_helpers || die
-   rm -r cextern/*/* || die
-   distutils-r1_python_prepare_all
-}
+   cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
+   rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
+
+   echo "[build]" >> setup.cfg
+   echo "use_system_libraries=1" >> setup.cfg
 
-python_compile() {
-   distutils-r1_python_compile --use-system-libraries --offline
+   distutils-r1_python_prepare_all
 }
 
 python_compile_all() {
@@ -60,19 +69,15 @@ python_compile_all() {
VARTEXFONTS="${T}"/fonts \
MPLCONFIGDIR="${BUILD_DIR}" \
PYTHONPATH="${BUILD_DIR}"/lib \
-   esetup.py build_sphinx --offline
+   esetup.py build_sphinx
fi
 }
 
 python_test() {
-   esetup.py --offline test
-}
-
-python_install() {
-   distutils-r1_python_install --offline --use-system-libraries
+   py.test -vv -k "not test_web_profile" astropy || die
 }
 
 python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
-   distutils-r1_python_install_all --offline
+   distutils-r1_python_install_all
 }

diff --git a/dev-python/astropy/files/astropy-1.0.4-system-configobj.patch 
b/dev-python/astropy/files/astropy-1.0.4-system-configobj.patch
new file mode 100644
index 000..9578c0d
--- /dev/null
+++ b/dev-python/astropy/files/astropy-1.0.4-system-configobj.patch
@@ -0,0 +1,14 @@
+diff -ur astropy-0.4.1/astropy/config/configuration.py 
astropy-0.4.1.configobj/astropy/config/configuration.py
+--- astropy-0.4.1/astropy/config/configuration.py  2014-09-01 
22:41:30.066853605 +0200
 astropy-0.4.1.configobj/astropy/config/configuration.py2014-09-01 
22:40:50.793528942 +0200
+@@ -23,7 +23,8 @@
+ import types
+ from warnings import warn
+ 
+-from ..extern.configobj import configobj, validate
++import configobj
++import validate
+ from ..utils.exceptions import AstropyWarning, AstropyDeprecationWarning
+ from ..utils import find_current_module
+ from ..utils.misc import InheritDocstrings
+

diff --git a/dev-python/astropy/files/astropy-1.0.4-system-pytest.patch 
b/dev-python/astropy/files/astropy-1.0.4-system-pytest.patch
new file mode 100644
index 000..638f7e8
--- /dev/null
+++ b/dev-python/astropy/files/astropy-1.0.4-system-pytest.patch
@@ -0,0 +1,14 @@
+diff -ur astropy-1.0/astropy/tests/helper.py 
astropy-1.0.pytest/astropy/tests/helper.py
+--- astropy-1.0/astropy/tests/helper.py2015-02-18 22:45:32.0 
+0100
 astropy-1.0.pytest/astropy/tests/helper.py 2015-02-19 16:20:28.201778929 
+0100
+@@ -35,8 +35,8 @@
+ AstropyDeprecationWarning,
+ AstropyPendingDeprecationWarning)
+ from ..config import configuration
+-
+-if os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in sys.modules:
++# Modified by Fedora package
++if True or os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in 
sys.modules:
+ import pytest
+ 
+ else:

diff --git 

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/

2015-09-14 Thread Justin Lecher
commit: 2912c351b5c6d36e5d254345ef586cc456228aab
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Sep 14 12:53:25 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Sep 14 12:53:25 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2912c351

dev-python/astropy: Add missing dep

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/astropy/astropy-1.0.4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/astropy/astropy-1.0.4.ebuild 
b/dev-python/astropy/astropy-1.0.4.ebuild
index e8700ab..75b7618 100644
--- a/dev-python/astropy/astropy-1.0.4.ebuild
+++ b/dev-python/astropy/astropy-1.0.4.ebuild
@@ -19,6 +19,7 @@ IUSE="doc test"
 
 RDEPEND="
>=dev-libs/expat-2.1.0:0=
+   dev-python/configobj[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/ply[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy-helpers/, dev-python/astropy/files/, dev-python/astropy/

2015-09-14 Thread Justin Lecher
commit: 7bfadf57996a90c629e9238a0ae292f5dfb77746
Author: Joseph Jon Booker  neoturbine  net>
AuthorDate: Thu Aug 13 23:49:46 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Sep 14 11:55:54 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bfadf57

dev-python/astropy-helpers: Version bump to 1.0.3
dev-python/astropy: Version bump to 1.0.4

Package-Manager: portage-2.2.20.1

 dev-python/astropy-helpers/Manifest|  1 +
 .../astropy-helpers/astropy-helpers-1.0.3.ebuild   | 23 +++
 dev-python/astropy/Manifest|  1 +
 dev-python/astropy/astropy-1.0.4.ebuild| 78 ++
 .../files/astropy-1.0.4-disable_helper.patch   | 14 
 5 files changed, 117 insertions(+)

diff --git a/dev-python/astropy-helpers/Manifest 
b/dev-python/astropy-helpers/Manifest
index 2bae555..6f175af 100644
--- a/dev-python/astropy-helpers/Manifest
+++ b/dev-python/astropy-helpers/Manifest
@@ -1 +1,2 @@
 DIST astropy-helpers-0.4.1.tar.gz 98477 SHA256 
0b4e47e535e7226d8795efb9e9453cac9343759058970a20734e66f443074577 SHA512 
85975268372624bec4024dfbe560ef820bda308db898919c4d29643f10df11636f4996a8ff3f2fb7deece44f88963ddb0c8ca231e030713cf17db7503ceae42e
 WHIRLPOOL 
b37fa02ebe3e750052a9681e1e8a3a0aa9eede1909e69c70e2004ba738139707e1a0c21797681454ee782a6543bc8808b8de574d60aba601d228966c8659bb9f
+DIST astropy-helpers-1.0.3.tar.gz 127177 SHA256 
0733f3081db46ec02faa08595dad9a72d79d0ed73e54fe3404620703d737594d SHA512 
74d4f191290914cf51f91b9cc1a9ed168799a47f586c33505a4ebdef554b7e4cdc90625fbd9b8c9e29b44fc2a988fdf0f50446ce9461017a9755c7ec2a2b1ed4
 WHIRLPOOL 
43a00a990b3caabeeecefac90bbb91e2b42a7f184c66887855ea188b123f0b74125fb9b694e7d503e78dbed720769329b95aaddd17c16d65807113ec7253b448

diff --git a/dev-python/astropy-helpers/astropy-helpers-1.0.3.ebuild 
b/dev-python/astropy-helpers/astropy-helpers-1.0.3.ebuild
new file mode 100644
index 000..509beac
--- /dev/null
+++ b/dev-python/astropy-helpers/astropy-helpers-1.0.3.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Helpers for Astropy and Affiliated packages"
+HOMEPAGE="https://github.com/astropy/astropy-helpers;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+
+python_prepare_all() {
+   sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing 
ah_bootstrap failed"
+   distutils-r1_python_prepare_all
+}

diff --git a/dev-python/astropy/Manifest b/dev-python/astropy/Manifest
index 0f13e61..880a83b 100644
--- a/dev-python/astropy/Manifest
+++ b/dev-python/astropy/Manifest
@@ -2,3 +2,4 @@ DIST astropy-0.3.1.tar.gz 6190259 SHA256 
e296b445943c842adc18db2dcbfe6fb1b79d4b9
 DIST astropy-0.3.2.tar.gz 6375740 SHA256 
0b564870f5c198885d9bbb1b3d07e526439303f37c2c654a879d1f9dee270915 SHA512 
f3ec641a6ef31668fbbe4aac6517a442bfca006b4d58a3240aef06833c74c59abdb586658d057ecd1defc616a90e0b82d3e66de26f8d76d945238d443bf82267
 WHIRLPOOL 
551d0cae993e5d494cd4c157c76f8f7352548a0d575533105b5bdff12ac925e3b51c15a704342298292d07f70295a90800af99176591de0297e70c555b38881a
 DIST astropy-0.4.4.tar.gz 6939433 SHA256 
8b2bc2a82b8de48e5ee247c52f20e6d9c32a801e338b3086e9cd39b5219e3389 SHA512 
235cd2a9a48276872fd7bcdfe11a74809fef042b9e2caf9d493c804ac48340793fc1ba542327c2e10a94ac569365d6421544bcc7b7a842b50b638f4abc6ae0b0
 WHIRLPOOL 
b947dbe718f02edd773e32a7922b67d7fba2d74ee06bc262defb5616f9cee5354105a3d5076e0e138cc0faa1fac65256550a63506e2fbb1e5f92a4326be0700f
 DIST astropy-0.4.tar.gz 6906375 SHA256 
bcb16f7e01d74851d43c13a372fd5e240014ae9bc695a87ed2e2693d36581aba SHA512 
661c9a5ea01aa5b38737606df5fdceb1e59cd63d669db01cb18dc20939301b058f5a1696725f25a21f87798fd2457bc96e726c4b52f5bf2473236c0e423e8047
 WHIRLPOOL 
951af517a3d5612be9ed1a23684a48e750521723fb5b982947e0c08a0f80fc53a1adce36d055b47f1374ec28028d08d47a0258570c1b4075448a72f95a2d588a
+DIST astropy-1.0.4.tar.gz 7693852 SHA256 
c64be72f3246ef699d2e0627a757afc0d59701fc9533088a8be0de23e16595a9 SHA512 
5f66f61c93ad88afd2f24fedf96d553688de3c9f2a926dca9b1037ff24b4fd83bd486b870a0abf3c9810ad4e3e902c64f8dfb7f023363d0677e233a21667dfcc
 WHIRLPOOL 
ab10edec3650cc39d82e0f023ab107e5b23e75a03cbf8e24b0e902f3700c78921f86983f89ff533c56d9f4bc3b9d0109d8ee57cd6450ab239845b8a403bc5c26

diff --git a/dev-python/astropy/astropy-1.0.4.ebuild 
b/dev-python/astropy/astropy-1.0.4.ebuild
new file mode 100644
index 000..88cd6a8
--- /dev/null
+++ b/dev-python/astropy/astropy-1.0.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Core functionality for performing astrophysics with Python"
+HOMEPAGE="http://astropy.org/;