diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /dev-python/cytoolz | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'dev-python/cytoolz')
-rw-r--r-- | dev-python/cytoolz/Manifest | 2 | ||||
-rw-r--r-- | dev-python/cytoolz/cytoolz-0.10.0.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/cytoolz/Manifest b/dev-python/cytoolz/Manifest index 38f686f6e2dc..fddad023bc71 100644 --- a/dev-python/cytoolz/Manifest +++ b/dev-python/cytoolz/Manifest @@ -1,5 +1,7 @@ +DIST cytoolz-0.10.0.tar.gz 475069 BLAKE2B aabd1bee4ee5b17640cc1e4126920c4e21893286315e3e4a5e968fb52dab371ade7a00f3082a704dbaeeb00af5ccb3cb9743fd66a3d23ad5879503f66c4f0c49 SHA512 62e90837125fae5dc6b96ac13a7fc2193604cd1250173b8e24ba3e65571e9394369cad07e39e7e6e42da0e3dab04db98193ba55195267c49447cc7ec0ff7b840 DIST cytoolz-0.8.0.tar.gz 349493 BLAKE2B 4dca289eea51f34aa0faf869778a289c12c7e7c43893680c3f6c6302312e47cae6070203b21951a4a9c38f373f87fb773e9ccb9787568b378638d449d82ffb47 SHA512 08a97312602b3bd71cb9a3b6f879121f739c73065210bcbac227e366112b2157d479912040296d58c5aa79d3fab8496fb92b12e0ee8df0cca15f46f151312b73 DIST cytoolz-0.8.2.tar.gz 386259 BLAKE2B eaf31b9e40cf53ecf32b7113d55d4600ea6105187f78a4cb6f0b0ceccf02d2c5fd637ecd3d8f80328b209eb694ef67c7c188ca8c458f896868bbc2a71b2e9ce4 SHA512 b75408db5c13c1142fe71f37c43e7b3dd73cba294571ddaf5dc1bf03ae0e18fb7b6d37f42980db65a4e074b923ac1243a90f1dd30302f0f9be3d7b1904014082 +EBUILD cytoolz-0.10.0.ebuild 1046 BLAKE2B e8fbb3e4aca9ca307530d089b9967b7050cdb8bd4ad285b5ce374985a96b3297958723f25de131d1edf0d829616a273503b5d23fd18f9e564c0d25fca3e362eb SHA512 9110d1fa1f299d45513ea24a5deec91f4cf1159b4ecbff69038b0715ed98df4d65f5bcba6405ea3fe4c78aa58d8b87b46cd5edc5230391f6313867046bd0f0c9 EBUILD cytoolz-0.8.0.ebuild 1016 BLAKE2B 126af961e1d4b6b5c70d50dde21de1fbf73dd2677073133de5ed0a8421f5260028c82722786a0cb9bfb5c57fdcdbc15617741dc63425b4ab9ddf5fd6bda3bfc2 SHA512 580dfafa32ab0935f8fc0801674a907726d8abeac66ff4e4173ad3d3c22916c6f8a80b926a922a00e66e5642a1e2f409ae3f53be33356dec26453a900bfdea35 EBUILD cytoolz-0.8.2.ebuild 1042 BLAKE2B a006aa531ac1f8e022c2c8aa5a7ec0fc9b604e23f0231b97a23911e345e9fb55dd7eb77de678051ae2ceb962dc1df0acc11f4eac3bdc816dbc8d977a36d50d06 SHA512 6c0cd0aa91f37c427f6d56627907a2c231ca583179bb890cb19ccd6fbcabdbf031cde38e3c963b936fcae27ef44c3c7f0e178086fa54e6666e7f3ae872a7149b MISC metadata.xml 310 BLAKE2B e591a8dddc9f32e19aa8510333860ea3ed1f833005b621d59f653b97e0863dac0acc67ee66a3a2c53062bf4ef0c0028e67082d24c0793d3bf0ac2ae60e2bec08 SHA512 3858eac51c768acb385d86f38529d983b781efcc4cb0ce8b6bc326962df9541d13f21881c4deffa19b5575ae7fbd1b97da58a3ab65dc724eac7144a050de540f diff --git a/dev-python/cytoolz/cytoolz-0.10.0.ebuild b/dev-python/cytoolz/cytoolz-0.10.0.ebuild new file mode 100644 index 000000000000..3ca13821b155 --- /dev/null +++ b/dev-python/cytoolz/cytoolz-0.10.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) + +inherit distutils-r1 + +DESCRIPTION="Cython implementation of Toolz: High performance functional utilities" +HOMEPAGE="https://pypi.org/project/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 +} |