diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-01-15 09:37:09 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-01-15 09:37:09 +0000 |
commit | 641e9c7a88fae924d43a81f9a1a3b103fa08c4c7 (patch) | |
tree | 4075ed859d08200cf3ad0565788180e3138f6663 /dev-python/enthoughtbase | |
parent | Initial import (diff) | |
download | historical-641e9c7a88fae924d43a81f9a1a3b103fa08c4c7.tar.gz historical-641e9c7a88fae924d43a81f9a1a3b103fa08c4c7.tar.bz2 historical-641e9c7a88fae924d43a81f9a1a3b103fa08c4c7.zip |
Initial import
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'dev-python/enthoughtbase')
-rw-r--r-- | dev-python/enthoughtbase/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild | 56 | ||||
-rw-r--r-- | dev-python/enthoughtbase/metadata.xml | 19 |
3 files changed, 85 insertions, 0 deletions
diff --git a/dev-python/enthoughtbase/ChangeLog b/dev-python/enthoughtbase/ChangeLog new file mode 100644 index 000000000000..fdf128e5d0e3 --- /dev/null +++ b/dev-python/enthoughtbase/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/enthoughtbase +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/ChangeLog,v 1.1 2009/01/15 09:35:31 bicatali Exp $ + +*enthoughtbase-3.0.1 (15 Jan 2009) + + 15 Jan 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +enthoughtbase-3.0.1.ebuild: + Initial import + diff --git a/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild b/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild new file mode 100644 index 000000000000..f3199c474a76 --- /dev/null +++ b/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild,v 1.1 2009/01/15 09:35:31 bicatali Exp $ + +EAPI=2 +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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="doc examples" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD LGPL-2" +RDEPEND="" +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs )" +# test? ( >=dev-python/nose-0.10.3 dev-python/etsdevtools )" +# 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_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 + 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/enthoughtbase/metadata.xml b/dev-python/enthoughtbase/metadata.xml new file mode 100644 index 000000000000..bbf6cbfce808 --- /dev/null +++ b/dev-python/enthoughtbase/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 EnthoughtBase project includes a few core packages that are used + by many other projects in the Enthought Tool Suite: + * enthought.etsconfig: Supports configuring settings that need to + be shared across multiple projects or programs on the same + system. Most significant of these is the GUI toolkit to be + used. You can also configure locations for writing application + data and user data, and the name of the company responsible for + the software (which is used in the application and user data + paths on some systems). + * enthought.logger: Provides convenience functions for creating + logging handlers. + * enthought.util: Provides miscellaneous utility functions + </longdescription> +</pkgmetadata> |