summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-06-25 08:03:48 +0000
committerIan Delaney <idella4@gentoo.org>2014-06-25 08:03:48 +0000
commitdf65614face2141f11225ad2bc31835b42975ede (patch)
tree58d3fb2b2e144f777a3c8e3f9413e48bd9035d5c /dev-python/traits
parentbump; add py3.4 pypy (diff)
downloadgentoo-2-df65614face2141f11225ad2bc31835b42975ede.tar.gz
gentoo-2-df65614face2141f11225ad2bc31835b42975ede.tar.bz2
gentoo-2-df65614face2141f11225ad2bc31835b42975ede.zip
bump; drop py2.6
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/traits')
-rw-r--r--dev-python/traits/ChangeLog7
-rw-r--r--dev-python/traits/traits-4.5.0.ebuild37
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-python/traits/ChangeLog b/dev-python/traits/ChangeLog
index aebafff2bae7..36ca02bcf050 100644
--- a/dev-python/traits/ChangeLog
+++ b/dev-python/traits/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/traits
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.43 2014/01/29 16:58:57 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/ChangeLog,v 1.44 2014/06/25 08:03:48 idella4 Exp $
+
+*traits-4.5.0 (25 Jun 2014)
+
+ 25 Jun 2014; Ian Delaney <idella4@gentoo.org> +traits-4.5.0.ebuild:
+ bump; drop py2.6
*traits-4.4.0 (29 Jan 2014)
diff --git a/dev-python/traits/traits-4.5.0.ebuild b/dev-python/traits/traits-4.5.0.ebuild
new file mode 100644
index 000000000000..161ae124337b
--- /dev/null
+++ b/dev-python/traits/traits-4.5.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-4.5.0.ebuild,v 1.1 2014/06/25 08:03:48 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python"
+HOMEPAGE="http://code.enthought.com/projects/traits/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND} )"
+
+python_prepare_all() {
+ sed -i -e "s/'-O3'//g" setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}
+
+python_test() {
+ cd "${BUILD_DIR}"/lib || die
+ nosetests || die
+}