diff options
author | 2011-08-03 23:51:50 +0000 | |
---|---|---|
committer | 2011-08-03 23:51:50 +0000 | |
commit | 35b86fee8db36fabe5b3d059a2759cf41f66c253 (patch) | |
tree | c4dc08e9000120a4dd564233bb55f322a48afa51 | |
parent | Version bump. Possible API break. (diff) | |
download | gentoo-2-35b86fee8db36fabe5b3d059a2759cf41f66c253.tar.gz gentoo-2-35b86fee8db36fabe5b3d059a2759cf41f66c253.tar.bz2 gentoo-2-35b86fee8db36fabe5b3d059a2759cf41f66c253.zip |
Version bump. Possible API break.
(Portage version: 2.1.10.10/cvs/Linux x86_64)
-rw-r--r-- | dev-python/codetools/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/codetools/codetools-4.0.0.ebuild | 65 |
2 files changed, 71 insertions, 1 deletions
diff --git a/dev-python/codetools/ChangeLog b/dev-python/codetools/ChangeLog index d47af6db5d35..daceef8dc814 100644 --- a/dev-python/codetools/ChangeLog +++ b/dev-python/codetools/ChangeLog @@ -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 index 000000000000..22ce7ece593b --- /dev/null +++ b/dev-python/codetools/codetools-4.0.0.ebuild @@ -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 +} |