diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-15 09:02:04 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-15 09:34:32 +0100 |
commit | 4066990b80c9dde3e330d02b53b3a3c69a1f0f25 (patch) | |
tree | a76a099e0d579a2f4da8b7e93b708d527a6ed4fd /dev-python/jaraco-itertools | |
parent | sys-libs/libcap: Removed old (diff) | |
download | gentoo-4066990b80c9dde3e330d02b53b3a3c69a1f0f25.tar.gz gentoo-4066990b80c9dde3e330d02b53b3a3c69a1f0f25.tar.bz2 gentoo-4066990b80c9dde3e330d02b53b3a3c69a1f0f25.zip |
dev-python/jaraco-itertools: Bump to 6.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
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-6.0.1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/jaraco-itertools/Manifest b/dev-python/jaraco-itertools/Manifest index aefb78ddb76d..3270c5100ce7 100644 --- a/dev-python/jaraco-itertools/Manifest +++ b/dev-python/jaraco-itertools/Manifest @@ -1 +1,2 @@ DIST jaraco.itertools-5.0.0.tar.gz 19517 BLAKE2B b38bbb75daa53ce9390a51099b3ebad16696924c26c6674a7c5b9ae5e219db6560d1bae24b4c491d6e424b7fecea66dac2eab673d0cfa91fbdb3a4246b852944 SHA512 38ae2cbdd436b277e3d3c252fadeb5239e2d32b2291686b2a3dbaca69328392eb1db4318b2144954b17302e5b15b94ad89f1ea8a1b2e354deec7d4516bd7ec85 +DIST jaraco.itertools-6.0.1.tar.gz 20096 BLAKE2B 19240d015cc2cb628193c1da6f8ac8eca2c79c9b7ddf1eac909a27bcd80c6b06ea8f7f2fcc435071ff7e9c602d9d8131c258deb910eea0d5ae0f8de69f4901b1 SHA512 60a4bf4335bd159b1b2ed532f4b72c47984a8e2afc03bafb7ccb53095da787cecbcb6207bb2c521266285bd5bf0550f1a78dd5323266bde6e00937481599a506 diff --git a/dev-python/jaraco-itertools/jaraco-itertools-6.0.1.ebuild b/dev-python/jaraco-itertools/jaraco-itertools-6.0.1.ebuild new file mode 100644 index 000000000000..280d2694c465 --- /dev/null +++ b/dev-python/jaraco-itertools/jaraco-itertools-6.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) + +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="Tools for working with iterables. Complements itertools and more_itertools" +HOMEPAGE="https://github.com/jaraco/jaraco.itertools" +SRC_URI="mirror://pypi/${MY_P::1}/${PN/-/.}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/inflect[${PYTHON_USEDEP}] + >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ + '>=dev-python/rst-linker-1.9' +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local deselect=() + [[ ${EPYTHON} == pypy3 ]] && deselect+=( + # https://github.com/jaraco/jaraco.itertools/issues/7 + jaraco/itertools.py::jaraco.itertools.always_iterable + ) + + # needed for doctests to work + > jaraco/__init__.py || die + epytest --doctest-modules ${deselect[@]/#/--deselect } +} |