summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-04-03 07:56:26 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-04-03 07:56:26 +0000
commitb6280e1e21e9de6090de87deb2b9973a48a9fbc2 (patch)
treec7921b09386816eb393ef526d844e3eb00f50667 /dev-python/apptools
parentBump (diff)
downloadgentoo-2-b6280e1e21e9de6090de87deb2b9973a48a9fbc2.tar.gz
gentoo-2-b6280e1e21e9de6090de87deb2b9973a48a9fbc2.tar.bz2
gentoo-2-b6280e1e21e9de6090de87deb2b9973a48a9fbc2.zip
Bump
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/apptools')
-rw-r--r--dev-python/apptools/ChangeLog9
-rw-r--r--dev-python/apptools/apptools-4.2.0.ebuild61
2 files changed, 68 insertions, 2 deletions
diff --git a/dev-python/apptools/ChangeLog b/dev-python/apptools/ChangeLog
index aa9d9985083a..5e88bf6839af 100644
--- a/dev-python/apptools/ChangeLog
+++ b/dev-python/apptools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/apptools
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/ChangeLog,v 1.19 2012/12/06 17:28:53 bicatali Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/ChangeLog,v 1.20 2013/04/03 07:56:26 patrick Exp $
+
+*apptools-4.2.0 (03 Apr 2013)
+
+ 03 Apr 2013; Patrick Lauer <patrick@gentoo.org> +apptools-4.2.0.ebuild:
+ Bump
06 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> apptools-4.1.0.ebuild:
Keyword amd64-linux and x86-linux
diff --git a/dev-python/apptools/apptools-4.2.0.ebuild b/dev-python/apptools/apptools-4.2.0.ebuild
new file mode 100644
index 000000000000..cfe2dadfeea5
--- /dev/null
+++ b/dev-python/apptools/apptools-4.2.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-4.2.0.ebuild,v 1.1 2013/04/03 07:56:26 patrick Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils virtualx eutils
+
+DESCRIPTION="Enthought Tool Suite: Application tools"
+HOMEPAGE="http://code.enthought.com/projects/app_tools/ http://pypi.python.org/pypi/apptools"
+SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples test"
+
+RDEPEND="dev-python/configobj
+ dev-python/numpy
+ >=dev-python/traits-4"
+DEPEND="dev-python/setuptools
+ doc? ( dev-python/sphinx )
+ test? (
+ ${RDEPEND}
+ >=dev-python/pyface-4
+ media-fonts/font-cursor-misc
+ media-fonts/font-misc-misc
+ sci-visualization/mayavi
+ )"
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}"/${PN}_test.patch
+}
+
+src_compile() {
+ distutils_src_compile
+ use doc && emake -C docs html
+}
+
+src_test() {
+ VIRTUALX_COMMAND="python_execute_nosetests" \
+ virtualmake -P '${S}/build-${PYTHON_ABI}/lib:${S}'
+}
+
+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
+}