summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-01-17 06:24:19 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-01-17 06:24:19 +0000
commitb2fd75510fe843e4ab7c1104c71945982adaa093 (patch)
tree1205e79ed88cd883a6d83ea8b5151164c96652e1 /dev-python/traitsui
parentVersion bump (diff)
downloadgentoo-2-b2fd75510fe843e4ab7c1104c71945982adaa093.tar.gz
gentoo-2-b2fd75510fe843e4ab7c1104c71945982adaa093.tar.bz2
gentoo-2-b2fd75510fe843e4ab7c1104c71945982adaa093.zip
Version bump
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/traitsui')
-rw-r--r--dev-python/traitsui/ChangeLog9
-rw-r--r--dev-python/traitsui/traitsui-4.1.0.ebuild53
2 files changed, 60 insertions, 2 deletions
diff --git a/dev-python/traitsui/ChangeLog b/dev-python/traitsui/ChangeLog
index f9513a3bc509..54a1a444f689 100644
--- a/dev-python/traitsui/ChangeLog
+++ b/dev-python/traitsui/ChangeLog
@@ -1,6 +1,11 @@
# 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 $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsui/ChangeLog,v 1.2 2012/01/17 06:24:19 bicatali Exp $
+
+*traitsui-4.1.0 (17 Jan 2012)
+
+ 17 Jan 2012; Sébastien Fabbro <bicatali@gentoo.org> +traitsui-4.1.0.ebuild:
+ Version bump
*traitsui-4.0.1 (03 Aug 2011)
diff --git a/dev-python/traitsui/traitsui-4.1.0.ebuild b/dev-python/traitsui/traitsui-4.1.0.ebuild
new file mode 100644
index 000000000000..18e6c97e3c98
--- /dev/null
+++ b/dev-python/traitsui/traitsui-4.1.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsui/traitsui-4.1.0.ebuild,v 1.1 2012/01/17 06:24:19 bicatali Exp $
+
+EAPI=4
+
+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 ~ppc ~ppc64 ~x86"
+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
+ use doc && emake -C docs html
+}
+
+src_test() {
+ VIRTUALX_COMMAND="distutils_src_test" virtualmake
+}
+
+src_install() {
+ find -name "*LICENSE*.txt" -delete
+ distutils_src_install
+
+ use doc && dohtml -r docs/build/html/*
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}