summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-12-30 07:35:08 +0800
committerIan Delaney <idella4@gentoo.org>2015-12-30 07:36:36 +0800
commit9a7afd4ebef65289eb6750fe81d1509653318823 (patch)
tree22797872e2db8ceb57330872bc72393f7dcae54a /dev-python
parentMerge remote-tracking branch 'remotes/tomboy-64/idea-ultimate' (diff)
parentdev-python/jaraco-itertools: needed as a new dep to dev-python/irc (diff)
downloadgentoo-9a7afd4ebef65289eb6750fe81d1509653318823.tar.gz
gentoo-9a7afd4ebef65289eb6750fe81d1509653318823.tar.bz2
gentoo-9a7afd4ebef65289eb6750fe81d1509653318823.zip
Merge remote-tracking branch 'remotes/sbraz/jaraco-itertools'
Pull request: https://github.com/gentoo/gentoo/pull/565
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jaraco-itertools/Manifest1
-rw-r--r--dev-python/jaraco-itertools/jaraco-itertools-1.7.1.ebuild44
-rw-r--r--dev-python/jaraco-itertools/metadata.xml14
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 00000000000..89a5624f228
--- /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 00000000000..8a9f496041b
--- /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 00000000000..9961c850ad8
--- /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>