summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-01-05 14:40:33 +0100
committerPatrick Lauer <patrick@gentoo.org>2016-01-05 14:40:57 +0100
commit84a1a34058a422b5451b302e186cdf44774137f9 (patch)
tree77837fe6536e677e4f485009e49a6a1f0cc9af77 /dev-python/cytoolz
parentdev-java/icedtea: Disable nsplugin by default to avoid conflicts (diff)
downloadgentoo-84a1a34058a422b5451b302e186cdf44774137f9.tar.gz
gentoo-84a1a34058a422b5451b302e186cdf44774137f9.tar.bz2
gentoo-84a1a34058a422b5451b302e186cdf44774137f9.zip
dev-python/cytoolz: Bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/cytoolz')
-rw-r--r--dev-python/cytoolz/Manifest1
-rw-r--r--dev-python/cytoolz/cytoolz-0.7.4.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/cytoolz/Manifest b/dev-python/cytoolz/Manifest
index f2c258d24f7a..5945fe6d870d 100644
--- a/dev-python/cytoolz/Manifest
+++ b/dev-python/cytoolz/Manifest
@@ -1,3 +1,4 @@
DIST cytoolz-0.7.1.tar.gz 250988 SHA256 297b3cf8606afc3332e0d0b0da707b306f8cec6f8f9a962a04181caee9bbf27e SHA512 742acde6316d5fe0cda1cb7be86812ad79bad9b5402e3b7d3d29f22afce3222d14fa8fe5a41d9cb2f3a3745f6a7ca5db3395873a5dee3e55c661fc01bfa3b007 WHIRLPOOL a54572e85e160fb7dda5eeb3ef2e5c4aca9c4e5a390321112783cfad1e40100d37eb0d763d92d3335a4ffab50bb562ce7f8138b9bc4a5722ddbd115f625baad1
DIST cytoolz-0.7.2.tar.gz 281930 SHA256 0800949df710aa487f52b1a9f97d8844e81e07067d6ec95581b1b792c098c159 SHA512 3423b25687b143e5c80bafbb20c1220f3030348844dc753c25e5aebd9ce0b0d3c571b386138c9f6d6546c22cd5a3f1ff73e0c2ae6ee5ad1f7607d90cc7e2da3c WHIRLPOOL bffb53e662aac32eacb7222103f79c89b8708628508e5fd6326a2bffbc30cd2a422b554c18acb537e7803cb80d1f9e6aee4501505f905358af9b19d4adf15ec1
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
diff --git a/dev-python/cytoolz/cytoolz-0.7.4.ebuild b/dev-python/cytoolz/cytoolz-0.7.4.ebuild
new file mode 100644
index 000000000000..eaa2e9af3bff
--- /dev/null
+++ b/dev-python/cytoolz/cytoolz-0.7.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 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.7.1[${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
+}