diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-05-31 07:00:30 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-05-31 07:00:30 +0000 |
commit | 4a3b863482cf50398e83f7d8704e22b530f46fee (patch) | |
tree | 3c9779914e24a0510627b7dde43593e866320294 /dev-python/apptools | |
parent | Version Bump on permission of Patrick (diff) | |
download | gentoo-2-4a3b863482cf50398e83f7d8704e22b530f46fee.tar.gz gentoo-2-4a3b863482cf50398e83f7d8704e22b530f46fee.tar.bz2 gentoo-2-4a3b863482cf50398e83f7d8704e22b530f46fee.zip |
Version Bump on permission of Patrick
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/apptools')
-rw-r--r-- | dev-python/apptools/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/apptools/apptools-3.3.2.ebuild | 64 |
2 files changed, 70 insertions, 1 deletions
diff --git a/dev-python/apptools/ChangeLog b/dev-python/apptools/ChangeLog index 8e85e425a91c..c6a620088319 100644 --- a/dev-python/apptools/ChangeLog +++ b/dev-python/apptools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/apptools # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/ChangeLog,v 1.6 2010/03/23 05:08:46 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/ChangeLog,v 1.7 2010/05/31 07:00:30 jlec Exp $ + +*apptools-3.3.2 (31 May 2010) + + 31 May 2010; Justin Lecher <jlec@gentoo.org> +apptools-3.3.2.ebuild: + Version Bump on permission of Patrick *apptools-3.3.1 (21 Mar 2010) diff --git a/dev-python/apptools/apptools-3.3.2.ebuild b/dev-python/apptools/apptools-3.3.2.ebuild new file mode 100644 index 000000000000..9a7951b77ab3 --- /dev/null +++ b/dev-python/apptools/apptools-3.3.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-3.3.2.ebuild,v 1.1 2010/05/31 07:00:30 jlec Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils + +MY_PN="AppTools" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tool Suite application tools" +HOMEPAGE="http://code.enthought.com/projects/app_tools.php" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples" +#IUSE="doc examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/configobj + dev-python/numpy + >=dev-python/envisagecore-3.1.2 + >=dev-python/traitsgui-3.4.0" +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs )" +# Tests require X display. +# test? ( >=dev-python/nose-0.10.3 +# >=dev-python/enthoughtbase-3.0.4 ) +RESTRICT_PYTHON_ABIS="3.*" +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought integrationtests" + +src_prepare() { + sed -i \ + -e "s/self.run_command('build_docs')/pass/" \ + -e "s/setupdocs>=1.0//" \ + setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + "$(PYTHON -f)" setup.py build_docs --formats=html,pdf || die "Generation of documentation failed" + fi +} + +src_install() { + find "${S}" -name "*LICENSE.txt" -delete + distutils_src_install + insinto /usr/share/doc/${PF} + if use doc; then + doins -r build/docs/html || die + doins build/docs/latex/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} |