diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-06-29 18:02:12 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-06-29 18:02:25 +0200 |
commit | 29285f2a238321eac3f50d1bda0ad7a3113ca608 (patch) | |
tree | d63953254f5ac130a7596d21ab4c172a3322c514 /dev-python/cytoolz | |
parent | e8bf1ccc71dbe78e9d8eaec710ce14daa63b249c (diff) | |
download | gentoo-29285f2a238321eac3f50d1bda0ad7a3113ca608.tar.gz gentoo-29285f2a238321eac3f50d1bda0ad7a3113ca608.tar.xz |
dev-python/cytoolz: Bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/cytoolz')
-rw-r--r-- | dev-python/cytoolz/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cytoolz/cytoolz-0.8.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/cytoolz/Manifest b/dev-python/cytoolz/Manifest index d937ad25166..fa993fd7043 100644 --- a/dev-python/cytoolz/Manifest +++ b/dev-python/cytoolz/Manifest @@ -3,3 +3,4 @@ DIST cytoolz-0.7.2.tar.gz 281930 SHA256 0800949df710aa487f52b1a9f97d8844e81e0706 DIST cytoolz-0.7.3.tar.gz 304597 SHA256 202eb77cf2405c702c2172e5c2e66e3e2611f866640c99b38f24f96ad680dea8 SHA512 a9e83cb22b3b9af0c28754696c59a081e74e03b23f63eaf7bf31526d33b9d645bb82ec98e650e1a6c17d367951cbea6417c6b8c69ff3d80e2d45a8a44c97ed16 WHIRLPOOL fd16958c1158be3265c22a27d8c5a12510e20038cb846dac13ce6f24060096b64030bc4aea5f0c48bff6464b8fab048c3e3b0aef604e69693b38d5c9b7056051 DIST cytoolz-0.7.4.tar.gz 335433 SHA256 9c2e3dda8232b6cd5b84b8c8df6c8155c2adeb8734eb7ec38e189affc0f2eba5 SHA512 bf79ea175567bfbc438019a53fa94e2a38ab635cca9169043d1362487ba9ac15f350530bbdf409f666e3cc6a8b0a9bc63db25ba5f77bcbe75bc8528a6a367ecb WHIRLPOOL e3e0805d6e507dd08269b2fd8b97701d133cef0487cf2d0cb55820289c48ad5d2cb3cc6f7a881fc95436df02518abcda6b0e16865e3ee062564caeb2fe46b7c5 DIST cytoolz-0.7.5.tar.gz 334818 SHA256 329b29cf0fca3978a875f802fc9045e6a18c1702d8c55b30ccc34e137d271d5a SHA512 0db30dfdacc98300b58da492679ffb34f5601281d146a21f3165b862eefd1752a509935378d2fbbfde5d1bfa0448c5d175e356fdec82919c6afd85993c6a7116 WHIRLPOOL 2e2bb4b77c6334a9159f6409cc51d8b85b4a2a017322ff3750d04b79c014e2fd70a43fb3d224bd526950648c71e7385e16b17f5588692f2ece98582492e854ec +DIST cytoolz-0.8.0.tar.gz 349493 SHA256 2239890c8fe2da3eba82947c6a68cfa406e5a5045911c9ab3de8113462372629 SHA512 08a97312602b3bd71cb9a3b6f879121f739c73065210bcbac227e366112b2157d479912040296d58c5aa79d3fab8496fb92b12e0ee8df0cca15f46f151312b73 WHIRLPOOL 857501b3806f00ff65240ed2b301e62202d92ae535879a952782d6d81950d0c2c6721bfe08d581d4fda699209a624a1ca667509c4901910444099b23d5741637 diff --git a/dev-python/cytoolz/cytoolz-0.8.0.ebuild b/dev-python/cytoolz/cytoolz-0.8.0.ebuild new file mode 100644 index 00000000000..eda91767c00 --- /dev/null +++ b/dev-python/cytoolz/cytoolz-0.8.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" + +# 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 + PYTHONPATH=.:${PN} nosetests --with-doctest ${PN} || die "tests failed under ${EPYTHON}" + popd > /dev/null +} |