dev-python/cytoolz: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Sébastien Fabbro
2017-06-28 03:20:40 +00:00
parent 82dbf34875
commit 1d078d6d30
2 changed files with 38 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}