diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-01-15 10:33:22 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-01-15 10:33:22 +0000 |
commit | 6b43e3ba6bf280120dc98a0492b4d441a89259f3 (patch) | |
tree | 4be340880663ee2198a3ed86707ebf68b8c5db24 | |
parent | Version bump, remove old, arm/ia64/sparc/x86 stable (diff) | |
download | historical-6b43e3ba6bf280120dc98a0492b4d441a89259f3.tar.gz historical-6b43e3ba6bf280120dc98a0492b4d441a89259f3.tar.bz2 historical-6b43e3ba6bf280120dc98a0492b4d441a89259f3.zip |
Initial import
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64
43 files changed, 1119 insertions, 0 deletions
diff --git a/dev-python/apptools/ChangeLog b/dev-python/apptools/ChangeLog new file mode 100644 index 000000000000..03ec685f4d53 --- /dev/null +++ b/dev-python/apptools/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/apptools +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/ChangeLog,v 1.1 2009/01/15 10:16:52 bicatali Exp $ + +*apptools-3.1.0 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +apptools-3.1.0.ebuild: + Initial import + diff --git a/dev-python/apptools/apptools-3.1.0.ebuild b/dev-python/apptools/apptools-3.1.0.ebuild new file mode 100644 index 000000000000..0e6a660a7ed0 --- /dev/null +++ b/dev-python/apptools/apptools-3.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-3.1.0.ebuild,v 1.1 2009/01/15 10:16:52 bicatali Exp $ + +EAPI=2 +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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="doc examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/configobj + >=dev-python/numpy-1.1 + dev-python/envisagecore + dev-python/traitsgui" +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs ) + test? ( >=dev-python/nose-0.10.3 dev-python/enthoughtbase )" + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + ${python} setup.py build_docs --formats=html,pdf \ + || die "doc building failed" + fi +} + +src_test() { + PYTHONPATH=build/lib ${python} setup.py test || die "tests failed" +} + +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/apptools/metadata.xml b/dev-python/apptools/metadata.xml new file mode 100644 index 000000000000..87c3bbcbfdae --- /dev/null +++ b/dev-python/apptools/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + The Enthought Tool Suite AppTools project includes a set of + packages that Enthought has found useful in creating a number of + applications. They implement functionality that is commonly needed + by many applications. + </longdescription> +</pkgmetadata> diff --git a/dev-python/blockcanvas/ChangeLog b/dev-python/blockcanvas/ChangeLog new file mode 100644 index 000000000000..66977fc359e8 --- /dev/null +++ b/dev-python/blockcanvas/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/blockcanvas +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/ChangeLog,v 1.1 2009/01/15 10:28:27 bicatali Exp $ + +*blockcanvas-3.0.1 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +blockcanvas-3.0.1.ebuild: + Initial import + diff --git a/dev-python/blockcanvas/blockcanvas-3.0.1.ebuild b/dev-python/blockcanvas/blockcanvas-3.0.1.ebuild new file mode 100644 index 000000000000..4733d3b35928 --- /dev/null +++ b/dev-python/blockcanvas/blockcanvas-3.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/blockcanvas-3.0.1.ebuild,v 1.1 2009/01/15 10:28:27 bicatali Exp $ + +EAPI=2 +inherit distutils + +MY_PN="BlockCanvas" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tools Suite numerical modeling framework" +HOMEPAGE="http://code.enthought.com/projects/block_canvas.php" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/numpy-1.1 + dev-python/apptools + dev-python/chaco + dev-python/configobj + dev-python/docutils + dev-python/enthoughtbase + dev-python/etsdevtools + dev-python/scimath + dev-python/imaging + dev-python/traitsgui" + +DEPEND="dev-python/setuptools + test? ( ${RDEPEND} >=dev-python/nose-0.10.3 )" + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_test() { + PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed" +} + +src_install() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_install + dodoc docs/*.txt +} diff --git a/dev-python/blockcanvas/metadata.xml b/dev-python/blockcanvas/metadata.xml new file mode 100644 index 000000000000..b369e5fc9be7 --- /dev/null +++ b/dev-python/blockcanvas/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <herd>sci</herd> + <longdescription lang="en"> + The Enthought Tool Suite BlockCanvas project provides a visual + environment for creating simulation experiments, where function + and data are separated. Thus, you can define your simulation + algorithm by visually connecting function blocks into a data flow + network, and then run it with various data sets (known as + "contexts"); likewise, you can use the same context in a different + functional simulation. + </longdescription> +</pkgmetadata> diff --git a/dev-python/chaco/ChangeLog b/dev-python/chaco/ChangeLog new file mode 100644 index 000000000000..48f205b818e2 --- /dev/null +++ b/dev-python/chaco/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2009/01/15 10:26:01 bicatali Exp $ + +*chaco-3.0.1 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +chaco-3.0.1.ebuild: + Initial import + diff --git a/dev-python/chaco/chaco-3.0.1.ebuild b/dev-python/chaco/chaco-3.0.1.ebuild new file mode 100644 index 000000000000..336c0b2e1661 --- /dev/null +++ b/dev-python/chaco/chaco-3.0.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/chaco-3.0.1.ebuild,v 1.1 2009/01/15 10:26:01 bicatali Exp $ + +EAPI=2 +inherit distutils + +MY_PN="Chaco" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Interactive plotting toolkit" +HOMEPAGE="http://code.enthought.com/projects/chaco" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="doc examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/enable" + +DEPEND="dev-python/setuptools + >=dev-python/numpy-1.1" +# docs building and tests need an X display +# doc? ( dev-python/setupdocs ) +# test? ( >=dev-python/nose-0.10.3 +# dev-python/coverage +# dev-python/enable +# dev-python/enthoughtbase )" + +RESTRICT=test +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_compile() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_compile + #if use doc; then + # ${python} setup.py build_docs --formats=html,pdf \ + # || die "doc building failed" + #fi +} + +src_test() { + ${python} setup.py test || die "tests failed" +} + +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 + doins docs/*.pdf || die + fi + if use examples; then + doins -r examples || die + fi +} diff --git a/dev-python/chaco/metadata.xml b/dev-python/chaco/metadata.xml new file mode 100644 index 000000000000..3c9384623b6c --- /dev/null +++ b/dev-python/chaco/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <herd>sci</herd> + <longdescription lang="en"> + Chaco is a Python plotting application toolkit and a part of + Enthought Tool Suite. It is meant to facilitate writing plotting + applications of all levels of complexity, from simple scripts with + hard-coded data to large plotting programs with complex data + interrelationships and a multitude of interactive tools. While Chaco + generates nice static plots for publication and presentation + purposes, its components are all designed to be work well for + interactive data visualization. + </longdescription> +</pkgmetadata> diff --git a/dev-python/codetools/ChangeLog b/dev-python/codetools/ChangeLog new file mode 100644 index 000000000000..eba1a8e65851 --- /dev/null +++ b/dev-python/codetools/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2009/01/15 10:22:06 bicatali Exp $ + +*codetools-3.0.1 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +codetools-3.0.1.ebuild: + Initial import + diff --git a/dev-python/codetools/codetools-3.0.1.ebuild b/dev-python/codetools/codetools-3.0.1.ebuild new file mode 100644 index 000000000000..45b4af7ac1f8 --- /dev/null +++ b/dev-python/codetools/codetools-3.0.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/codetools-3.0.1.ebuild,v 1.1 2009/01/15 10:22:07 bicatali Exp $ + +EAPI=2 +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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="doc examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/numpy-1.1 + dev-python/traits" +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs ) + test? ( >=dev-python/nose-0.10.3 + dev-python/apptools + dev-python/blockcanvas )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + ${python} setup.py build_docs --formats=html,pdf \ + || die "doc building failed" + fi +} + +src_test() { + PYTHONPATH=build/lib ${python} setup.py test || die "tests failed" +} + +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/codetools/metadata.xml b/dev-python/codetools/metadata.xml new file mode 100644 index 000000000000..48bd6ec4a98c --- /dev/null +++ b/dev-python/codetools/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + The CodeTools project from the Enthought Tool Suite + includes packages that simplify meta-programming + and help the programmer separate data from code in Python. This + library contains classes that allow defining simple snippets, or + "blocks", of Python code, analyze variable dependencies in the code + block, and use these dependencies to construct or restrict an + execution graph. These (restricted) code blocks can then be executed + in any namespace. However, this project also provides a + Traits-event-enhanced namespace, called a "context", which can be used + in place of a vanilla namespace to allow actions to be performed + whenever variables are assigned or retrieved from the namespace. This + project is used as the foundation for the BlockCanvas project. + </longdescription> +</pkgmetadata> diff --git a/dev-python/enable/ChangeLog b/dev-python/enable/ChangeLog new file mode 100644 index 000000000000..e5d07fbd72cb --- /dev/null +++ b/dev-python/enable/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/enable +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v 1.1 2009/01/15 10:24:27 bicatali Exp $ + +*enable-3.0.2 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> + +files/enable-3.0.2-nofreetype.patch, +metadata.xml, +enable-3.0.2.ebuild: + Initial import + diff --git a/dev-python/enable/enable-3.0.2.ebuild b/dev-python/enable/enable-3.0.2.ebuild new file mode 100644 index 000000000000..d78a4ae3f0f8 --- /dev/null +++ b/dev-python/enable/enable-3.0.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/enable-3.0.2.ebuild,v 1.1 2009/01/15 10:24:27 bicatali Exp $ + +EAPI=2 +inherit eutils distutils + +MY_PN="Enable" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tools Suite drawing and interaction GUI objects" +HOMEPAGE="http://code.enthought.com/projects/enable" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/numpy-1.1 + dev-python/reportlab + dev-python/traitsgui + >=media-libs/freetype-2 + virtual/glu + x11-libs/libX11" + +DEPEND="dev-python/setuptools + >=dev-python/numpy-1.1 + >=media-libs/freetype-2 + virtual/glu + x11-libs/libX11 + dev-lang/swig + dev-python/pyrex + test? ( >=dev-python/nose-0.10.3 + dev-python/enthoughtbase + dev-python/traitsgui[wxwindows] )" + +#tests need X +RESTRICT=test + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + +src_prepare() { + epatch "${FILESDIR}"/${P}-nofreetype.patch + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_test() { + PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed" +} + +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/enable/files/enable-3.0.2-nofreetype.patch b/dev-python/enable/files/enable-3.0.2-nofreetype.patch new file mode 100644 index 000000000000..53a6f8dffe9e --- /dev/null +++ b/dev-python/enable/files/enable-3.0.2-nofreetype.patch @@ -0,0 +1,99 @@ +Index: python-enable-3.0.1/enthought/kiva/agg/setup.py +=================================================================== +--- python-enable-3.0.1.orig/enthought/kiva/agg/setup.py 2008-09-27 00:07:39.000000000 -0400 ++++ python-enable-3.0.1/enthought/kiva/agg/setup.py 2008-09-27 00:11:45.000000000 -0400 +@@ -5,39 +5,6 @@ + import platform + + +- +- +-freetype2_sources =['autohint/autohint.c', +- 'base/ftbase.c','base/ftsystem.c','base/ftinit.c', +- 'base/ftglyph.c','base/ftmm.c','base/ftbdf.c', +- 'base/ftbbox.c','base/ftdebug.c','base/ftxf86.c', +- 'base/fttype1.c','bdf/bdf.c', +- 'cff/cff.c', +- 'cid/type1cid.c', +- 'pcf/pcf.c','pfr/pfr.c', +- 'psaux/psaux.c', +- 'pshinter/pshinter.c', +- 'psnames/psnames.c', +- 'raster/raster.c', +- 'sfnt/sfnt.c', +- 'smooth/smooth.c', +- 'truetype/truetype.c', +- 'type1/type1.c', +- 'type42/type42.c', +- 'winfonts/winfnt.c', +- 'gzip/ftgzip.c', +- 'base/ftmac.c', +- ] +- +-freetype2_dirs = [ +- 'base','bdf','cache','cff','cid','pcf','pfr', +- 'psaux','pshinter','psnames','raster','sfnt', +- 'smooth','truetype','type1','type42','winfonts', +- 'gzip' +- ] +- +- +- + def configuration(parent_package='',top_path=None): + from numpy.distutils.misc_util import Configuration + from numpy.distutils.system_info import dict_append, get_info +@@ -68,35 +35,10 @@ + + + #------------------------------------------------------------------------- +- # Add the freetype library (agg 2.4 links against this) +- #------------------------------------------------------------------------- +- +- prefix = config.paths('freetype2/src')[0] +- freetype_lib = 'freetype2_src' +- +- def get_ft2_sources((lib_name, build_info), build_dir): +- sources = [prefix + "/" + s for s in freetype2_sources] +- if sys.platform=='darwin': +- return sources[:] +- return sources[:-1] +- +- ft2_incl_dirs = ['freetype2/src/' + s for s in freetype2_dirs] \ +- + ['freetype2/include', 'freetype2/src'] +- ft2_incl_dirs = config.paths(*ft2_incl_dirs) +- if sys.platform == 'darwin': +- ft2_incl_dirs.append("/Developer/Headers/FlatCarbon") +- +- config.add_library(freetype_lib, +- sources = [get_ft2_sources], +- include_dirs = ft2_incl_dirs, +- depends = ['freetype2'] +- ) +- +- #------------------------------------------------------------------------- + # Add the Agg sources + #------------------------------------------------------------------------- + +- agg_include_dirs = [agg_dir+'/include',agg_dir+'/font_freetype'] + ft2_incl_dirs ++ agg_include_dirs = [agg_dir+'/include',agg_dir+'/font_freetype'] + ["/usr/include/freetype2/"] + agg_sources = [agg_dir+'/src/*.cpp', + agg_dir+'/font_freetype/*.cpp'] + config.add_library(agg_lib, +@@ -110,7 +52,7 @@ + if sys.platform == 'darwin': + define_macros = [('__DARWIN__', None)] + macros = [('__DARWIN__', None)] +- extra_link_args = ['-framework', 'Carbon'] ++ extra_link_args = ['-framework', 'Carbon', '-Wl,-search_paths_first'] + else: + define_macros = [] + macros = [] +@@ -163,7 +105,7 @@ + + build_info = {} + kiva_lib = 'kiva_src' +- build_libraries = [kiva_lib, agg_lib, freetype_lib] ++ build_libraries = [kiva_lib, agg_lib, "freetype"] + if sys.platform == "win32": + build_libraries += ["opengl32", "glu32"] + elif sys.platform == "darwin": diff --git a/dev-python/enable/metadata.xml b/dev-python/enable/metadata.xml new file mode 100644 index 000000000000..b097092fd77d --- /dev/null +++ b/dev-python/enable/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + The Enable project from the Enthought Tool Suite provides two + related multi-platform packages for drawing GUI objects: + * Enable: An object drawing library that supports containment and + event notification. + * Kiva: A multi-platform DisplayPDF vector drawing engine. + </longdescription> +</pkgmetadata> diff --git a/dev-python/envisagecore/ChangeLog b/dev-python/envisagecore/ChangeLog new file mode 100644 index 000000000000..5975395dfc8b --- /dev/null +++ b/dev-python/envisagecore/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/envisagecore +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/envisagecore/ChangeLog,v 1.1 2009/01/15 10:17:56 bicatali Exp $ + +*envisagecore-3.0.1 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +envisagecore-3.0.1.ebuild: + Initial import + diff --git a/dev-python/envisagecore/envisagecore-3.0.1.ebuild b/dev-python/envisagecore/envisagecore-3.0.1.ebuild new file mode 100644 index 000000000000..ecfb5418dcce --- /dev/null +++ b/dev-python/envisagecore/envisagecore-3.0.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/envisagecore/envisagecore-3.0.1.ebuild,v 1.1 2009/01/15 10:17:56 bicatali Exp $ + +EAPI=2 +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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="doc examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/apptools + dev-python/traits + dev-python/enthoughtbase" + +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs ) + test? ( >=dev-python/nose-0.10.3 + dev-python/apptools + dev-python/enthoughtbase )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_compile() { + distutils_src_compile + if use doc; then + ${python} setup.py build_docs --formats=html,pdf \ + || die "doc building failed" + fi +} + +src_test() { + PYTHONPATH=build/lib ${python} setup.py test || die "tests failed" +} + +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/envisagecore/metadata.xml b/dev-python/envisagecore/metadata.xml new file mode 100644 index 000000000000..f47d6fb29453 --- /dev/null +++ b/dev-python/envisagecore/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + The Envisage project from the Enthought Tool Suite is a + Python-based framework for building extensible applications, that + is, applications whose functionality can be extended by adding + "plug-ins". Envisage provides a standard mechanism for features to + be added to an application, whether by the original developer or + by someone else. In fact, when you build an application + using Envisage, the entire application consists primarily of + plug-ins. In this respect, it is similar to the Eclipse and Netbeans + frameworks for Java applications. + </longdescription> +</pkgmetadata> diff --git a/dev-python/envisageplugins/ChangeLog b/dev-python/envisageplugins/ChangeLog new file mode 100644 index 000000000000..cf83e5ddbcd8 --- /dev/null +++ b/dev-python/envisageplugins/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/envisageplugins +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/ChangeLog,v 1.1 2009/01/15 10:20:14 bicatali Exp $ + +*envisageplugins-3.0.1 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +envisageplugins-3.0.1.ebuild: + Initial import + diff --git a/dev-python/envisageplugins/envisageplugins-3.0.1.ebuild b/dev-python/envisageplugins/envisageplugins-3.0.1.ebuild new file mode 100644 index 000000000000..baba460ca25e --- /dev/null +++ b/dev-python/envisageplugins/envisageplugins-3.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/envisageplugins-3.0.1.ebuild,v 1.1 2009/01/15 10:20:14 bicatali Exp $ + +EAPI=2 +inherit distutils + +MY_PN="EnvisagePlugins" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Plugins for the Envisage framework" +HOMEPAGE="http://code.enthought.com/projects/envisage_plugins.php" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/apptools + dev-python/envisagecore + dev-python/traitsgui" + +DEPEND="dev-python/setuptools + test? ( >=dev-python/nose-0.10.3 + dev-python/apptools + dev-python/enthoughtbase )" + +# tests need an X display +RESTRICT=test +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_test() { + PYTHONPATH=build/lib ${python} setup.py test || die "tests failed" +} + +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/envisageplugins/metadata.xml b/dev-python/envisageplugins/metadata.xml new file mode 100644 index 000000000000..e9b3d5be45d5 --- /dev/null +++ b/dev-python/envisageplugins/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + The EnvisagePlugins project from the Enthought Tool Suite + includes a number of plug-ins for the Envisage framework that + Enthought has found useful for building scientific + applications. Envisage does not require that you use these + plug-ins, but you may find them useful to avoid having to reinvent + these particular wheels: + * Workbench: Provides an application GUI window that supports + views and perspectives, similar to the Eclipse IDE. + * Action: Supports user-interaction command mechanisms, such as + toolbars, menus, and buttons. + * Single Project: Supports a project paradigm for saving + application data, assuming an interaction model in which only + one project can be open in the application at a time. + * Text Editor: Provides a rudimentary text editor interface. + * Python Shell: Provides an interactive Python shell within a + Workbench-based application. + * Debug: Provides the Frame Based Inspector from the ETSDevTools + project as an Envisage plug-in + </longdescription> +</pkgmetadata> diff --git a/dev-python/ets/ChangeLog b/dev-python/ets/ChangeLog new file mode 100644 index 000000000000..7fea318dd3a2 --- /dev/null +++ b/dev-python/ets/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2009/01/15 10:33:22 bicatali Exp $ + +*ets-3.1.0 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +ets-3.1.0.ebuild: + Initial import + diff --git a/dev-python/ets/ets-3.1.0.ebuild b/dev-python/ets/ets-3.1.0.ebuild new file mode 100644 index 000000000000..bdfa40a597e4 --- /dev/null +++ b/dev-python/ets/ets-3.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ets/ets-3.1.0.ebuild,v 1.1 2009/01/15 10:33:22 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.1.0[doc?,examples?] + =dev-python/blockcanvas-3.0.1 + =dev-python/codetools-3.0.1[doc?,examples?] + =dev-python/chaco-3.0.1[doc?,examples?] + =dev-python/enable-3.0.2[examples?] + =dev-python/enthoughtbase-3.0.1[doc?,examples?] + =dev-python/envisagecore-3.0.1[doc?,examples?] + =dev-python/envisageplugins-3.0.1[examples?] + =dev-python/etsdevtools-3.0.1[doc?,examples?] + =dev-python/etsprojecttools-0.4.2 + =sci-visualization/mayavi-3.1.0:2[doc?,examples?] + =dev-python/scimath-3.0.2 + =dev-python/traits-3.0.3[doc?,examples?] + =dev-python/traitsgui-3.0.3[doc?,examples?]" diff --git a/dev-python/ets/metadata.xml b/dev-python/ets/metadata.xml new file mode 100644 index 000000000000..c0715f051ac6 --- /dev/null +++ b/dev-python/ets/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + %description + The Enthought Tool Suite (ETS) is a collection of Python components + developed by Enthought and its partners to construct custom scientific + applications. It includes a wide variety of components including: + * An extensible application framework + * Application building blocks + * 2-D and 3-D graphics libraries + * Scientific and math libraries + * Developer tools + This metapackage contains the dependencies for installing all of the + components comprised by the suite. + </longdescription> +</pkgmetadata> diff --git a/dev-python/etsdevtools/ChangeLog b/dev-python/etsdevtools/ChangeLog new file mode 100644 index 000000000000..e39f06093a2b --- /dev/null +++ b/dev-python/etsdevtools/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2009/01/15 10:27:10 bicatali Exp $ + +*etsdevtools-3.0.1 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +etsdevtools-3.0.1.ebuild: + Initial import + diff --git a/dev-python/etsdevtools/etsdevtools-3.0.1.ebuild b/dev-python/etsdevtools/etsdevtools-3.0.1.ebuild new file mode 100644 index 000000000000..e7157d113dbb --- /dev/null +++ b/dev-python/etsdevtools/etsdevtools-3.0.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/etsdevtools-3.0.1.ebuild,v 1.1 2009/01/15 10:27:10 bicatali Exp $ + +EAPI=2 +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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="doc examples test wxwindows" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/numpy-1.1 + dev-python/docutils + dev-python/celementtree + dev-python/elementtree + dev-python/traitsgui + dev-python/nose + dev-python/pyro + dev-python/reportlab + dev-python/testoob + x11-libs/libXtst + wxwindows? ( dev-python/wxpython )" + +DEPEND="dev-python/setuptools + >=dev-python/numpy-1.1 + x11-libs/libXtst + test? ( >=dev-python/nose-0.10.3 )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_test() { + PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed" +} + +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/etsdevtools/metadata.xml b/dev-python/etsdevtools/metadata.xml new file mode 100644 index 000000000000..c89897249522 --- /dev/null +++ b/dev-python/etsdevtools/metadata.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + The ETSDevTools project from the Enthought Tool Suite includes a + set of packages that can be used during the development of a + software project, for understanding, debugging, testing, and + inspecting code: + * Enthought Developer Tool Suite (enthought.developer): A + collection of utilities, designed to ease the development and + debugging of Traits-based programs. They can be used as plug-ins + to your Envisage application while you are developing it, and then + removed when you are ready to release it. + * Endo: A Traits-aware tool for processing API documentation of + Python code. It extracts not only docstrings, but also plain + comments that immediately precede variable assignments (both + module-scope variables and class attributes). + * enthought.guitest: A collection of utilities for unit testing + user interfaces (translation of the Perl X11::GUITest and + Win32::GuiTest modules). + * enthought.testing: Scripts related to running unit tests, based + on testoob, and also allowing running test suites in separate + processes and aggregating the results. + * enthought.debug: A collection of debugging tools, not to be + included in production code. NOTE: These tools are functional, but + are not being developed or supported. They have been mainly + superceded by the tools in the Enthought Developer Tool Suite. + </longdescription> +</pkgmetadata> diff --git a/dev-python/etsprojecttools/ChangeLog b/dev-python/etsprojecttools/ChangeLog new file mode 100644 index 000000000000..b64be79ebff5 --- /dev/null +++ b/dev-python/etsprojecttools/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2009/01/15 10:14:32 bicatali Exp $ + +*etsprojecttools-0.4.2 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +etsprojecttools-0.4.2.ebuild: + Initial import + diff --git a/dev-python/etsprojecttools/etsprojecttools-0.4.2.ebuild b/dev-python/etsprojecttools/etsprojecttools-0.4.2.ebuild new file mode 100644 index 000000000000..00238fb9a5cb --- /dev/null +++ b/dev-python/etsprojecttools/etsprojecttools-0.4.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/etsprojecttools/etsprojecttools-0.4.2.ebuild,v 1.1 2009/01/15 10:14:32 bicatali Exp $ + +EAPI=2 +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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${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 )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_test() { + PYTHONPATH=build/lib ${python} setup.py test || die "tests failed" +} diff --git a/dev-python/etsprojecttools/metadata.xml b/dev-python/etsprojecttools/metadata.xml new file mode 100644 index 000000000000..6676bda35eb0 --- /dev/null +++ b/dev-python/etsprojecttools/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + Enthought Tool Suite ProjectTools provides commands to make it + easier for developers to work on projects that have a large number + of dependencies, such as the ETS project itself. These commands + are all predicated on a concept we call a "checkout", which is the + coherent set of projects and versions that are required to satisfy + all documented dependencies for the user-requested project(s). + </longdescription> +</pkgmetadata> diff --git a/dev-python/scimath/ChangeLog b/dev-python/scimath/ChangeLog new file mode 100644 index 000000000000..e58c6909d454 --- /dev/null +++ b/dev-python/scimath/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2009/01/15 10:29:32 bicatali Exp $ + +*scimath-3.0.2 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +scimath-3.0.2.ebuild: + Initial import + diff --git a/dev-python/scimath/metadata.xml b/dev-python/scimath/metadata.xml new file mode 100644 index 000000000000..67f15cfd0d03 --- /dev/null +++ b/dev-python/scimath/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <herd>sci</herd> + <longdescription lang="en"> + The SciMath project from the Enthought Tool Suite includes + packages to support scientific and mathematical calculations, + beyond the capabilities offered by SciPy: + * enthought.interpolate + * enthought.mathematics + * enthought.units + </longdescription> +</pkgmetadata> diff --git a/dev-python/scimath/scimath-3.0.2.ebuild b/dev-python/scimath/scimath-3.0.2.ebuild new file mode 100644 index 000000000000..a0d884ecaa5a --- /dev/null +++ b/dev-python/scimath/scimath-3.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/scimath-3.0.2.ebuild,v 1.1 2009/01/15 10:29:32 bicatali Exp $ + +EAPI=2 +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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${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" + +DEPEND="dev-python/setuptools + >=dev-python/numpy-1.1 + test? ( >=dev-python/nose-0.10.3 dev-python/enthoughtbase sci-libs/scipy )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_test() { + PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed" +} diff --git a/dev-python/traitsbackendqt/ChangeLog b/dev-python/traitsbackendqt/ChangeLog new file mode 100644 index 000000000000..21a9aa1a5038 --- /dev/null +++ b/dev-python/traitsbackendqt/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2009/01/15 10:11:26 bicatali Exp $ + +*traitsbackendqt-3.0.3 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +traitsbackendqt-3.0.3.ebuild: + Initial import + diff --git a/dev-python/traitsbackendqt/metadata.xml b/dev-python/traitsbackendqt/metadata.xml new file mode 100644 index 000000000000..d4192fc10e54 --- /dev/null +++ b/dev-python/traitsbackendqt/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <herd>python</herd> + <longdescription lang="en"> + The TraitsBackendQt project contains an implementation of TraitsGUI using + PyQt4. It provides Qt-based support for visualization and editing of + Traits-based objects. + </longdescription> +</pkgmetadata> diff --git a/dev-python/traitsbackendqt/traitsbackendqt-3.0.3.ebuild b/dev-python/traitsbackendqt/traitsbackendqt-3.0.3.ebuild new file mode 100644 index 000000000000..e2199b78c142 --- /dev/null +++ b/dev-python/traitsbackendqt/traitsbackendqt-3.0.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsbackendqt/traitsbackendqt-3.0.3.ebuild,v 1.1 2009/01/15 10:11:26 bicatali Exp $ + +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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/PyQt4" +DEPEND="dev-python/setuptools" + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + + +src_install() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_install +} diff --git a/dev-python/traitsbackendwx/ChangeLog b/dev-python/traitsbackendwx/ChangeLog new file mode 100644 index 000000000000..3ab44f018699 --- /dev/null +++ b/dev-python/traitsbackendwx/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2009/01/15 10:10:05 bicatali Exp $ + +*traitsbackendwx-3.0.3 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +traitsbackendwx-3.0.3.ebuild: + Initial import + diff --git a/dev-python/traitsbackendwx/metadata.xml b/dev-python/traitsbackendwx/metadata.xml new file mode 100644 index 000000000000..6cf06246181e --- /dev/null +++ b/dev-python/traitsbackendwx/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + The TraitsBackendWX project contains an implementation of TraitsGUI using + wxPython. It provides wx-based support for visualization and editing of + Traits-based objects. + </longdescription> +</pkgmetadata> diff --git a/dev-python/traitsbackendwx/traitsbackendwx-3.0.3.ebuild b/dev-python/traitsbackendwx/traitsbackendwx-3.0.3.ebuild new file mode 100644 index 000000000000..8f846f54d75e --- /dev/null +++ b/dev-python/traitsbackendwx/traitsbackendwx-3.0.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsbackendwx/traitsbackendwx-3.0.3.ebuild,v 1.1 2009/01/15 10:10:05 bicatali Exp $ + +EAPI=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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/wxpython:2.8" +DEPEND="dev-python/setuptools" + +S="${WORKDIR}/${MY_P}" +PYTHON_MODNAME="enthought" + +src_install() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_install +} diff --git a/dev-python/traitsgui/ChangeLog b/dev-python/traitsgui/ChangeLog new file mode 100644 index 000000000000..c419a8149847 --- /dev/null +++ b/dev-python/traitsgui/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/traitsgui +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/ChangeLog,v 1.1 2009/01/15 10:12:57 bicatali Exp $ + +*traitsgui-3.0.3 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +traitsgui-3.0.3.ebuild: + Initial import + diff --git a/dev-python/traitsgui/metadata.xml b/dev-python/traitsgui/metadata.xml new file mode 100644 index 000000000000..65f5f22cad6a --- /dev/null +++ b/dev-python/traitsgui/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + The TraitsGUI project from the Enthought Tool Suite contains a + toolkit-independent GUI abstraction layer (known as Pyface), which + is used to support the "visualization" features of the Traits + package. Thus, you can write code in terms of the Traits API + (views, items, editors, etc...), and let TraitsGUI and your + selected toolkit and back-end take care of the details of + displaying them. You can use Qt or Wx backends. + </longdescription> +</pkgmetadata> diff --git a/dev-python/traitsgui/traitsgui-3.0.3.ebuild b/dev-python/traitsgui/traitsgui-3.0.3.ebuild new file mode 100644 index 000000000000..208b3483b57e --- /dev/null +++ b/dev-python/traitsgui/traitsgui-3.0.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsgui/traitsgui-3.0.3.ebuild,v 1.1 2009/01/15 10:12:57 bicatali Exp $ + +EAPI=2 +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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="doc examples qt4 test wxwindows" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND="dev-python/traits + qt4? ( dev-python/traitsbackendqt ) + wxwindows? ( dev-python/traitsbackendwx )" + +DEPEND="dev-python/setuptools + test? ( >=dev-python/nose-0.10.3 )" + +# test needs X display +RESTRICT=test +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_test() { + PYTHONPATH=build/lib ${python} setup.py test || die "tests failed" +} + +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 +} |