summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-05-31 06:58:00 +0000
committerJustin Lecher <jlec@gentoo.org>2010-05-31 06:58:00 +0000
commit8600ca7539ed74b7f161e16f686036babb05baa3 (patch)
treeb2fb132c25a10e261a31943424f4ee1b32a79e72 /dev-python
parentVersion Bump on permission of Patrick (diff)
downloadgentoo-2-8600ca7539ed74b7f161e16f686036babb05baa3.tar.gz
gentoo-2-8600ca7539ed74b7f161e16f686036babb05baa3.tar.bz2
gentoo-2-8600ca7539ed74b7f161e16f686036babb05baa3.zip
Version Bump on permission of Patrick
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/traitsgui/ChangeLog7
-rw-r--r--dev-python/traitsgui/traitsgui-3.4.0.ebuild63
2 files changed, 69 insertions, 1 deletions
diff --git a/dev-python/traitsgui/ChangeLog b/dev-python/traitsgui/ChangeLog
index 974d9048d6a0..3881c1c243f8 100644
--- a/dev-python/traitsgui/ChangeLog
+++ b/dev-python/traitsgui/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/traitsgui
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/ChangeLog,v 1.6 2010/03/23 05:17:12 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/ChangeLog,v 1.7 2010/05/31 06:58:00 jlec Exp $
+
+*traitsgui-3.4.0 (31 May 2010)
+
+ 31 May 2010; Justin Lecher <jlec@gentoo.org> +traitsgui-3.4.0.ebuild:
+ Version Bump on permission of Patrick
*traitsgui-3.3.0 (21 Mar 2010)
diff --git a/dev-python/traitsgui/traitsgui-3.4.0.ebuild b/dev-python/traitsgui/traitsgui-3.4.0.ebuild
new file mode 100644
index 000000000000..ef4b41e12831
--- /dev/null
+++ b/dev-python/traitsgui/traitsgui-3.4.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/traitsgui-3.4.0.ebuild,v 1.1 2010/05/31 06:58:00 jlec Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+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 wxwidgets"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+
+RDEPEND="
+ >=dev-python/enthoughtbase-3.0.5
+ >=dev-python/traits-${PV}
+ qt4? ( >=dev-python/traitsbackendqt-${PV} )
+ wxwidgets? ( >=dev-python/traitsbackendwx-${PV} )
+ !wxwidgets? ( !qt4? ( >=dev-python/traitsbackendwx-${PV} ) )"
+DEPEND="dev-python/setuptools"
+RESTRICT_PYTHON_ABIS="3.*"
+# test needs X display
+# test? ( >=dev-python/nose-0.10.3
+# >=dev-python/traitsbackendwx-3.2.0 )
+#RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+PYTHON_MODNAME="enthought"
+
+src_prepare() {
+ sed -i \
+ -e "s/self.run_command('build_docs')/pass/" \
+ -e "s/setupdocs>=1.0//" \
+ setup.py || die
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test
+ }
+ python_execute_function testing
+}
+
+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 docs/*.pdf || die
+ fi
+ if use examples; then
+ doins -r examples || die
+ fi
+}