diff options
Diffstat (limited to 'dev-python/traits')
-rw-r--r-- | dev-python/traits/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/traits/Manifest | 4 | ||||
-rw-r--r-- | dev-python/traits/traits-3.5.0.ebuild | 70 |
3 files changed, 80 insertions, 2 deletions
diff --git a/dev-python/traits/ChangeLog b/dev-python/traits/ChangeLog index cc22473d0073..d76b618f7139 100644 --- a/dev-python/traits/ChangeLog +++ b/dev-python/traits/ChangeLog @@ -1,6 +1,12 @@ # 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.13 2010/10/15 20:49:59 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.14 2010/10/18 13:02:19 arfrever Exp $ + +*traits-3.5.0 (18 Oct 2010) + + 18 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +traits-3.5.0.ebuild: + Version bump. 15 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> -traits-3.2.0.ebuild, -traits-3.3.0.ebuild: diff --git a/dev-python/traits/Manifest b/dev-python/traits/Manifest index ca332f10775c..ccfdd8340ef0 100644 --- a/dev-python/traits/Manifest +++ b/dev-python/traits/Manifest @@ -1,4 +1,6 @@ DIST Traits-3.4.0.tar.gz 12988128 RMD160 a1db8bef47576fc28286f0a1be8940c8d94b06d8 SHA1 0d92352f9cd89fd9c2072bc0043137254b297335 SHA256 cf79c737066c37f942f8d1ea3bf7dd0e64c31d10a16a68376582e343a0bac011 +DIST Traits-3.5.0.tar.gz 12990129 RMD160 9e8d8d548ae89bda5c590d485f7d6ba014be6282 SHA1 766e2c66f2d064b2d765c50e8b18564aa3d1fcb3 SHA256 df6accdb3ced26af35a3d33610e2f633cc753d14d6b9208102c0acdb7c08b4d4 EBUILD traits-3.4.0.ebuild 1596 RMD160 edd7b4b74ee911a78e7b5673c51b28ee5dd0ec51 SHA1 49eb4653308d0107ebe417b3b81ae86a1e26fc87 SHA256 e8cd84b73669134f0b84fb830b326886883c2dc9a953b800ac0f986ed5067a55 -MISC ChangeLog 1843 RMD160 b016386d855107673c688d3caf497fc874c6aa10 SHA1 85301bccd2ec882285c1d181f5427d03e2c0bfc1 SHA256 3896c20d793aa6de0a16dd22c9752f27e7090ed6ef84e158c605aba97745b280 +EBUILD traits-3.5.0.ebuild 1608 RMD160 6f557090fce1f4a13f15cc7ff12865641922a5df SHA1 39bb423c6cf9f64da1397fa233af34a8ad4eb57b SHA256 c0a6dead37b0d73206b6d43f3259f8ef91e567739a1d16dd761b9993f51aa685 +MISC ChangeLog 1986 RMD160 28e8d04aef55d00ce4e15770dae3cf5ae199b3f2 SHA1 8be9db056111a9f50422f14a37f25aaa3a5e83c3 SHA256 6f96d055e629a257045c679029a146a94ce41d988d9a7c6e4df64f3997a7144e MISC metadata.xml 893 RMD160 93229c95a8db10e0ba7e56e62e13a8c958678464 SHA1 5212de77ac8dec31236887902bc6301f133a2b59 SHA256 9d3429d85f4fcfe0abbfff888ea41c1d0b930fee06a3d89c7960b23c12309c26 diff --git a/dev-python/traits/traits-3.5.0.ebuild b/dev-python/traits/traits-3.5.0.ebuild new file mode 100644 index 000000000000..1ae180e57a44 --- /dev/null +++ b/dev-python/traits/traits-3.5.0.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/traits/traits-3.5.0.ebuild,v 1.1 2010/10/18 13:02:19 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="setup.py" + +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 http://pypi.python.org/pypi/Traits" +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/numpy-1.1 + >=dev-python/enthoughtbase-3.0.6" +DEPEND="dev-python/setuptools + doc? ( dev-python/setupdocs ) + test? ( + >=dev-python/nose-0.10.3 + >=dev-python/numpy-1.1 + )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +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 + einfo "Generation of documentation" + "$(PYTHON -f)" setup.py build_docs --formats=html || die "Generation of documentation failed" + fi +} + +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 +} |