diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-18 12:40:58 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-18 12:40:58 +0000 |
commit | 276261962a7baef6841b99865f9987984b593551 (patch) | |
tree | 440636379fb0a646885b64ca71da250705f03560 /dev-python/enthoughtbase | |
parent | Add call to die(). (diff) | |
download | gentoo-2-276261962a7baef6841b99865f9987984b593551.tar.gz gentoo-2-276261962a7baef6841b99865f9987984b593551.tar.bz2 gentoo-2-276261962a7baef6841b99865f9987984b593551.zip |
Version bump.
(Portage version: 2.2_rc98/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/enthoughtbase')
-rw-r--r-- | dev-python/enthoughtbase/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/enthoughtbase/enthoughtbase-3.0.6.ebuild | 76 |
2 files changed, 83 insertions, 1 deletions
diff --git a/dev-python/enthoughtbase/ChangeLog b/dev-python/enthoughtbase/ChangeLog index 2972ad38acee..834582009a68 100644 --- a/dev-python/enthoughtbase/ChangeLog +++ b/dev-python/enthoughtbase/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/enthoughtbase # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/ChangeLog,v 1.16 2010/10/15 20:48:33 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/ChangeLog,v 1.17 2010/10/18 12:40:58 arfrever Exp $ + +*enthoughtbase-3.0.6 (18 Oct 2010) + + 18 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +enthoughtbase-3.0.6.ebuild: + Version bump. 15 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> -enthoughtbase-3.0.3.ebuild, -enthoughtbase-3.0.4.ebuild: diff --git a/dev-python/enthoughtbase/enthoughtbase-3.0.6.ebuild b/dev-python/enthoughtbase/enthoughtbase-3.0.6.ebuild new file mode 100644 index 000000000000..19b21b5041c8 --- /dev/null +++ b/dev-python/enthoughtbase/enthoughtbase-3.0.6.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.6.ebuild,v 1.1 2010/10/18 12:40:58 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils virtualx + +MY_PN="EnthoughtBase" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Core packages for the Enthought Tool Suite" +HOMEPAGE="http://code.enthought.com/projects/enthought_base.php http://pypi.python.org/pypi/EnthoughtBase" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +LICENSE="BSD LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" + +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs ) + test? ( + dev-python/etsdevtools + >=dev-python/nose-0.10.3 + dev-python/traits + media-fonts/font-cursor-misc + media-fonts/font-misc-misc + x11-apps/xhost + )" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + distutils_src_prepare + + sed \ + -e "s/self.run_command('build_docs')/pass/" \ + -e "/setupdocs>=1.0/d" \ + -i setup.py || die "sed setup.py failed" +} + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + export VARTEXFONTS="${T}/fonts" + "$(PYTHON -f)" setup.py build_docs --formats=html,pdf || die "Generation of documentation failed" + fi +} + +src_test() { + maketype="distutils_src_test" virtualmake +} + +src_install() { + find "${S}" -name "*LICENSE.txt" -delete + distutils_src_install + dodoc docs/*.txt + 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 +} |