diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2016-09-03 22:33:53 +0200 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-09-04 09:27:06 -0400 |
commit | 9a3b6c82fa3bc70bcb1b057a94d93d5f6f3953a4 (patch) | |
tree | 1c0718be0b268b5b19619627f576b0cae6ffb0e6 /dev-python/jaraco-itertools | |
parent | dev-libs/libaio: remove unused patches (diff) | |
download | gentoo-9a3b6c82fa3bc70bcb1b057a94d93d5f6f3953a4.tar.gz gentoo-9a3b6c82fa3bc70bcb1b057a94d93d5f6f3953a4.tar.bz2 gentoo-9a3b6c82fa3bc70bcb1b057a94d93d5f6f3953a4.zip |
dev-python/jaraco-itertools: bump to 2.0, add changelog
Package-Manager: portage-2.3.0
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-2.0.ebuild | 53 | ||||
-rw-r--r-- | dev-python/jaraco-itertools/metadata.xml | 1 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/jaraco-itertools/Manifest b/dev-python/jaraco-itertools/Manifest index 9ca3b467865b..251ef42566df 100644 --- a/dev-python/jaraco-itertools/Manifest +++ b/dev-python/jaraco-itertools/Manifest @@ -1,2 +1,3 @@ DIST jaraco.itertools-1.7.1.tar.gz 10224 SHA256 bf5c7bf22c930a0c5942e0850166b10c77bbb6286117ac2c619c78c86db97d7b SHA512 e149de3368137db4379d02858be0cbb3b6dc1e81cc06eb0f53064a55c8e25fb09b2b4387035dda29928bdf54e22d28c9d9744dfbd82a6cf4e4c90b5d42b31dfb WHIRLPOOL 7377baca4411fe8acaccf4cca763d5c47aebd62acb51e4380e0565c4b72785d439e8cee51887aa4ccde9fd0bf90ab4d824cb6878b4b7436552d120d8f5e5ea50 DIST jaraco.itertools-1.8.tar.gz 11416 SHA256 d9eb457c0ce1ae3fa5ad3cdbdb0d43d8332ec4c2323d9595629a844d9c1be812 SHA512 fd07f5120863ffffc03b248d4de9fcb206d4638cbdc6e85fb0944500918793b1314ab80a0a5400e6095739d220dd3edc55fa43b74f441c764022362ae5801732 WHIRLPOOL db3ccd96d9e89a272487b8a3ca8eb900282070122d14746aff5f268e37fa5e815d7fd6473101a421f9d7245bcd25ad1d07f25e5b0d153828ce30ad6895f21887 +DIST jaraco.itertools-2.0.tar.gz 11158 SHA256 18ecf2d93145496051c358fa114b588a69eb8a97910a6908240df4cd11df5be4 SHA512 56877e141da1c79499dee2e3cfd15a81f07d6cf6fa1ee88f4ae387423d91106f41c1787fecc194755fddc521d6284763cba93083904e67d548c053d1584a4438 WHIRLPOOL eb9804945045ea2e68128f524e3d4ebccd6648a9027f890ac957ef5e45951320e4f883a7f81b0fc1fccd37253ef5afc22efb9a91b08ef75c172c5bbb7c0a90d3 diff --git a/dev-python/jaraco-itertools/jaraco-itertools-2.0.ebuild b/dev-python/jaraco-itertools/jaraco-itertools-2.0.ebuild new file mode 100644 index 000000000000..805f91733a88 --- /dev/null +++ b/dev-python/jaraco-itertools/jaraco-itertools-2.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +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="doc 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}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/rst-linker[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/jaraco-itertools/metadata.xml b/dev-python/jaraco-itertools/metadata.xml index 1b873b425a9f..f99ac8068f24 100644 --- a/dev-python/jaraco-itertools/metadata.xml +++ b/dev-python/jaraco-itertools/metadata.xml @@ -14,5 +14,6 @@ <remote-id type="pypi">jaraco.itertools</remote-id> <remote-id type="github">jaraco/jaraco.itertools</remote-id> <bugs-to>https://github.com/jaraco/jaraco.itertools/issues</bugs-to> + <changelog>https://github.com/jaraco/jaraco.itertools/blob/master/CHANGES.rst</changelog> </upstream> </pkgmetadata> |