diff options
34 files changed, 1043 insertions, 26 deletions
diff --git a/dev-python/apptools/ChangeLog b/dev-python/apptools/ChangeLog index 68d879bae76c..8e85e425a91c 100644 --- a/dev-python/apptools/ChangeLog +++ b/dev-python/apptools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/apptools # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/ChangeLog,v 1.5 2010/03/15 03:17:35 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/ChangeLog,v 1.6 2010/03/23 05:08:46 bicatali Exp $ + +*apptools-3.3.1 (21 Mar 2010) + + 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +apptools-3.3.1.ebuild: + Version bump 15 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> -apptools-3.2.0.ebuild, apptools-3.3.0.ebuild: diff --git a/dev-python/apptools/apptools-3.3.1.ebuild b/dev-python/apptools/apptools-3.3.1.ebuild new file mode 100644 index 000000000000..9aeb51f1a6c0 --- /dev/null +++ b/dev-python/apptools/apptools-3.3.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-3.3.1.ebuild,v 1.1 2010/03/23 05:08:46 bicatali Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="AppTools" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tool Suite application tools" +HOMEPAGE="http://code.enthought.com/projects/app_tools.php" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples" +#IUSE="doc examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/configobj + dev-python/numpy + >=dev-python/envisagecore-3.1.2 + >=dev-python/traitsgui-3.3.0" +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs )" +# Tests require X display. +# test? ( >=dev-python/nose-0.10.3 +# >=dev-python/enthoughtbase-3.0.4 ) +RESTRICT_PYTHON_ABIS="3.*" +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i \ + -e "s/self.run_command('build_docs')/pass/" \ + -e "s/setupdocs>=1.0//" \ + setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + "$(PYTHON -f)" setup.py build_docs --formats=html,pdf || die "Generation of documentation failed" + fi +} + +src_test() { + testing() { + PYTHONPATH="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 doc; then + doins -r build/docs/html || die + doins build/docs/latex/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} diff --git a/dev-python/blockcanvas/ChangeLog b/dev-python/blockcanvas/ChangeLog index 0930c21c2319..3d35df2537d5 100644 --- a/dev-python/blockcanvas/ChangeLog +++ b/dev-python/blockcanvas/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/blockcanvas # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/ChangeLog,v 1.6 2010/03/16 19:24:45 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/ChangeLog,v 1.7 2010/03/23 05:09:30 bicatali Exp $ + +*blockcanvas-3.1.1 (22 Mar 2010) + + 22 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +blockcanvas-3.1.1.ebuild: + Version bump 16 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> -blockcanvas-3.0.2.ebuild, +blockcanvas-3.1.0.ebuild: diff --git a/dev-python/blockcanvas/blockcanvas-3.1.1.ebuild b/dev-python/blockcanvas/blockcanvas-3.1.1.ebuild new file mode 100644 index 000000000000..e982d0e0e1f7 --- /dev/null +++ b/dev-python/blockcanvas/blockcanvas-3.1.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/blockcanvas-3.1.1.ebuild,v 1.1 2010/03/23 05:09:30 bicatali Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="BlockCanvas" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tool Suite numerical modeling framework" +HOMEPAGE="http://code.enthought.com/projects/block_canvas.php" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="" +#IUSE="test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/numpy + dev-python/configobj + dev-python/docutils + >=dev-python/apptools-3.3.1 + >=dev-python/chaco-3.3.0 + >=dev-python/enthoughtbase-3.0.4 + >=dev-python/etsdevtools-3.0.4 + >=dev-python/scimath-3.0.5 + >=dev-python/traitsgui-3.3.0 + dev-python/imaging" +DEPEND="dev-python/setuptools" +# Tests require X display. +# test? ( ${RDEPEND} >=dev-python/nose-0.10.3 ) +RESTRICT_PYTHON_ABIS="3.*" +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i \ + -e "s/self.run_command('build_docs')/pass/" \ + -e "s/setupdocs>=1.0//" \ + setup.py || die +} + +src_test() { + testing() { + PYTHONPATH="$(ls -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 + dodoc docs/*.txt +} diff --git a/dev-python/chaco/ChangeLog b/dev-python/chaco/ChangeLog index 329c553c37cc..896f6fd59797 100644 --- a/dev-python/chaco/ChangeLog +++ b/dev-python/chaco/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/chaco -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.4 2009/09/05 23:23:12 arfrever Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.5 2010/03/23 05:19:01 bicatali Exp $ + +*chaco-3.3.0 (21 Mar 2010) + + 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> +chaco-3.3.0.ebuild: + Version bump *chaco-3.2.0 (05 Sep 2009) diff --git a/dev-python/chaco/chaco-3.3.0.ebuild b/dev-python/chaco/chaco-3.3.0.ebuild new file mode 100644 index 000000000000..a996b5989a42 --- /dev/null +++ b/dev-python/chaco/chaco-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/chaco/chaco-3.3.0.ebuild,v 1.1 2010/03/23 05:19:01 bicatali Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="Chaco" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Interactive plotting toolkit" +HOMEPAGE="http://code.enthought.com/projects/chaco" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/enable-3.3.0" +DEPEND="dev-python/setuptools + dev-python/numpy + doc? ( dev-python/setupdocs ) + test? ( >=dev-python/nose-0.10.3 + dev-python/coverage + >=dev-python/enable-3.3.0 + >=dev-python/enthoughtbase-3.0.4 )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i \ + -e "s/self.run_command('build_docs')/pass/" \ + -e "s/setupdocs>=1.0//" \ + setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + "$(PYTHON -f)" setup.py build_docs --formats=html,pdf || die "Generation of documentation failed" + fi +} + +src_test() { + testing() { + PYTHONPATH="$(ls -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 + dodoc docs/*.txt + insinto /usr/share/doc/${PF} + if use doc; then + doins -r build/docs/html build/docs/latex/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} diff --git a/dev-python/codetools/ChangeLog b/dev-python/codetools/ChangeLog index 395dbcb20003..e6ec22c4e0b5 100644 --- a/dev-python/codetools/ChangeLog +++ b/dev-python/codetools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/codetools -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/ChangeLog,v 1.4 2009/09/07 06:21:15 arfrever Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/ChangeLog,v 1.5 2010/03/23 05:10:17 bicatali Exp $ + +*codetools-3.1.1 (20 Mar 2010) + + 20 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +codetools-3.1.1.ebuild: + Version bump *codetools-3.1.0 (07 Sep 2009) diff --git a/dev-python/codetools/codetools-3.1.1.ebuild b/dev-python/codetools/codetools-3.1.1.ebuild new file mode 100644 index 000000000000..d5e95d87273f --- /dev/null +++ b/dev-python/codetools/codetools-3.1.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/codetools-3.1.1.ebuild,v 1.1 2010/03/23 05:10:17 bicatali Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="CodeTools" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tool Suite code analysis and execution tools" +HOMEPAGE="http://code.enthought.com/projects/code_tools.php" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/numpy + >=dev-python/traits-3.3.0" +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs ) + test? ( dev-python/nose + >=dev-python/apptools-3.3.1 + >=dev-python/blockcanvas-3.1.1 )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -e "s/self.run_command('build_docs')/pass/" -i setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + "$(PYTHON -f)" setup.py build_docs --formats=html,pdf || die "Generation of documentation failed" + fi +} + +src_test() { + testing() { + PYTHONPATH="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 doc; then + doins -r build/docs/html || die + doins build/docs/latex/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} 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 +} diff --git a/dev-python/enthoughtbase/ChangeLog b/dev-python/enthoughtbase/ChangeLog index cb91b671006e..4a482abfd524 100644 --- a/dev-python/enthoughtbase/ChangeLog +++ b/dev-python/enthoughtbase/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/enthoughtbase # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/ChangeLog,v 1.10 2010/02/26 04:47:30 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/ChangeLog,v 1.11 2010/03/23 05:12:05 bicatali Exp $ + +*enthoughtbase-3.0.4 (20 Mar 2010) + + 20 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +enthoughtbase-3.0.4.ebuild: + Version bump 26 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org> enthoughtbase-3.0.3.ebuild: diff --git a/dev-python/enthoughtbase/enthoughtbase-3.0.4.ebuild b/dev-python/enthoughtbase/enthoughtbase-3.0.4.ebuild new file mode 100644 index 000000000000..1dec68d959c6 --- /dev/null +++ b/dev-python/enthoughtbase/enthoughtbase-3.0.4.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.4.ebuild,v 1.1 2010/03/23 05:12:05 bicatali Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="EnthoughtBase" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Core packages for the Enthought Tool Suite" +HOMEPAGE="http://code.enthought.com/projects/enthought_base.php" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="BSD LGPL-2" +RDEPEND="" + +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs )" +# tests would require circular deps +# test? ( >=dev-python/nose-0.10.3 +# dev-python/traits +# dev-python/etsdevtools )" + +RESTRICT_PYTHON_ABIS="3.*" +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i \ + -e "s/self.run_command('build_docs')/pass/" \ + -e '/setupdocs/d' \ + setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + export VARTEXFONTS="${T}/fonts" + "$(PYTHON -f)" setup.py build_docs --formats=html,pdf \ + || die "doc building failed" + fi +} + +src_test() { + testing() { + PYTHONPATH="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 + dodoc docs/*.txt + insinto /usr/share/doc/${PF} + if use doc; then + doins -r build/docs/html || die + doins build/docs/latex/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} diff --git a/dev-python/envisagecore/ChangeLog b/dev-python/envisagecore/ChangeLog index ceff10517518..b500661c6a59 100644 --- a/dev-python/envisagecore/ChangeLog +++ b/dev-python/envisagecore/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/envisagecore # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/envisagecore/ChangeLog,v 1.4 2010/03/20 14:59:54 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/envisagecore/ChangeLog,v 1.5 2010/03/23 05:12:40 bicatali Exp $ + +*envisagecore-3.1.2 (21 Mar 2010) + + 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +envisagecore-3.1.2.ebuild: + Version bump 20 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> envisagecore-3.1.1.ebuild: diff --git a/dev-python/envisagecore/envisagecore-3.1.2.ebuild b/dev-python/envisagecore/envisagecore-3.1.2.ebuild new file mode 100644 index 000000000000..352e6dcfbd6c --- /dev/null +++ b/dev-python/envisagecore/envisagecore-3.1.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/envisagecore/envisagecore-3.1.2.ebuild,v 1.1 2010/03/23 05:12:40 bicatali Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="EnvisageCore" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tool Suite extensible application framework" +HOMEPAGE="http://code.enthought.com/projects/envisage/" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/apptools-3.3.0 + >=dev-python/traits-3.3.0 + >=dev-python/enthoughtbase-3.0.4" +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs ) + test? ( >=dev-python/nose-0.10.3 + >=dev-python/apptools-3.3.0 + >=dev-python/enthoughtbase-3.0.3 )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i \ + -e "s/self.run_command('build_docs')/pass/" \ + -e "s/setupdocs>=1.0//" \ + setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + "$(PYTHON -f)" setup.py build_docs --formats=html,pdf || die "Generation of documentation failed" + fi +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + } + python_execute_function testing +} + +src_install() { + distutils_src_install + insinto /usr/share/doc/${PF} + if use doc; then + doins -r build/docs/html || die + doins build/docs/latex/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} diff --git a/dev-python/envisageplugins/ChangeLog b/dev-python/envisageplugins/ChangeLog index 0a4351165250..bd8756170d18 100644 --- a/dev-python/envisageplugins/ChangeLog +++ b/dev-python/envisageplugins/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/envisageplugins # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/ChangeLog,v 1.4 2010/03/20 15:02:20 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/ChangeLog,v 1.5 2010/03/23 05:13:25 bicatali Exp $ + +*envisageplugins-3.1.2 (21 Mar 2010) + + 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +envisageplugins-3.1.2.ebuild: + Version bump 20 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> envisageplugins-3.1.1.ebuild: diff --git a/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild b/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild new file mode 100644 index 000000000000..346c9bfff4ef --- /dev/null +++ b/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/envisageplugins-3.1.2.ebuild,v 1.1 2010/03/23 05:13:25 bicatali Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="EnvisagePlugins" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tool Suite plugins for the Envisage framework" +HOMEPAGE="http://code.enthought.com/projects/envisage_plugins.php" +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/envisagecore-3.1.2 + >=dev-python/traitsgui-3.3.0" + +DEPEND="dev-python/setuptools" +# tests need an X display +# test? ( >=dev-python/nose-0.10.3 +# >=dev-python/envisagecore-3.1.2 )" +RESTRICT_PYTHON_ABIS="3.*" +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i \ + -e "s/self.run_command('build_docs')/pass/" \ + -e "s/setupdocs>=1.0//" \ + setup.py || die +} + +src_test() { + testing() { + PYTHONPATH="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 +} diff --git a/dev-python/ets/ChangeLog b/dev-python/ets/ChangeLog index e08c07be6f8d..3d60e2ccce73 100644 --- a/dev-python/ets/ChangeLog +++ b/dev-python/ets/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/ets -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ets/ChangeLog,v 1.5 2009/09/15 05:12:29 arfrever Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ets/ChangeLog,v 1.6 2010/03/23 05:20:06 bicatali Exp $ + +*ets-3.4.0 (21 Mar 2010) + + 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> +ets-3.4.0.ebuild: + Version bump 15 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> ets-3.3.0.ebuild: diff --git a/dev-python/ets/ets-3.4.0.ebuild b/dev-python/ets/ets-3.4.0.ebuild new file mode 100644 index 000000000000..a58639ee170f --- /dev/null +++ b/dev-python/ets/ets-3.4.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ets/ets-3.4.0.ebuild,v 1.1 2010/03/23 05:20:06 bicatali Exp $ + +EAPI="2" + +DESCRIPTION="Meta package for the Enthought Tool Suite" +HOMEPAGE="http://code.enthought.com/projects/" + +IUSE="doc examples" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=" + >=dev-python/apptools-3.3.1[doc?,examples?] + >=dev-python/blockcanvas-3.1.1 + >=dev-python/chaco-3.3.0[doc?,examples?] + >=dev-python/codetools-3.1.1[doc?,examples?] + >=dev-python/enable-3.2.0[examples?] + >=dev-python/enthoughtbase-3.0.4[doc?,examples?] + >=dev-python/envisagecore-3.1.2[doc?,examples?] + >=dev-python/envisageplugins-3.1.2[examples?] + >=dev-python/etsdevtools-3.0.4[doc?,examples?] + >=dev-python/etsprojecttools-0.5.2 + >=sci-visualization/mayavi-3.3.1:2[doc?] + >=dev-python/scimath-3.0.5 + >=dev-python/traits-3.3.0[doc?,examples?] + >=dev-python/traitsgui-3.3.0[doc?,examples?]" diff --git a/dev-python/etsdevtools/ChangeLog b/dev-python/etsdevtools/ChangeLog index 133c08f8602a..698a84374340 100644 --- a/dev-python/etsdevtools/ChangeLog +++ b/dev-python/etsdevtools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/etsdevtools -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/ChangeLog,v 1.3 2009/09/07 02:56:41 arfrever Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/ChangeLog,v 1.4 2010/03/23 05:14:43 bicatali Exp $ + +*etsdevtools-3.0.4 (23 Mar 2010) + + 23 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +etsdevtools-3.0.4.ebuild: + Version bump *etsdevtools-3.0.3 (06 Sep 2009) diff --git a/dev-python/etsdevtools/etsdevtools-3.0.4.ebuild b/dev-python/etsdevtools/etsdevtools-3.0.4.ebuild new file mode 100644 index 000000000000..e127ecdda1f7 --- /dev/null +++ b/dev-python/etsdevtools/etsdevtools-3.0.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/etsdevtools-3.0.4.ebuild,v 1.1 2010/03/23 05:14:43 bicatali Exp $ + +EAPI="2" + +NEED_PYTHON="2.5" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="ETSDevTools" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tool Suite to support Python development" +HOMEPAGE="http://code.enthought.com/projects/ets_dev_tools.php" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples test wxwidgets" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/numpy + dev-python/docutils + >=dev-python/traitsgui-3.3.0 + >=dev-python/nose-0.10.3 + dev-python/pyro + dev-python/reportlab + dev-python/testoob + x11-libs/libXtst + wxwidgets? ( dev-python/wxpython:2.8 )" +DEPEND="dev-python/setuptools + >=dev-python/numpy-1.1 + x11-libs/libXtst + test? ( >=dev-python/nose-0.10.3 )" +RESTRICT_PYTHON_ABIS="2.4 3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -e "s/self.run_command('build_docs')/pass/" -i setup.py || die +} + +src_test() { + testing() { + PYTHONPATH="$(ls -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 doc; then + doins -r docs/*/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} diff --git a/dev-python/etsprojecttools/ChangeLog b/dev-python/etsprojecttools/ChangeLog index 67f17479dbc1..5f50255569c9 100644 --- a/dev-python/etsprojecttools/ChangeLog +++ b/dev-python/etsprojecttools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/etsprojecttools -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/etsprojecttools/ChangeLog,v 1.3 2009/09/05 23:38:26 arfrever Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/etsprojecttools/ChangeLog,v 1.4 2010/03/23 05:15:15 bicatali Exp $ + +*etsprojecttools-0.6.0 (21 Mar 2010) + + 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +etsprojecttools-0.6.0.ebuild: + Version bump *etsprojecttools-0.5.1 (05 Sep 2009) diff --git a/dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild b/dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild new file mode 100644 index 000000000000..54b11bce6dc2 --- /dev/null +++ b/dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild,v 1.1 2010/03/23 05:15:15 bicatali Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="ETSProjectTools" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tools for working with projects with many dependencies" +HOMEPAGE="http://code.enthought.com/projects/ets_project_tools.php" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-util/subversion" +DEPEND="dev-python/setuptools + test? ( >=dev-python/nose-0.10.3 )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "s/self.run_command('build_docs')/pass/" setup.py || die +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + } + python_execute_function testing +} diff --git a/dev-python/scimath/ChangeLog b/dev-python/scimath/ChangeLog index 12e683b9d368..12866305dff4 100644 --- a/dev-python/scimath/ChangeLog +++ b/dev-python/scimath/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/scimath -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/ChangeLog,v 1.4 2009/09/05 23:57:00 arfrever Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/ChangeLog,v 1.5 2010/03/23 05:15:59 bicatali Exp $ + +*scimath-3.0.5 (21 Mar 2010) + + 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +scimath-3.0.5.ebuild: + Version bump *scimath-3.0.4 (05 Sep 2009) diff --git a/dev-python/scimath/scimath-3.0.5.ebuild b/dev-python/scimath/scimath-3.0.5.ebuild new file mode 100644 index 000000000000..5c3ff193bd73 --- /dev/null +++ b/dev-python/scimath/scimath-3.0.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/scimath-3.0.5.ebuild,v 1.1 2010/03/23 05:15:59 bicatali Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="SciMath" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tool Suite scientific and mathematical tools" +HOMEPAGE="http://code.enthought.com/projects/sci_math.php" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/numpy-1.1 + sci-libs/scipy + >=dev-python/traits-3.3.0" +DEPEND="${RDEPEND} + dev-python/setuptools + test? ( >=dev-python/nose-0.10.3 + >=dev-python/enthoughtbase-3.0.4 + >=dev-python/traitsgui-3.3.0[wxwidgets] )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -e "s/self.run_command('build_docs')/pass/" -i setup.py || die +} + +src_test() { + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test + } + python_execute_function testing +} diff --git a/dev-python/setupdocs/ChangeLog b/dev-python/setupdocs/ChangeLog index c6ca17b613ff..cfddb65b481a 100644 --- a/dev-python/setupdocs/ChangeLog +++ b/dev-python/setupdocs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/setupdocs -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/setupdocs/ChangeLog,v 1.9 2009/11/08 19:53:13 nixnut Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/setupdocs/ChangeLog,v 1.10 2010/03/23 05:07:59 bicatali Exp $ + +*setupdocs-1.0.4 (20 Mar 2010) + + 20 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +setupdocs-1.0.4.ebuild: + Version bump 08 Nov 2009; nixnut <nixnut@gentoo.org> setupdocs-1.0.3.ebuild: ppc stable #290607 diff --git a/dev-python/setupdocs/setupdocs-1.0.4.ebuild b/dev-python/setupdocs/setupdocs-1.0.4.ebuild new file mode 100644 index 000000000000..f2a6d470bfa1 --- /dev/null +++ b/dev-python/setupdocs/setupdocs-1.0.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/setupdocs/setupdocs-1.0.4.ebuild,v 1.1 2010/03/23 05:07:59 bicatali Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="SetupDocs" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="setuptools plugin to automate building of docs from ReST source" +HOMEPAGE="http://pypi.python.org/pypi/SetupDocs http://code.enthought.com/projects/" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="BSD" +DEPEND="dev-python/setuptools + dev-python/sphinx" + +RDEPEND="dev-python/sphinx + virtual/latex-base + || ( dev-texlive/texlive-latexextra app-text/ptex )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" diff --git a/dev-python/traits/ChangeLog b/dev-python/traits/ChangeLog index 32b854c18e3f..7caaaa6f5f08 100644 --- a/dev-python/traits/ChangeLog +++ b/dev-python/traits/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/traits # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.7 2010/03/15 03:10:37 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.8 2010/03/23 05:16:38 bicatali Exp $ + +*traits-3.3.0 (20 Mar 2010) + + 20 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> +traits-3.3.0.ebuild: + Version bump 15 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> -traits-3.1.0.ebuild, traits-3.2.0.ebuild: diff --git a/dev-python/traits/traits-3.3.0.ebuild b/dev-python/traits/traits-3.3.0.ebuild new file mode 100644 index 000000000000..3ae0afa48853 --- /dev/null +++ b/dev-python/traits/traits-3.3.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-3.3.0.ebuild,v 1.1 2010/03/23 05:16:38 bicatali Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="Traits" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tool Suite explicitly typed attributes for Python" +HOMEPAGE="http://code.enthought.com/projects/traits" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples test" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/numpy-1.1 + >=dev-python/enthoughtbase-3.0.3" +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs ) + test? ( >=dev-python/nose-0.10.3 + >=dev-python/numpy-1.1 )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i \ + -e "s/self.run_command('build_docs')/pass/" \ + -e "s/setupdocs>=1.0//" \ + setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + "$(PYTHON -f)" setup.py build_docs --formats=html || die "Generation of documentation failed" + fi +} + +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 + dodoc docs/*.txt + insinto /usr/share/doc/${PF} + if use doc; then + doins -r build/docs/html || die + doins docs/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} diff --git a/dev-python/traitsbackendqt/ChangeLog b/dev-python/traitsbackendqt/ChangeLog index 97aa7f9eda2d..b889867dd6c4 100644 --- a/dev-python/traitsbackendqt/ChangeLog +++ b/dev-python/traitsbackendqt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/traitsbackendqt -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsbackendqt/ChangeLog,v 1.4 2009/09/05 21:23:40 arfrever Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsbackendqt/ChangeLog,v 1.5 2010/03/23 05:17:41 bicatali Exp $ + +*traitsbackendqt-3.3.0 (21 Mar 2010) + + 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +traitsbackendqt-3.3.0.ebuild: + Version bump *traitsbackendqt-3.2.0 (05 Sep 2009) diff --git a/dev-python/traitsbackendqt/traitsbackendqt-3.3.0.ebuild b/dev-python/traitsbackendqt/traitsbackendqt-3.3.0.ebuild new file mode 100644 index 000000000000..9ba64db6343a --- /dev/null +++ b/dev-python/traitsbackendqt/traitsbackendqt-3.3.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsbackendqt/traitsbackendqt-3.3.0.ebuild,v 1.1 2010/03/23 05:17:41 bicatali Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="TraitsBackendQt" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Qt4 backend for Traits and TraitsGUI (Pyface)" +HOMEPAGE="http://code.enthought.com/projects/traits_gui" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/PyQt4[X]" +DEPEND="dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + +src_install() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_install + dodoc docs/*.txt +} diff --git a/dev-python/traitsbackendwx/ChangeLog b/dev-python/traitsbackendwx/ChangeLog index e9742b03c68e..8fc77a0982ee 100644 --- a/dev-python/traitsbackendwx/ChangeLog +++ b/dev-python/traitsbackendwx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/traitsbackendwx -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsbackendwx/ChangeLog,v 1.3 2009/09/05 21:29:45 arfrever Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsbackendwx/ChangeLog,v 1.4 2010/03/23 05:18:12 bicatali Exp $ + +*traitsbackendwx-3.3.0 (21 Mar 2010) + + 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +traitsbackendwx-3.3.0.ebuild: + Version bump *traitsbackendwx-3.2.0 (05 Sep 2009) diff --git a/dev-python/traitsbackendwx/traitsbackendwx-3.3.0.ebuild b/dev-python/traitsbackendwx/traitsbackendwx-3.3.0.ebuild new file mode 100644 index 000000000000..76cd0bec378a --- /dev/null +++ b/dev-python/traitsbackendwx/traitsbackendwx-3.3.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsbackendwx/traitsbackendwx-3.3.0.ebuild,v 1.1 2010/03/23 05:18:12 bicatali Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="TraitsBackendWX" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="WxPython backend for Traits and TraitsGUI (Pyface)" +HOMEPAGE="http://code.enthought.com/projects/traits_gui" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/wxpython:2.8" +DEPEND="dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + +src_install() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_install + dodoc docs/*.txt +} diff --git a/dev-python/traitsgui/ChangeLog b/dev-python/traitsgui/ChangeLog index 7b12838fa0ad..974d9048d6a0 100644 --- a/dev-python/traitsgui/ChangeLog +++ b/dev-python/traitsgui/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/traitsgui # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/ChangeLog,v 1.5 2010/03/15 03:13:38 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/ChangeLog,v 1.6 2010/03/23 05:17:12 bicatali Exp $ + +*traitsgui-3.3.0 (21 Mar 2010) + + 21 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> + +traitsgui-3.3.0.ebuild: + Version bump 15 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> -traitsgui-3.0.4.ebuild, traitsgui-3.1.0.ebuild: diff --git a/dev-python/traitsgui/traitsgui-3.3.0.ebuild b/dev-python/traitsgui/traitsgui-3.3.0.ebuild new file mode 100644 index 000000000000..9b6fb21530e5 --- /dev/null +++ b/dev-python/traitsgui/traitsgui-3.3.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/traitsgui-3.3.0.ebuild,v 1.1 2010/03/23 05:17:12 bicatali Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="TraitsGUI" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Traits-capable windowing framework" +HOMEPAGE="http://code.enthought.com/projects/traits_gui" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +IUSE="doc examples qt4 test wxwidgets" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/traits-3.3.0 + qt4? ( >=dev-python/traitsbackendqt-3.3.0 ) + wxwidgets? ( >=dev-python/traitsbackendwx-3.3.0 ) + !wxwidgets? ( !qt4? ( >=dev-python/traitsbackendwx-3.3.0 ) )" +DEPEND="dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" +# test needs X display +# test? ( >=dev-python/nose-0.10.3 +# >=dev-python/traitsbackendwx-3.2.0 ) +#RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i \ + -e "s/self.run_command('build_docs')/pass/" \ + -e "s/setupdocs>=1.0//" \ + setup.py || die +} + +src_test() { + testing() { + PYTHONPATH="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 + dodoc docs/*.txt + insinto /usr/share/doc/${PF} + if use doc; then + doins -r docs/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} |