diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2017-06-28 03:20:40 +0000 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2017-06-28 04:00:15 +0000 |
commit | 1d078d6d3038125b7d3279f2bff4f5b7fc5916b2 (patch) | |
tree | bee2edb633dd7e94da8ac8a014a7b44281275a28 /dev-python/cytoolz | |
parent | dev-python/into: added python-3.6 (diff) | |
download | gentoo-1d078d6d3038125b7d3279f2bff4f5b7fc5916b2.tar.gz gentoo-1d078d6d3038125b7d3279f2bff4f5b7fc5916b2.tar.bz2 gentoo-1d078d6d3038125b7d3279f2bff4f5b7fc5916b2.zip |
dev-python/cytoolz: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/cytoolz')
-rw-r--r-- | dev-python/cytoolz/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cytoolz/cytoolz-0.8.2.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/cytoolz/Manifest b/dev-python/cytoolz/Manifest index 635a64f1a4e7..b88311fa2c34 100644 --- a/dev-python/cytoolz/Manifest +++ b/dev-python/cytoolz/Manifest @@ -1 +1,2 @@ DIST cytoolz-0.8.0.tar.gz 349493 SHA256 2239890c8fe2da3eba82947c6a68cfa406e5a5045911c9ab3de8113462372629 SHA512 08a97312602b3bd71cb9a3b6f879121f739c73065210bcbac227e366112b2157d479912040296d58c5aa79d3fab8496fb92b12e0ee8df0cca15f46f151312b73 WHIRLPOOL 857501b3806f00ff65240ed2b301e62202d92ae535879a952782d6d81950d0c2c6721bfe08d581d4fda699209a624a1ca667509c4901910444099b23d5741637 +DIST cytoolz-0.8.2.tar.gz 386259 SHA256 476a2ad176de5eaef80499b7b43d4f72ba6d23df33d349088dae315e9b31c552 SHA512 b75408db5c13c1142fe71f37c43e7b3dd73cba294571ddaf5dc1bf03ae0e18fb7b6d37f42980db65a4e074b923ac1243a90f1dd30302f0f9be3d7b1904014082 WHIRLPOOL 213d812bc49af13019836c779eee0f701ad5afdcdaf46af521efeb9379fb2396f7980540c28681453331dc0baec1389af322ae6ee1cd7249aac5d7d4d638702e diff --git a/dev-python/cytoolz/cytoolz-0.8.2.ebuild b/dev-python/cytoolz/cytoolz-0.8.2.ebuild new file mode 100644 index 000000000000..fb229fab00fd --- /dev/null +++ b/dev-python/cytoolz/cytoolz-0.8.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +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 ~amd64-linux ~x86-linux" +IUSE="test" + +# Informed by author the dep in toolz is not only required but the +# tests are version sensitive. +# https://github.com/pytoolz/cytoolz/issues/57 +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] + >=dev-python/toolz-0.8[${PYTHON_USEDEP}] )" + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + + distutils-r1_python_compile +} + +python_test() { + pushd "${BUILD_DIR}"/lib/ > /dev/null || die + PYTHONPATH=.:${PN} nosetests --with-doctest ${PN} || die "tests failed under ${EPYTHON}" + popd > /dev/null || die +} |