summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-08-03 23:58:18 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-08-03 23:58:18 +0000
commitf433779a52bc32588d865c17d4b9444a329edfb0 (patch)
treef2c962f91f96fffdf803c9305ff6c42ed8a0e215 /dev-python/blockcanvas
parentAdd ~x86-linux keyword. (diff)
downloadhistorical-f433779a52bc32588d865c17d4b9444a329edfb0.tar.gz
historical-f433779a52bc32588d865c17d4b9444a329edfb0.tar.bz2
historical-f433779a52bc32588d865c17d4b9444a329edfb0.zip
Version bump. Possible API break.
Package-Manager: portage-2.1.10.10/cvs/Linux x86_64
Diffstat (limited to 'dev-python/blockcanvas')
-rw-r--r--dev-python/blockcanvas/ChangeLog8
-rw-r--r--dev-python/blockcanvas/blockcanvas-4.0.0.ebuild68
2 files changed, 75 insertions, 1 deletions
diff --git a/dev-python/blockcanvas/ChangeLog b/dev-python/blockcanvas/ChangeLog
index 6db570f9ff45..30472872fff3 100644
--- a/dev-python/blockcanvas/ChangeLog
+++ b/dev-python/blockcanvas/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/blockcanvas
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/ChangeLog,v 1.10 2011/01/30 22:31:14 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/ChangeLog,v 1.11 2011/08/03 23:58:18 bicatali Exp $
+
+*blockcanvas-4.0.0 (03 Aug 2011)
+
+ 03 Aug 2011; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +blockcanvas-4.0.0.ebuild:
+ Version bump. Possible API break.
*blockcanvas-3.2.1 (30 Jan 2011)
diff --git a/dev-python/blockcanvas/blockcanvas-4.0.0.ebuild b/dev-python/blockcanvas/blockcanvas-4.0.0.ebuild
new file mode 100644
index 000000000000..851b9c61054a
--- /dev/null
+++ b/dev-python/blockcanvas/blockcanvas-4.0.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/blockcanvas-4.0.0.ebuild,v 1.1 2011/08/03 23:58:18 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: Numerical modeling"
+HOMEPAGE="http://code.enthought.com/projects/block_canvas/ http://pypi.python.org/pypi/blockcanvas"
+SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-python/apptools-4.0
+ >=dev-python/chaco-4.0
+ >=dev-python/codetools-4.0
+ >=dev-python/etsdevtools-4.0
+ >=dev-python/pyface-4.0
+ >=dev-python/scimath-4.0
+ >=dev-python/traitsui-4.0
+ dev-python/configobj
+ dev-python/docutils
+ dev-python/greenlet
+ dev-python/imaging
+ dev-python/numpy"
+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]* _images _static || die "Installation of documentation failed"
+ popd > /dev/null
+ fi
+}