summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-03-23 05:20:06 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-03-23 05:20:06 +0000
commit97bf22aaf1790bae1450f09a9fd8a2b9f9e78f89 (patch)
tree53bb530c50b4eb5a4221b7a60345ae6e2c6ea665 /dev-python/enable
parentVersion bump (diff)
downloadhistorical-97bf22aaf1790bae1450f09a9fd8a2b9f9e78f89.tar.gz
historical-97bf22aaf1790bae1450f09a9fd8a2b9f9e78f89.tar.bz2
historical-97bf22aaf1790bae1450f09a9fd8a2b9f9e78f89.zip
Version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-python/enable')
-rw-r--r--dev-python/enable/ChangeLog7
-rw-r--r--dev-python/enable/enable-3.3.0.ebuild68
2 files changed, 74 insertions, 1 deletions
diff --git a/dev-python/enable/ChangeLog b/dev-python/enable/ChangeLog
index 67b31eb2d761..4218d0296074 100644
--- a/dev-python/enable/ChangeLog
+++ b/dev-python/enable/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/enable
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v 1.4 2010/03/16 19:15:12 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v 1.5 2010/03/23 05:10:59 bicatali Exp $
+
+*enable-3.3.0 (21 Mar 2010)
+
+ 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> +enable-3.3.0.ebuild:
+ Version bump
16 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> -enable-3.1.0.ebuild:
Removed old
diff --git a/dev-python/enable/enable-3.3.0.ebuild b/dev-python/enable/enable-3.3.0.ebuild
new file mode 100644
index 000000000000..bbb465ddd3a6
--- /dev/null
+++ b/dev-python/enable/enable-3.3.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/enable-3.3.0.ebuild,v 1.1 2010/03/23 05:10:59 bicatali Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
+
+MY_PN="Enable"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Enthought Tool Suite drawing and interaction GUI objects"
+HOMEPAGE="http://code.enthought.com/projects/enable"
+SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
+
+IUSE="examples"
+#IUSE="examples test"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+
+RDEPEND="dev-python/numpy
+ dev-python/reportlab
+ >=dev-python/traitsgui-3.3.0
+ >=media-libs/freetype-2
+ virtual/glu
+ x11-libs/libX11"
+
+DEPEND="dev-python/setuptools
+ dev-python/numpy
+ >=media-libs/freetype-2
+ virtual/glu
+ x11-libs/libX11
+ dev-lang/swig
+ dev-python/pyrex"
+RESTRICT_PYTHON_ABIS="3.*"
+# tests need X with wxpython
+# test? ( >=dev-python/nose-0.10.3
+# >=dev-python/enthoughtbase-3.0.4
+# >=dev-python/traitsgui[wxwindows]-3.3.0 )"
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+PYTHON_MODNAME="enthought"
+
+DOCS="CHANGELOG.txt"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-3.0.2-nofreetype.patch"
+ sed -i -e "/self.run_command('build_docs')/d" setup.py || die
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(dir -d 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
+ insinto /usr/share/doc/${PF}
+ if use examples; then
+ doins -r examples || die
+ fi
+}