Version bump. Possible API break.
authorSebastien Fabbro <bicatali@gentoo.org>
Wed, 3 Aug 2011 23:58:18 +0000 (23:58 +0000)
committerSebastien Fabbro <bicatali@gentoo.org>
Wed, 3 Aug 2011 23:58:18 +0000 (23:58 +0000)
Package-Manager: portage-2.1.10.10/cvs/Linux x86_64

16 files changed:
dev-python/apptools/ChangeLog
dev-python/apptools/apptools-4.0.0.ebuild [new file with mode: 0644]
dev-python/blockcanvas/ChangeLog
dev-python/blockcanvas/blockcanvas-4.0.0.ebuild [new file with mode: 0644]
dev-python/chaco/ChangeLog
dev-python/chaco/chaco-4.0.0.ebuild [new file with mode: 0644]
dev-python/codetools/ChangeLog
dev-python/codetools/codetools-4.0.0.ebuild [new file with mode: 0644]
dev-python/enable/ChangeLog
dev-python/enable/enable-4.0.0.ebuild [new file with mode: 0644]
dev-python/etsdevtools/ChangeLog
dev-python/etsdevtools/etsdevtools-4.0.0.ebuild [new file with mode: 0644]
dev-python/graphcanvas/ChangeLog
dev-python/graphcanvas/graphcanvas-4.0.0.ebuild [new file with mode: 0644]
dev-python/scimath/ChangeLog
dev-python/scimath/scimath-4.0.0.ebuild [new file with mode: 0644]

index 549d7fb5fc812f4f650efb5520ed1501e4afa24c..f0e746c6e6d5ccb2271d082296d824e35d714873 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/apptools
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/ChangeLog,v 1.11 2011/01/30 17:38:22 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/ChangeLog,v 1.12 2011/08/03 23:51:07 bicatali Exp $
+
+*apptools-4.0.0 (03 Aug 2011)
+
+  03 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> +apptools-4.0.0.ebuild:
+  Version bump. Possible API break.
 
 *apptools-3.4.1 (30 Jan 2011)
 
diff --git a/dev-python/apptools/apptools-4.0.0.ebuild b/dev-python/apptools/apptools-4.0.0.ebuild
new file mode 100644 (file)
index 0000000..5473ad6
--- /dev/null
@@ -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/apptools/apptools-4.0.0.ebuild,v 1.1 2011/08/03 23:51:07 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: 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"
+IUSE="doc examples test"
+
+RDEPEND="dev-python/configobj
+       dev-python/numpy
+       >=dev-python/traits-4.0.0"
+DEPEND="dev-python/setuptools
+       doc? ( dev-python/sphinx )
+       test? (
+               ${RDEPEND}
+               dev-python/pyface
+               media-fonts/font-cursor-misc
+               media-fonts/font-misc-misc
+       )"
+
+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}/examples
+               doins -r examples/* || die "Installation of examples failed"
+       fi
+}
index 6db570f9ff45daf9a5f7bfae304b5d998ae1b11f..30472872fff31889f5ae71ee1a7865fc9338c859 100644 (file)
@@ -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 (file)
index 0000000..851b9c6
--- /dev/null
@@ -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
+}
index 41856fd66a4ab46a7b5345f919480fbeeed32530..cb35c0812289f1acd660fa7bac7d4145df5a536d 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/chaco
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.10 2011/01/30 21:46:17 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.11 2011/08/03 23:57:08 bicatali Exp $
+
+*chaco-4.0.0 (03 Aug 2011)
+
+  03 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> +chaco-4.0.0.ebuild:
+  Version bump. Possible API break.
 
 *chaco-3.4.0 (30 Jan 2011)
 
diff --git a/dev-python/chaco/chaco-4.0.0.ebuild b/dev-python/chaco/chaco-4.0.0.ebuild
new file mode 100644 (file)
index 0000000..7cb97c1
--- /dev/null
@@ -0,0 +1,73 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/chaco-4.0.0.ebuild,v 1.1 2011/08/03 23:57:08 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: interactive plotting toolkit"
+HOMEPAGE="http://code.enthought.com/projects/chaco/ http://pypi.python.org/pypi/chaco"
+SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples test"
+
+RDEPEND=">=dev-python/enable-4.0
+       dev-python/numpy"
+DEPEND="dev-python/setuptools
+       dev-python/numpy
+       doc? (
+               >=dev-python/enable-4.0
+               media-fonts/font-cursor-misc
+               media-fonts/font-misc-misc
+               !prefix? ( x11-base/xorg-server[xvfb] )
+               x11-apps/xhost
+       )
+       test? (
+               >=dev-python/enable-4.0
+               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
+               doc_generation() {
+                       emake html || die "Generation of documentation failed"
+               }
+               VIRTUALX_COMMAND="doc_generation" virtualmake
+               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
+
+       if use examples; then
+               insinto /usr/share/doc/${PF}/examples
+               doins -r examples/* || die "Installation of examples failed"
+       fi
+}
index d47af6db5d35221b7bb059256c63da587a0bc9ae..daceef8dc8148caa6a0268397ab2551232833e9c 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/codetools
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/ChangeLog,v 1.8 2011/01/30 00:42:09 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/ChangeLog,v 1.9 2011/08/03 23:51:50 bicatali Exp $
+
+*codetools-4.0.0 (03 Aug 2011)
+
+  03 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> +codetools-4.0.0.ebuild:
+  Version bump. Possible API break.
 
 *codetools-3.2.0 (30 Jan 2011)
 
diff --git a/dev-python/codetools/codetools-4.0.0.ebuild b/dev-python/codetools/codetools-4.0.0.ebuild
new file mode 100644 (file)
index 0000000..22ce7ec
--- /dev/null
@@ -0,0 +1,65 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/codetools-4.0.0.ebuild,v 1.1 2011/08/03 23:51:50 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: Code analysis and execution tools"
+HOMEPAGE="http://code.enthought.com/projects/code_tools/ http://pypi.python.org/pypi/codetools"
+SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
+
+IUSE="doc examples test"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+
+RDEPEND="dev-python/numpy
+       >=dev-python/scimath-4.0
+       >=dev-python/traits-4.0"
+DEPEND="${RDEPEND}
+       dev-python/setuptools
+       doc? ( dev-python/sphinx )
+       test? (
+               ${RDEPEND}
+               media-fonts/font-cursor-misc
+               media-fonts/font-misc-misc
+       )"
+
+
+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
+
+       if use examples; then
+               insinto /usr/share/doc/${PF}/examples
+               doins -r examples/* || die "Installation of examples failed"
+       fi
+}
index bced5e53159f15e6aa33e7f269189209fa4e6e15..ec3059695e1b3ac522eeb9ba40006972070a0d31 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/enable
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v 1.11 2011/03/27 22:30:16 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v 1.12 2011/08/03 23:52:32 bicatali Exp $
+
+*enable-4.0.0 (03 Aug 2011)
+
+  03 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> +enable-4.0.0.ebuild:
+  Version bump. Possible API break.
 
 *enable-3.4.1 (27 Mar 2011)
 
diff --git a/dev-python/enable/enable-4.0.0.ebuild b/dev-python/enable/enable-4.0.0.ebuild
new file mode 100644 (file)
index 0000000..110edfe
--- /dev/null
@@ -0,0 +1,73 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/enable-4.0.0.ebuild,v 1.1 2011/08/03 23:52:32 bicatali Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils eutils virtualx
+
+DESCRIPTION="Enthought Tool Suite: drawing and interaction packages"
+HOMEPAGE="http://code.enthought.com/projects/enable/ http://pypi.python.org/pypi/enable"
+SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples test"
+
+RDEPEND="dev-python/numpy
+       dev-python/reportlab
+       >=dev-python/traitsui-4.0
+       >=media-libs/freetype-2
+       virtual/opengl
+       x11-libs/libX11"
+DEPEND="dev-python/setuptools
+       dev-lang/swig
+       dev-python/cython
+       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() {
+       testing() {
+               PYTHONPATH="$(ls -d ${S}/build-${PYTHON_ABI}/lib*)" distutils_src_test
+       }
+       VIRTUALX_COMMAND="testing" 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}/examples
+               doins -r examples/* || die "Installation of examples failed"
+       fi
+}
index 912616ec821e0a826753d2a44fcc7a8c6b2f8553..7d99727329b6ca8786d527efdf9b1802ee47e011 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/etsdevtools
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/ChangeLog,v 1.17 2011/04/01 16:06:38 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/ChangeLog,v 1.18 2011/08/03 23:53:21 bicatali Exp $
+
+*etsdevtools-4.0.0 (03 Aug 2011)
+
+  03 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org>
+  +etsdevtools-4.0.0.ebuild:
+  Version bump. Possible API break.
 
   01 Apr 2011; Kacper Kowalik <xarthisius@gentoo.org> etsdevtools-3.1.1.ebuild:
   Marked ~ppc64 wrt #342297
diff --git a/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild b/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild
new file mode 100644 (file)
index 0000000..b4fb099
--- /dev/null
@@ -0,0 +1,65 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild,v 1.1 2011/08/03 23:53:21 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: tools to support Python development"
+HOMEPAGE="http://code.enthought.com/projects/dev_tools.php http://pypi.python.org/pypi/etsdevtools"
+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/numpy
+       >=dev-python/traits-4.0"
+DEPEND="dev-python/setuptools
+       doc? ( dev-python/sphinx )
+       test? (
+               ${RDEPEND}
+               >=dev-python/traitsui-4.0
+               media-fonts/font-cursor-misc
+               media-fonts/font-misc-misc
+               x11-apps/xhost
+       )"
+
+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
+               dodoc docs/*/*.pdf || die "Installation of PDF documentation failed"
+               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}/examples
+               doins -r examples/* || die "Installation of examples failed"
+       fi
+}
index ba881c91ac9cfbaae571e1acc222f8b31e47e24f..1d288b5145f0d6eaa3d43000ec683fc2ee53de4d 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/graphcanvas
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/graphcanvas/ChangeLog,v 1.1 2011/02/01 02:48:40 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/graphcanvas/ChangeLog,v 1.2 2011/08/03 23:54:52 bicatali Exp $
+
+*graphcanvas-4.0.0 (03 Aug 2011)
+
+  03 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org>
+  +graphcanvas-4.0.0.ebuild:
+  Version bump. Possible API break.
 
 *graphcanvas-3.0.0 (01 Feb 2011)
 
diff --git a/dev-python/graphcanvas/graphcanvas-4.0.0.ebuild b/dev-python/graphcanvas/graphcanvas-4.0.0.ebuild
new file mode 100644 (file)
index 0000000..6105fcb
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/graphcanvas/graphcanvas-4.0.0.ebuild,v 1.1 2011/08/03 23:54:52 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: Interactive Graph (network) Visualization"
+HOMEPAGE="http://pypi.python.org/pypi/graphcanvas"
+SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples test"
+
+RDEPEND="dev-python/networkx
+       dev-python/enable"
+DEPEND="dev-python/setuptools
+       test? (
+               ${RDEPEND}
+               media-fonts/font-cursor-misc
+               media-fonts/font-misc-misc
+               x11-apps/xhost
+       )"
+
+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
+}
index d61adcf6f0950a15c4370f73fb0562c10d2a8fd2..e9ef15b9788c637c6805f8d4684649017c05eeee 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/scimath
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/ChangeLog,v 1.8 2011/01/30 15:27:32 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/ChangeLog,v 1.9 2011/08/03 23:54:04 bicatali Exp $
+
+*scimath-4.0.0 (03 Aug 2011)
+
+  03 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> +scimath-4.0.0.ebuild:
+  Version bump. Possible API break.
 
 *scimath-3.0.7 (30 Jan 2011)
 
diff --git a/dev-python/scimath/scimath-4.0.0.ebuild b/dev-python/scimath/scimath-4.0.0.ebuild
new file mode 100644 (file)
index 0000000..442df90
--- /dev/null
@@ -0,0 +1,59 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/scimath-4.0.0.ebuild,v 1.1 2011/08/03 23:54:04 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: Scientific and mathematical tools"
+HOMEPAGE="http://code.enthought.com/projects/sci_math/ http://pypi.python.org/pypi/scimath"
+SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-python/traits-4.0
+       >=dev-python/traitsui-4.0
+       sci-libs/scipy"
+DEPEND="dev-python/setuptools
+       doc? ( dev-python/sphinx )
+       test? (
+               ${RDEPEND}
+               media-fonts/font-cursor-misc
+               media-fonts/font-misc-misc
+               x11-apps/xhost
+       )"
+
+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
+}