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

2019-12-28 Thread Mikle Kolyada
commit: b651f33dd30a7180109b345ad80ea40b9bece830
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Dec 28 16:40:10 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Dec 28 16:40:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b651f33d

dev-python/specutils: remove last-rited pkg

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

 dev-python/specutils/Manifest   |  2 --
 dev-python/specutils/metadata.xml   | 17 --
 dev-python/specutils/specutils-0.2.2.ebuild | 52 -
 dev-python/specutils/specutils-0.2.ebuild   | 52 -
 4 files changed, 123 deletions(-)

diff --git a/dev-python/specutils/Manifest b/dev-python/specutils/Manifest
deleted file mode 100644
index 12db535e77b..000
--- a/dev-python/specutils/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST specutils-0.2.2.tar.gz 3349951 BLAKE2B 
d5014908fbd0f3c9a72492109b811998fcf09b721223eb5e1de6921ccc0a2469ac95133e793164ee0352a5b43fb58852e8b7a3f0e55aad34f8c73d0af40f2f4b
 SHA512 
34afeaa33dc529372b926d905024c88786fd622864b35c3d811ce9f99ac26146b13951ed6334e1041c98b0f31ed86e60f21ec9306808b5d52167d9349f139e07
-DIST specutils-0.2.tar.gz 3348219 BLAKE2B 
8189c6a3f1679bcb7c4ed7acadb87239204fadd2e4c62c1e170b5addc043fc1c8dc4fe6c064cafdc76f49f4c91b9f20a0382dcc47bfcbab10ea2a24cf1455d2f
 SHA512 
ac05a795ddf3e690c7f5f7fe1a4b0340b546363ac132ce78bedc6ce364feb7418d896e18302ce391717cc507dbd37de210f5b6dfcfda2c44f9f8e0191619bace

diff --git a/dev-python/specutils/metadata.xml 
b/dev-python/specutils/metadata.xml
deleted file mode 100644
index 45d4e24160e..000
--- a/dev-python/specutils/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-  
-sci-astron...@gentoo.org
-Gentoo Astronomy Project
-  
-  
-specutils is a package to implement utilities and data structures to
-analyse astronomical spectra within python. It extends NDData from Astropy
-into a class with special handling of 1D spectra.
-  
-  
-specutils
-astropy/specutils
-  
-

diff --git a/dev-python/specutils/specutils-0.2.2.ebuild 
b/dev-python/specutils/specutils-0.2.2.ebuild
deleted file mode 100644
index acc3b98219b..000
--- a/dev-python/specutils/specutils-0.2.2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{5,6} )
-inherit distutils-r1
-
-DESCRIPTION="Python package for astronomy spectral operations"
-HOMEPAGE="https://specutils.readthedocs.org/;
-SRC_URI="https://github.com/astropy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-DOCS=( README.rst )
-
-RDEPEND="
-   dev-python/astropy[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/astropy-helpers[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}] )
-   test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-
-python_prepare_all() {
-   sed -i -e '/auto_use/s/True/False/' setup.cfg || die
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   if use doc; then
-   python_setup
-   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/specutils/specutils-0.2.ebuild 
b/dev-python/specutils/specutils-0.2.ebuild
deleted file mode 100644
index 4be2d850afe..000
--- a/dev-python/specutils/specutils-0.2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_5 )
-inherit distutils-r1
-
-DESCRIPTION="Python package for astronomy spectral operations"
-HOMEPAGE="https://specutils.readthedocs.org/;
-SRC_URI="https://github.com/astropy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-DOCS=( README.rst )
-
-RDEPEND="
-   dev-python/astropy[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/astropy-helpers[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}] )
-   test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-
-python_prepare_all() {
- 

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

2018-06-26 Thread Pacho Ramos
commit: 401c4d1de58e1bdaec110f5f65e07b2c2c000537
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Jun 26 17:53:32 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Jun 26 18:09:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=401c4d1d

dev-python/specutils: Support python3.6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

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

diff --git a/dev-python/specutils/specutils-0.2.2.ebuild 
b/dev-python/specutils/specutils-0.2.2.ebuild
index 5e5b599b61c..a1e1db53d9d 100644
--- a/dev-python/specutils/specutils-0.2.2.ebuild
+++ b/dev-python/specutils/specutils-0.2.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 inherit distutils-r1
 
 DESCRIPTION="Python package for astronomy spectral operations"



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

2016-09-01 Thread Sebastien Fabbro
commit: c3ab5ece8caaf00fcfc5a822bb5b5582326253a3
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Sep  1 17:15:28 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Sep  1 18:03:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ab5ece

dev-python/specutils: version bump

Package-Manager: portage-2.3.0

 dev-python/specutils/Manifest   |  1 +
 dev-python/specutils/specutils-0.2.2.ebuild | 52 +
 2 files changed, 53 insertions(+)

diff --git a/dev-python/specutils/Manifest b/dev-python/specutils/Manifest
index d7c90f1..3be3578 100644
--- a/dev-python/specutils/Manifest
+++ b/dev-python/specutils/Manifest
@@ -1 +1,2 @@
+DIST specutils-0.2.2.tar.gz 3349951 SHA256 
85dba626e4ea2750eadb65e0a16147bc33e174f68e412c5d53688560e0e3f6f7 SHA512 
34afeaa33dc529372b926d905024c88786fd622864b35c3d811ce9f99ac26146b13951ed6334e1041c98b0f31ed86e60f21ec9306808b5d52167d9349f139e07
 WHIRLPOOL 
fb177acb76f53314db1c786ad5811861553254939d9568d7acbef774e877a7a085943f99b956a32fd5b378905e19258d6000d437c4c56230bd31b9dd70d82a65
 DIST specutils-0.2.tar.gz 3348219 SHA256 
e232013a0615105b07a388be1a5faca2b26a71ee19dcf454508229188356df98 SHA512 
ac05a795ddf3e690c7f5f7fe1a4b0340b546363ac132ce78bedc6ce364feb7418d896e18302ce391717cc507dbd37de210f5b6dfcfda2c44f9f8e0191619bace
 WHIRLPOOL 
885e8060519842652d845a5afb69fecea5768ba00d7e05877e31349a546ad80b36a132fb0e4ca6ae82b8eb9a7c49dc5180baaf245051c62f3776c74f060f35ca

diff --git a/dev-python/specutils/specutils-0.2.2.ebuild 
b/dev-python/specutils/specutils-0.2.2.ebuild
new file mode 100644
index ..0044337
--- /dev/null
+++ b/dev-python/specutils/specutils-0.2.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+inherit distutils-r1
+
+DESCRIPTION="Python package for astronomy spectral operations"
+HOMEPAGE="https://specutils.readthedocs.org/;
+SRC_URI="https://github.com/astropy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc test"
+DOCS=( README.rst )
+
+RDEPEND="
+   dev-python/astropy[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/astropy-helpers[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+   sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   python_setup
+   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
+}



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

2016-06-09 Thread Sebastien Fabbro
commit: dc08b1fafff94981b05e2a4c552f61f6224cc204
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Jun  9 17:17:06 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Jun  9 17:23:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc08b1fa

dev-python/specutils: remove old

Package-Manager: portage-2.3.0_rc1

 dev-python/specutils/Manifest |  1 -
 dev-python/specutils/specutils-0.1.ebuild | 52 ---
 2 files changed, 53 deletions(-)

diff --git a/dev-python/specutils/Manifest b/dev-python/specutils/Manifest
index f2d26c2..d7c90f1 100644
--- a/dev-python/specutils/Manifest
+++ b/dev-python/specutils/Manifest
@@ -1,2 +1 @@
-DIST specutils-0.1.tar.gz 3494885 SHA256 
b7df818eb3e41ea01e00db1ac470e9c2f24adabfb131d57d53b4c792accea1cd SHA512 
43e67c56d77bb06a1a96674755d843ba89d6da7b887f5fef8f2c190487c0a802631c9b782ca58b27216d449ee47353e9c0bf5a9cd73c2db4e5fb683f68a9c6c4
 WHIRLPOOL 
252ecab3688b26078e3b9da570c6ba5e7a137e7b5f9598074487ccec32f5c9ee7c3424afb5426c7a9b5ce6ed9d2a0825db3263882b43918a67bd24dfa05f03d1
 DIST specutils-0.2.tar.gz 3348219 SHA256 
e232013a0615105b07a388be1a5faca2b26a71ee19dcf454508229188356df98 SHA512 
ac05a795ddf3e690c7f5f7fe1a4b0340b546363ac132ce78bedc6ce364feb7418d896e18302ce391717cc507dbd37de210f5b6dfcfda2c44f9f8e0191619bace
 WHIRLPOOL 
885e8060519842652d845a5afb69fecea5768ba00d7e05877e31349a546ad80b36a132fb0e4ca6ae82b8eb9a7c49dc5180baaf245051c62f3776c74f060f35ca

diff --git a/dev-python/specutils/specutils-0.1.ebuild 
b/dev-python/specutils/specutils-0.1.ebuild
deleted file mode 100644
index 232185c..000
--- a/dev-python/specutils/specutils-0.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-inherit distutils-r1
-
-DESCRIPTION="Python package for astronomy spectral operations"
-HOMEPAGE="https://photutils.readthedocs.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc test"
-DOCS=( README.rst )
-
-RDEPEND="
-   dev-python/astropy[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/astropy-helpers[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}] )
-   test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-
-python_prepare_all() {
-   sed -i -e '/auto_use/s/True/False/' setup.cfg || die
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   if use doc; then
-   python_setup
-   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
-}



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

2016-04-04 Thread Sebastien Fabbro
commit: 2638a7c9ff08bb39411c9b12c2bfc14d100def4e
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Mon Apr  4 19:15:37 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Mon Apr  4 19:40:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2638a7c9

dev-python/specutils: Version bump

Package-Manager: portage-2.2.28

 dev-python/specutils/Manifest |  1 +
 dev-python/specutils/specutils-0.2.ebuild | 52 +++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/specutils/Manifest b/dev-python/specutils/Manifest
index 74582b55..f2d26c2 100644
--- a/dev-python/specutils/Manifest
+++ b/dev-python/specutils/Manifest
@@ -1 +1,2 @@
 DIST specutils-0.1.tar.gz 3494885 SHA256 
b7df818eb3e41ea01e00db1ac470e9c2f24adabfb131d57d53b4c792accea1cd SHA512 
43e67c56d77bb06a1a96674755d843ba89d6da7b887f5fef8f2c190487c0a802631c9b782ca58b27216d449ee47353e9c0bf5a9cd73c2db4e5fb683f68a9c6c4
 WHIRLPOOL 
252ecab3688b26078e3b9da570c6ba5e7a137e7b5f9598074487ccec32f5c9ee7c3424afb5426c7a9b5ce6ed9d2a0825db3263882b43918a67bd24dfa05f03d1
+DIST specutils-0.2.tar.gz 3348219 SHA256 
e232013a0615105b07a388be1a5faca2b26a71ee19dcf454508229188356df98 SHA512 
ac05a795ddf3e690c7f5f7fe1a4b0340b546363ac132ce78bedc6ce364feb7418d896e18302ce391717cc507dbd37de210f5b6dfcfda2c44f9f8e0191619bace
 WHIRLPOOL 
885e8060519842652d845a5afb69fecea5768ba00d7e05877e31349a546ad80b36a132fb0e4ca6ae82b8eb9a7c49dc5180baaf245051c62f3776c74f060f35ca

diff --git a/dev-python/specutils/specutils-0.2.ebuild 
b/dev-python/specutils/specutils-0.2.ebuild
new file mode 100644
index 000..0044337
--- /dev/null
+++ b/dev-python/specutils/specutils-0.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+inherit distutils-r1
+
+DESCRIPTION="Python package for astronomy spectral operations"
+HOMEPAGE="https://specutils.readthedocs.org/;
+SRC_URI="https://github.com/astropy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc test"
+DOCS=( README.rst )
+
+RDEPEND="
+   dev-python/astropy[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/astropy-helpers[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+   sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   python_setup
+   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
+}



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

2016-03-18 Thread Sebastien Fabbro
commit: cb509e670bda8bf0506fbc86abe7a38155e274b0
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Mar 17 21:06:49 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Fri Mar 18 20:10:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb509e67

dev-python/specutils: initial import

Package-Manager: portage-2.2.28

 dev-python/specutils/Manifest |  1 +
 dev-python/specutils/metadata.xml | 17 ++
 dev-python/specutils/specutils-0.1.ebuild | 52 +++
 3 files changed, 70 insertions(+)

diff --git a/dev-python/specutils/Manifest b/dev-python/specutils/Manifest
new file mode 100644
index 000..74582b55
--- /dev/null
+++ b/dev-python/specutils/Manifest
@@ -0,0 +1 @@
+DIST specutils-0.1.tar.gz 3494885 SHA256 
b7df818eb3e41ea01e00db1ac470e9c2f24adabfb131d57d53b4c792accea1cd SHA512 
43e67c56d77bb06a1a96674755d843ba89d6da7b887f5fef8f2c190487c0a802631c9b782ca58b27216d449ee47353e9c0bf5a9cd73c2db4e5fb683f68a9c6c4
 WHIRLPOOL 
252ecab3688b26078e3b9da570c6ba5e7a137e7b5f9598074487ccec32f5c9ee7c3424afb5426c7a9b5ce6ed9d2a0825db3263882b43918a67bd24dfa05f03d1

diff --git a/dev-python/specutils/metadata.xml 
b/dev-python/specutils/metadata.xml
new file mode 100644
index 000..45d4e24
--- /dev/null
+++ b/dev-python/specutils/metadata.xml
@@ -0,0 +1,17 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+sci-astron...@gentoo.org
+Gentoo Astronomy Project
+  
+  
+specutils is a package to implement utilities and data structures to
+analyse astronomical spectra within python. It extends NDData from Astropy
+into a class with special handling of 1D spectra.
+  
+  
+specutils
+astropy/specutils
+  
+

diff --git a/dev-python/specutils/specutils-0.1.ebuild 
b/dev-python/specutils/specutils-0.1.ebuild
new file mode 100644
index 000..232185c
--- /dev/null
+++ b/dev-python/specutils/specutils-0.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+inherit distutils-r1
+
+DESCRIPTION="Python package for astronomy spectral operations"
+HOMEPAGE="https://photutils.readthedocs.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc test"
+DOCS=( README.rst )
+
+RDEPEND="
+   dev-python/astropy[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/astropy-helpers[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}] )
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+   sed -i -e '/auto_use/s/True/False/' setup.cfg || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   python_setup
+   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
+}