summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-01-17 06:25:27 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-01-17 06:25:27 +0000
commitcd9a1f745a9bf9fa502d14cd2a4f9e0816f181ca (patch)
tree8ee9e889bd42b639806101c6c1d31e6679974855 /dev-python
parentVersion bump (diff)
downloadgentoo-2-cd9a1f745a9bf9fa502d14cd2a4f9e0816f181ca.tar.gz
gentoo-2-cd9a1f745a9bf9fa502d14cd2a4f9e0816f181ca.tar.bz2
gentoo-2-cd9a1f745a9bf9fa502d14cd2a4f9e0816f181ca.zip
Ebuild clean and EAPI bump
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/etsdevtools/ChangeLog8
-rw-r--r--dev-python/etsdevtools/etsdevtools-4.0.0.ebuild34
2 files changed, 17 insertions, 25 deletions
diff --git a/dev-python/etsdevtools/ChangeLog b/dev-python/etsdevtools/ChangeLog
index 7d99727329b6..e0ac6f32a761 100644
--- a/dev-python/etsdevtools/ChangeLog
+++ b/dev-python/etsdevtools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/etsdevtools
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/ChangeLog,v 1.18 2011/08/03 23:53:21 bicatali Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/ChangeLog,v 1.19 2012/01/17 06:25:27 bicatali Exp $
+
+ 17 Jan 2012; Sébastien Fabbro <bicatali@gentoo.org>
+ etsdevtools-4.0.0.ebuild:
+ Ebuild clean and EAPI bump
*etsdevtools-4.0.0 (03 Aug 2011)
diff --git a/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild b/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild
index b4fb09922e56..431b44fa2383 100644
--- a/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild
+++ b/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild,v 1.1 2011/08/03 23:53:21 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild,v 1.2 2012/01/17 06:25:27 bicatali Exp $
+
+EAPI=4
-EAPI="3"
-PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx
-DESCRIPTION="Enthought Tool Suite: tools to support Python development"
+DESCRIPTION="Enthought Tool Suite: Tools to support Python development"
HOMEPAGE="http://code.enthought.com/projects/dev_tools.php http://pypi.python.org/pypi/etsdevtools"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
@@ -20,12 +20,12 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="doc examples test"
RDEPEND="dev-python/numpy
- >=dev-python/traits-4.0"
+ >=dev-python/traits-4"
DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx )
test? (
${RDEPEND}
- >=dev-python/traitsui-4.0
+ >=dev-python/traitsui-4
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
x11-apps/xhost
@@ -33,13 +33,7 @@ DEPEND="dev-python/setuptools
src_compile() {
distutils_src_compile
-
- if use doc; then
- einfo "Generation of documentation"
- pushd docs > /dev/null
- emake html || die "Generation of documentation failed"
- popd > /dev/null
- fi
+ use doc && emake -C docs html
}
src_test() {
@@ -50,16 +44,10 @@ src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
- if use doc; then
- dodoc docs/*/*.pdf || die "Installation of PDF documentation failed"
- pushd docs/build/html > /dev/null
- insinto /usr/share/doc/${PF}/html
- doins -r [a-z]* _static || die "Installation of documentation failed"
- popd > /dev/null
- fi
+ use doc && dohtml -r docs/build/html/*
if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r examples/* || die "Installation of examples failed"
+ insinto /usr/share/doc/${PF}
+ doins -r examples
fi
}