diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-03-27 10:49:37 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-03-27 10:49:37 +0000 |
commit | e1677132e4aafd7cadc0bd5473ce69e439d3a825 (patch) | |
tree | fa6096149a460ae4866a99985977740e03de45b0 /dev-python/traitsgui | |
parent | Version bump (diff) | |
download | gentoo-2-e1677132e4aafd7cadc0bd5473ce69e439d3a825.tar.gz gentoo-2-e1677132e4aafd7cadc0bd5473ce69e439d3a825.tar.bz2 gentoo-2-e1677132e4aafd7cadc0bd5473ce69e439d3a825.zip |
Version bump
(Portage version: 2.2_rc26/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/traitsgui')
-rw-r--r-- | dev-python/traitsgui/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/traitsgui/traitsgui-3.0.4.ebuild | 52 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-python/traitsgui/ChangeLog b/dev-python/traitsgui/ChangeLog index eec5998e5470..602da28fbfcf 100644 --- a/dev-python/traitsgui/ChangeLog +++ b/dev-python/traitsgui/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/traitsgui # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/ChangeLog,v 1.2 2009/02/25 12:03:17 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/ChangeLog,v 1.3 2009/03/27 10:49:37 bicatali Exp $ + +*traitsgui-3.0.4 (27 Mar 2009) + + 27 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org> + +traitsgui-3.0.4.ebuild: + Version bump 25 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org> traitsgui-3.0.3.ebuild: diff --git a/dev-python/traitsgui/traitsgui-3.0.4.ebuild b/dev-python/traitsgui/traitsgui-3.0.4.ebuild new file mode 100644 index 000000000000..c77d95ba499a --- /dev/null +++ b/dev-python/traitsgui/traitsgui-3.0.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/traitsgui-3.0.4.ebuild,v 1.1 2009/03/27 10:49:37 bicatali Exp $ + +EAPI=2 +inherit distutils + +MY_PN="TraitsGUI" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Traits-capable windowing framework" +HOMEPAGE="http://code.enthought.com/projects/traits_gui" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples qt4 test wxwindows" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/traits-3.1 + qt4? ( >=dev-python/traitsbackendqt-3.1 ) + wxwindows? ( >=dev-python/traitsbackendwx-3.1 ) + !wxwindows? ( !qt4? ( >=dev-python/traitsbackendwx-3.1 ) )" + +DEPEND="dev-python/setuptools" +# test needs X display +# test? ( >=dev-python/nose-0.10.3 +# >=dev-python/traitsbackendwx-3.1 ) +RESTRICT=test + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_test() { + PYTHONPATH=build/lib "${python}" setup.py test || die "tests failed" +} + +src_install() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_install + insinto /usr/share/doc/${PF} + if use doc; then + doins -r docs/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} |