diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2015-12-29 23:10:59 +0100 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-12-30 07:36:34 +0800 |
commit | 3c4bfbb6c333e40a763e0b09ed309e1af8fb5bb2 (patch) | |
tree | f6e4a305338b256461e236e6d10a5f2c7230e2f1 /dev-python/jaraco-itertools | |
parent | dev-perl/common-sense: Remove old (diff) | |
download | gentoo-3c4bfbb6c333e40a763e0b09ed309e1af8fb5bb2.tar.gz gentoo-3c4bfbb6c333e40a763e0b09ed309e1af8fb5bb2.tar.bz2 gentoo-3c4bfbb6c333e40a763e0b09ed309e1af8fb5bb2.zip |
dev-python/jaraco-itertools: needed as a new dep to dev-python/irc
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/jaraco-itertools')
-rw-r--r-- | dev-python/jaraco-itertools/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jaraco-itertools/jaraco-itertools-1.7.1.ebuild | 44 | ||||
-rw-r--r-- | dev-python/jaraco-itertools/metadata.xml | 14 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/jaraco-itertools/Manifest b/dev-python/jaraco-itertools/Manifest new file mode 100644 index 000000000000..89a5624f2283 --- /dev/null +++ b/dev-python/jaraco-itertools/Manifest @@ -0,0 +1 @@ +DIST jaraco.itertools-1.7.1.tar.gz 10224 SHA256 bf5c7bf22c930a0c5942e0850166b10c77bbb6286117ac2c619c78c86db97d7b SHA512 e149de3368137db4379d02858be0cbb3b6dc1e81cc06eb0f53064a55c8e25fb09b2b4387035dda29928bdf54e22d28c9d9744dfbd82a6cf4e4c90b5d42b31dfb WHIRLPOOL 7377baca4411fe8acaccf4cca763d5c47aebd62acb51e4380e0565c4b72785d439e8cee51887aa4ccde9fd0bf90ab4d824cb6878b4b7436552d120d8f5e5ea50 diff --git a/dev-python/jaraco-itertools/jaraco-itertools-1.7.1.ebuild b/dev-python/jaraco-itertools/jaraco-itertools-1.7.1.ebuild new file mode 100644 index 000000000000..8a9f496041bb --- /dev/null +++ b/dev-python/jaraco-itertools/jaraco-itertools-1.7.1.ebuild @@ -0,0 +1,44 @@ +# 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_4,3_5} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Additional functions used by other projects by developer jaraco" +HOMEPAGE="https://github.com/jaraco/jaraco.itertools" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] +dev-python/inflect[${PYTHON_USEDEP}] +dev-python/more-itertools[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_prepare_all() { + if use test && has_version "${CATEGORY}/${PN}"; then + die "Ensure $PN is not already installed or the test suite will fail" + fi + distutils-r1_python_prepare_all +} + +python_test() { + PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/jaraco-itertools/metadata.xml b/dev-python/jaraco-itertools/metadata.xml new file mode 100644 index 000000000000..9961c850ad88 --- /dev/null +++ b/dev-python/jaraco-itertools/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>sautier.louis@gmail.com</email> + <name>Louis Sautier</name> + <description>Proxied maintainer; set to assignee in all bugs</description> + </maintainer> + <upstream> + <remote-id type="pypi">jaraco.itertools</remote-id> + <remote-id type="github">jaraco/jaraco.itertools</remote-id> + </upstream> +</pkgmetadata> |