diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-18 14:34:38 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-18 14:34:38 +0000 |
commit | 24de694ee5c703097b797d86868595dd8f52e835 (patch) | |
tree | 76c8d91827b40e1528649a966f5f78ee4825326d /dev-python | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-24de694ee5c703097b797d86868595dd8f52e835.tar.gz gentoo-2-24de694ee5c703097b797d86868595dd8f52e835.tar.bz2 gentoo-2-24de694ee5c703097b797d86868595dd8f52e835.zip |
Version bump.
(Portage version: 2.2_rc98/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/envisagecore/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/envisagecore/envisagecore-3.1.3.ebuild | 74 |
2 files changed, 81 insertions, 1 deletions
diff --git a/dev-python/envisagecore/ChangeLog b/dev-python/envisagecore/ChangeLog index eee8a5668310..a4210c34b776 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.6 2010/07/07 15:56:24 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/envisagecore/ChangeLog,v 1.7 2010/10/18 14:34:38 arfrever Exp $ + +*envisagecore-3.1.3 (18 Oct 2010) + + 18 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -envisagecore-3.1.2.ebuild, +envisagecore-3.1.3.ebuild: + Version bump. 07 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> envisagecore-3.1.2.ebuild: diff --git a/dev-python/envisagecore/envisagecore-3.1.3.ebuild b/dev-python/envisagecore/envisagecore-3.1.3.ebuild new file mode 100644 index 000000000000..e02d0e4d6516 --- /dev/null +++ b/dev-python/envisagecore/envisagecore-3.1.3.ebuild @@ -0,0 +1,74 @@ +# 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.3.ebuild,v 1.1 2010/10/18 14:34:38 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils virtualx + +MY_PN="EnvisageCore" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Enthought Tool Suite extensible application framework" +HOMEPAGE="http://code.enthought.com/projects/envisage/ http://pypi.python.org/pypi/EnvisageCore" +SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" + +RDEPEND=">=dev-python/apptools-3.4.0 + >=dev-python/enthoughtbase-3.0.6 + >=dev-python/traits-3.5.0" +DEPEND="${RDEPEND} + dev-python/setuptools + doc? ( dev-python/setupdocs ) + test? ( + dev-python/coverage + >=dev-python/nose-0.10.3 + media-fonts/font-cursor-misc + media-fonts/font-misc-misc + x11-apps/xhost + )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + distutils_src_prepare + + sed \ + -e "s/self.run_command('build_docs')/pass/" \ + -e "/setupdocs>=1.0/d" \ + -i setup.py || die "sed setup.py failed" +} + +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() { + maketype="distutils_src_test" virtualmake +} + +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 +} |