diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-03-18 05:10:57 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-03-18 05:10:57 +0000 |
commit | d674c50a89b822b1eb85a7a78df4e393f2f5827d (patch) | |
tree | b300bfa72974b20c509804c177548e1460d13e3d /dev-python/cytoolz | |
parent | Bump (diff) | |
download | gentoo-2-d674c50a89b822b1eb85a7a78df4e393f2f5827d.tar.gz gentoo-2-d674c50a89b822b1eb85a7a78df4e393f2f5827d.tar.bz2 gentoo-2-d674c50a89b822b1eb85a7a78df4e393f2f5827d.zip |
revbump; add test phase, dep nose and upstream bug in comment
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/cytoolz')
-rw-r--r-- | dev-python/cytoolz/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/cytoolz/cytoolz-0.7.0.ebuild | 20 | ||||
-rw-r--r-- | dev-python/cytoolz/cytoolz-0.7.2-r1.ebuild | 34 |
3 files changed, 41 insertions, 21 deletions
diff --git a/dev-python/cytoolz/ChangeLog b/dev-python/cytoolz/ChangeLog index fcde6f29fa38..f3b4128192e4 100644 --- a/dev-python/cytoolz/ChangeLog +++ b/dev-python/cytoolz/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/cytoolz # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cytoolz/ChangeLog,v 1.6 2015/03/17 07:44:13 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cytoolz/ChangeLog,v 1.7 2015/03/18 05:10:57 idella4 Exp $ + +*cytoolz-0.7.2-r1 (18 Mar 2015) + + 18 Mar 2015; Ian Delaney <idella4@gentoo.org> +cytoolz-0.7.2-r1.ebuild, + -cytoolz-0.7.0.ebuild: + revbump; add test phase, dep nose and upstream bug in comment *cytoolz-0.7.2 (17 Mar 2015) diff --git a/dev-python/cytoolz/cytoolz-0.7.0.ebuild b/dev-python/cytoolz/cytoolz-0.7.0.ebuild deleted file mode 100644 index ec83099cb6a0..000000000000 --- a/dev-python/cytoolz/cytoolz-0.7.0.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cytoolz/cytoolz-0.7.0.ebuild,v 1.1 2014/09/02 03:59:10 patrick Exp $ - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit distutils-r1 - -DESCRIPTION="Cython implementation of Toolz: High performance functional utilities" -HOMEPAGE="https://pypi.python.org/pypi/cytoolz" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-python/cython[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" diff --git a/dev-python/cytoolz/cytoolz-0.7.2-r1.ebuild b/dev-python/cytoolz/cytoolz-0.7.2-r1.ebuild new file mode 100644 index 000000000000..6008c2e53a19 --- /dev/null +++ b/dev-python/cytoolz/cytoolz-0.7.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cytoolz/cytoolz-0.7.2-r1.ebuild,v 1.1 2015/03/18 05:10:57 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="Cython implementation of Toolz: High performance functional utilities" +HOMEPAGE="https://pypi.python.org/pypi/cytoolz" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/cython[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + + distutils-r1_python_compile +} + +python_test() { + # https://github.com/pytoolz/cytoolz/issues/57 + pushd "${BUILD_DIR}"/lib/ > /dev/null + PYTHONPATH=.:${PN} nosetests --with-doctest ${PN} || die "tests failed under ${EPYTHON}" + popd > /dev/null +} |