summaryrefslogtreecommitdiff
path: root/dev-python/jaraco-itertools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-08 10:50:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-08 10:50:14 +0100
commit3f71901f8c228f4de570abed1831ce3ee425343e (patch)
treea2dcd300d05ef8a2ec275b44a92a9d85bd3baa24 /dev-python/jaraco-itertools
parent12bb627384ddfd47382b9f1b6464481a58d01ebb (diff)
gentoo resync 08.09.2018
Diffstat (limited to 'dev-python/jaraco-itertools')
-rw-r--r--dev-python/jaraco-itertools/Manifest2
-rw-r--r--dev-python/jaraco-itertools/jaraco-itertools-2.5.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/jaraco-itertools/Manifest b/dev-python/jaraco-itertools/Manifest
index 14b7e4061c41..32e509d366da 100644
--- a/dev-python/jaraco-itertools/Manifest
+++ b/dev-python/jaraco-itertools/Manifest
@@ -1,5 +1,7 @@
DIST jaraco.itertools-2.3.tar.gz 12857 BLAKE2B 714b123965af3ff593205aab373f3097709729377cd867ca2a7ccbb7795b1818f47b0b316d4c927c9aec4eb66fe1da63b44c1d60db310dd97b5444b01f7db04d SHA512 070a442531fd079fefcb61bbbdb0cc98bc88cbc5f23f6cb40ee1fafbc9a259c69e0a373e949ab54d22836f54b0de41e1b09d10692f92d18030825ca09345be48
DIST jaraco.itertools-2.4.tar.gz 13026 BLAKE2B f7e73667a1aae0641cc8ef1bb901fe54ba6ff3742148840fb355677c9370bfa8a4ab2654864fb224f342552e5bd551e168fb7aa0dd3c61c6f10cd2b4b398f580 SHA512 95d687b4c7f32e2f8e712bd5ac8b82fa63a1571a9062d9182f13bf027c65d4266b87c2c450a89dd2ac01124e5ccaeb976a9cf14788778903be79db5f7dda6167
+DIST jaraco.itertools-2.5.tar.gz 13617 BLAKE2B 06c008a33a451314aa3e4ff0a5753dcd5e7f0b6504faea5574ea9d2061999246efbd62789e6ba81d49cc12cd4b13dd8241e58cbc71de611bd0cc773e5d40a1fa SHA512 9e56282073e7a09bcbe114c863c27d4a8233dc5b2805b17f174afcaba8643e6f8405c26f492713d0970975535102b188a4bad246b747a5718362c81a845cb494
EBUILD jaraco-itertools-2.3.ebuild 1379 BLAKE2B b39cd7ab1498d29c82fad5dcded173edd67f6558e43a2dda7c1cc08b88272c9cdc0674357b89b8ea6e660c0264550214d4bba12446bd1aeb0c8ded05c4945b62 SHA512 a6639595b6e83be1e8e8df346b47d2c365e344e7e6d6a78214e213cc2dec8b8b48c66ed294d95024a9cf541bff26967ef64b7eb707b38639af0c5d9695bb6da0
EBUILD jaraco-itertools-2.4.ebuild 1445 BLAKE2B 27dc6f04a0e5a502d19f2b8c0c127cd30a3311c8b0a59abe091d97ddc00f365284f3648e61e5643f1b84135d13562b6db4044ec08bc65a7c206bbae38673ce33 SHA512 92876eea9059caddb3b5571404efd7a3b7568ee70af62bcc10161c77f375396c0eee6f9193f305ca5515b65ca18d66b67db860ddd7220b27df7511b14edc82ba
+EBUILD jaraco-itertools-2.5.ebuild 1446 BLAKE2B fe3ebb2d3c737473d5aecc55ad551a074b1513b986b9045f9140da36fd64468a2c157be0c72fefc1d45a4d352ade4f9ad1923de8c933d2ff15fbbe0e21eb0305 SHA512 91656c9672d1c2394cfe1928209a310ba2f4fefee90290397abf4381e75c3c296ae8dc5fcdb81a440fcabdbaa04181e6ddcbd6f1644648dcd4ab838ae94a7155
MISC metadata.xml 550 BLAKE2B 9a0db00bf8d20a8942cc362092d64aad0a91d47e54fc5a7c3a6d444defb32a1045f0993d3ad2c61f6edbf059c633388ff4109e71af3454824631e79388bcc5ed SHA512 f60f044460ba89008629bbde7c052af0159ad7044124606a7cddbba403c9a20bae9b91839ab76e48e1b0481f2a6cabdbc4ca0e00e636955e2149f5ebddfd964c
diff --git a/dev-python/jaraco-itertools/jaraco-itertools-2.5.ebuild b/dev-python/jaraco-itertools/jaraco-itertools-2.5.ebuild
new file mode 100644
index 000000000000..4342eba0bde6
--- /dev/null
+++ b/dev-python/jaraco-itertools/jaraco-itertools-2.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Tests fail with PyPy and PyPy 3
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
+
+inherit distutils-r1
+
+MY_PN="${PN/-/.}"
+DESCRIPTION="Tools for working with iterables. Complements itertools and more_itertools"
+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="doc test"
+
+RDEPEND="
+ dev-python/namespace-jaraco[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/inflect[${PYTHON_USEDEP}]
+ >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
+ doc? (
+ >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
+ >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )
+ test? (
+ ${RDEPEND}
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
+ )
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+python_compile_all() {
+ if use doc; then
+ sphinx-build docs docs/_build/html || die
+ HTML_DOCS=( docs/_build/html/. )
+ fi
+}
+
+python_test() {
+ # Override pytest options to skip flake8
+ PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \
+ || die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ find "${ED}" -name '*.pth' -delete || die
+}