add dev-python/cytoolz and dev-python/toolz
This commit is contained in:
parent
34e4a1875f
commit
d6a0221d05
1
dev-python/cytoolz/Manifest
Normal file
1
dev-python/cytoolz/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST cytoolz-0.10.1.tar.gz 475647 BLAKE2B 918e06a942cc5702acbe4ba74573a0e157d141e335e60e8a918be45cc713ff3746035bebed826803d84abbdc4f3848f64f0000b4e65ec61aa8d2d734f53a0b6d SHA512 55c4fca8d4ace766a8241a25a6c4924971b7e7068ee79ad65fa8aac136aa1f88e57337c0ec278ee9e8544c6e96dd31138b39d7cc28cd91ff0e53a71f8dec55d1
|
38
dev-python/cytoolz/cytoolz-0.10.1.ebuild
Normal file
38
dev-python/cytoolz/cytoolz-0.10.1.ebuild
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
|
||||
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"
|
||||
RESTRICT="!test? ( 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
|
||||
}
|
11
dev-python/cytoolz/metadata.xml
Normal file
11
dev-python/cytoolz/metadata.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">cytoolz</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
1
dev-python/toolz/Manifest
Normal file
1
dev-python/toolz/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST toolz-0.10.0.tar.gz 49579 BLAKE2B c323bf1ba1da5c01a1a1d879ef545767b8253c906baba63a0f600d2879c5b7120c4978574447954648c23c22221ba05de2a2c7437eed1eeff31dface1c823f6e SHA512 4ed40c165462440c6004974d2515067f211c625bebcb69ea854fd8837e1fe05febc546215355a6bb9de5916c8ba98a4d297f8aa20e40ffbc8a730b2bb3831a71
|
11
dev-python/toolz/metadata.xml
Normal file
11
dev-python/toolz/metadata.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">toolz</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
17
dev-python/toolz/toolz-0.10.0.ebuild
Normal file
17
dev-python/toolz/toolz-0.10.0.ebuild
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="List processing tools and functional utilities"
|
||||
HOMEPAGE="https://pypi.org/project/toolz/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
Loading…
Reference in a new issue