diff options
Diffstat (limited to 'dev-python/traitsui')
-rw-r--r-- | dev-python/traitsui/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/traitsui/Manifest | 4 | ||||
-rw-r--r-- | dev-python/traitsui/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/traitsui/traitsui-4.0.1.ebuild | 63 |
4 files changed, 89 insertions, 0 deletions
diff --git a/dev-python/traitsui/ChangeLog b/dev-python/traitsui/ChangeLog new file mode 100644 index 0000000..f9513a3 --- /dev/null +++ b/dev-python/traitsui/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/traitsui +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsui/ChangeLog,v 1.1 2011/08/03 23:49:29 bicatali Exp $ + +*traitsui-4.0.1 (03 Aug 2011) + + 03 Aug 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> +traitsui-4.0.1.ebuild, + +metadata.xml: + Initial import + diff --git a/dev-python/traitsui/Manifest b/dev-python/traitsui/Manifest new file mode 100644 index 0000000..1052b12 --- /dev/null +++ b/dev-python/traitsui/Manifest @@ -0,0 +1,4 @@ +DIST traitsui-4.0.1.tar.gz 6579406 RMD160 a4d7c31458f550b7aa39f50dacbd05941b2f9f0e SHA1 0cb4fe4dc76dadbcf9c1f3171ad91ada82c85aa4 SHA256 46b099c16af8a4dfcb55a595ea30f3a08daee007e43d3efb74081246130a35d7 +EBUILD traitsui-4.0.1.ebuild 1531 RMD160 2d76ad4ba2f0d498e3580c69502ef8c4506fcfa3 SHA1 4588991b317dfd45b079518a3894b18084b35658 SHA256 391dfcaa948f4ec16bb298d6d112ffb218cf58f6e941b266c938e74b61c09277 +MISC ChangeLog 358 RMD160 38cde0aa831c289b6a35bae15a08e3b007d924af SHA1 adfaab014501fbefa4dbb1e0edffb70b880ac65d SHA256 62c7ad67b9c505bec618b51a407315178fca01bc377b772344a1065ab964afab +MISC metadata.xml 553 RMD160 9ab0718a8f87ad3a0e12f9fcd54b7b533afc7cc3 SHA1 f41d8c868344db414bafdacdfb192fb96fa25839 SHA256 a9b823871f61b5d0e15378e78eb4edfbb540acbe88553ca90ffd81500d40cbad diff --git a/dev-python/traitsui/metadata.xml b/dev-python/traitsui/metadata.xml new file mode 100644 index 0000000..14d79a6 --- /dev/null +++ b/dev-python/traitsui/metadata.xml @@ -0,0 +1,12 @@ +<?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 traitsui project contains a toolkit-independent GUI abstraction + layer, 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 traitsui and your selected + toolkit and back-end take care of the details of displaying them. +</longdescription> +</pkgmetadata> diff --git a/dev-python/traitsui/traitsui-4.0.1.ebuild b/dev-python/traitsui/traitsui-4.0.1.ebuild new file mode 100644 index 0000000..acf4ee4 --- /dev/null +++ b/dev-python/traitsui/traitsui-4.0.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsui/traitsui-4.0.1.ebuild,v 1.1 2011/08/03 23:49:29 bicatali Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" +DISTUTILS_SRC_TEST="nosetests" + +inherit distutils virtualx + +DESCRIPTION="Enthought Tool Suite: traits-capable user interfaces" +HOMEPAGE="https://github.com/enthought/traitsui http://pypi.python.org/pypi/traitsui" +SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64-linux ~x86-linux" +IUSE="doc examples test" + +RDEPEND="dev-python/pyface + dev-python/traits" +DEPEND="dev-python/setuptools + doc? ( dev-python/sphinx ) + test? ( + ${RDEPEND} + media-fonts/font-cursor-misc + media-fonts/font-misc-misc + )" + +DOCS="docs/*.txt" + +src_compile() { + distutils_src_compile + if use doc; then + einfo "Generation of documentation" + pushd docs > /dev/null + emake html || die "Generation of documentation failed" + popd > /dev/null + fi +} + +src_test() { + VIRTUALX_COMMAND="distutils_src_test" virtualmake +} + +src_install() { + find -name "*LICENSE*.txt" -delete + distutils_src_install + + if use doc; then + pushd docs/build/html > /dev/null + insinto /usr/share/doc/${PF}/html + doins -r [a-z]* _static || die "Installation of documentation failed" + popd > /dev/null + fi + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples || die "Installation of examples failed" + fi +} |