summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-01-15 10:12:57 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-01-15 10:12:57 +0000
commit14a9fee3078df8a46202afdf9c7ea5c69d22cd0e (patch)
treed61f263eab14f32dbfa5c36aceda7bd263c0be69 /dev-python/traitsgui
parentInitial import (diff)
downloadgentoo-2-14a9fee3078df8a46202afdf9c7ea5c69d22cd0e.tar.gz
gentoo-2-14a9fee3078df8a46202afdf9c7ea5c69d22cd0e.tar.bz2
gentoo-2-14a9fee3078df8a46202afdf9c7ea5c69d22cd0e.zip
Initial import
(Portage version: 2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'dev-python/traitsgui')
-rw-r--r--dev-python/traitsgui/ChangeLog10
-rw-r--r--dev-python/traitsgui/metadata.xml14
-rw-r--r--dev-python/traitsgui/traitsgui-3.0.3.ebuild50
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/traitsgui/ChangeLog b/dev-python/traitsgui/ChangeLog
new file mode 100644
index 000000000000..c419a8149847
--- /dev/null
+++ b/dev-python/traitsgui/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2009/01/15 10:12:57 bicatali Exp $
+
+*traitsgui-3.0.3 (15 Jan 2009)
+
+ 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +traitsgui-3.0.3.ebuild:
+ Initial import
+
diff --git a/dev-python/traitsgui/metadata.xml b/dev-python/traitsgui/metadata.xml
new file mode 100644
index 000000000000..65f5f22cad6a
--- /dev/null
+++ b/dev-python/traitsgui/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <longdescription lang="en">
+ The TraitsGUI project from the Enthought Tool Suite contains a
+ toolkit-independent GUI abstraction layer (known as Pyface), which
+ is used to support the "visualization" features of the Traits
+ package. Thus, you can write code in terms of the Traits API
+ (views, items, editors, etc...), and let TraitsGUI and your
+ selected toolkit and back-end take care of the details of
+ displaying them. You can use Qt or Wx backends.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/traitsgui/traitsgui-3.0.3.ebuild b/dev-python/traitsgui/traitsgui-3.0.3.ebuild
new file mode 100644
index 000000000000..208b3483b57e
--- /dev/null
+++ b/dev-python/traitsgui/traitsgui-3.0.3.ebuild
@@ -0,0 +1,50 @@
+# 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.3.ebuild,v 1.1 2009/01/15 10:12:57 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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+IUSE="doc examples qt4 test wxwindows"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+
+RDEPEND="dev-python/traits
+ qt4? ( dev-python/traitsbackendqt )
+ wxwindows? ( dev-python/traitsbackendwx )"
+
+DEPEND="dev-python/setuptools
+ test? ( >=dev-python/nose-0.10.3 )"
+
+# test needs X display
+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
+}