commit:     0f2be1468861a58c4f27f985b70e625247472671
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 22 09:32:04 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Oct 22 09:32:04 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=0f2be146

dev-python/astlib: Fix broken dependency for pyfits and fix usage of 
distutils-r1.eclass

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

 dev-python/astlib/astlib-0.7.0.ebuild | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/dev-python/astlib/astlib-0.7.0.ebuild 
b/dev-python/astlib/astlib-0.7.0.ebuild
index db82947..8640714 100644
--- a/dev-python/astlib/astlib-0.7.0.ebuild
+++ b/dev-python/astlib/astlib-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -25,14 +25,12 @@ DEPEND=""
 RDEPEND="${DEPEND}
        dev-python/matplotlib[${PYTHON_USEDEP}]
        sci-libs/scipy[${PYTHON_USEDEP}]
-       virtual/pyfits[${PYTHON_USEDEP}]"
+       dev-python/astropy[${PYTHON_USEDEP}]"
 
 S="${WORKDIR}/${MYP}"
 
 python_install_all() {
-       use doc && dohtml docs/${MYPN}/*
-       if use examples; then
-               insinto /usr/share/doc/${PF}
-               doins -r examples
-       fi
+       use doc && HTML_DOCS=( docs/${MYPN}/. )
+       use examples && EXAMPLES=( examples/. )
+       distutils-r1_python_install_all
 }

Reply via email to