diff options
Diffstat (limited to 'dev-python/jaraco-functools')
-rw-r--r-- | dev-python/jaraco-functools/Manifest | 5 | ||||
-rw-r--r-- | dev-python/jaraco-functools/jaraco-functools-1.19.ebuild | 60 | ||||
-rw-r--r-- | dev-python/jaraco-functools/jaraco-functools-1.20.ebuild | 60 | ||||
-rw-r--r-- | dev-python/jaraco-functools/metadata.xml | 14 |
4 files changed, 139 insertions, 0 deletions
diff --git a/dev-python/jaraco-functools/Manifest b/dev-python/jaraco-functools/Manifest new file mode 100644 index 000000000000..40e5859a5e9c --- /dev/null +++ b/dev-python/jaraco-functools/Manifest @@ -0,0 +1,5 @@ +DIST jaraco.functools-1.19.tar.gz 10588 BLAKE2B c71eb4e0c611f6a0bd82e04cacb7933961ba5e50091439c274bd8ceeda68b69789423994fe43f44af6cdd643b7a04418bc32ce2f937d118520298a019c5c6638 SHA512 7fbf1956ff8a132021e1f7fae5e98f40199a5d0e705b08b44ad5b2588fdd7d1088db9d7457b985c1852b50285a8f03cc9795fff0c4f53f9155f7c8ec371ff307 +DIST jaraco.functools-1.20.tar.gz 11063 BLAKE2B c202c3cda86c0f32fb3299a083ebb8d584eec444d9d8f0eff536f5e663634dab03c5831aef18d683dddde7eafff311b66a724d9004ad46f5ef92e90df16a9c7d SHA512 ba17b567dfcadb0d8ff1cc7a6ed07f2a23abfd42e73f3d815a6fa19d9be97d6af0c90bff7fb5e7ef67012ea5d931e9babc963da8a7105ba6a92d5c43c7126e04 +EBUILD jaraco-functools-1.19.ebuild 1559 BLAKE2B d81c73fb79917feaee1357a5c62ef2857c338eb10831e105f458ec409a044694cbe9b74f10af90a2952840f62ea4662c11952b61a7f742606489d0e34ec5e2b0 SHA512 0084cf27eca9674b9013ccf346567da5b975bfcecaa81b5ebe8b22c70dc9c4ab43e96cb2bf45e50a872935aa7aea20ca954e61e9e8df5a0c5c574f1b76451088 +EBUILD jaraco-functools-1.20.ebuild 1561 BLAKE2B 5883fbe1af5242bf99b0b1d25c49003695ceed31dae5edd7330c56d4545b9f99324d2afcc89e37971d0070d1a3f06c172bed0dd927265905834c4056e3b2cf85 SHA512 dd3556cba92eb962c3bf84974d508a2d649d5b5c29d16be76d96f6426a9673ebe1876f1ae276703b2733fa025bbbdd56ade82e70b3d42ef9a0fd97300d88d58d +MISC metadata.xml 550 BLAKE2B d8c0bdc0a3d2c0c3d37638bbc8534233acb659d38e0ed9e9e757ff35b261f241e213b73a5c55aee059aa7e73e71e574e4e4e52c12f3bfd9e6c3ac0059f2ec0ee SHA512 2fccec87fe5c57aa922ea30710d802c438f86fa3a72492dd4d2fc8917cc1a1a92ecb12fa5e9160c6245cbd6ab557791ac6f575de8a7a001842618f8d00343476 diff --git a/dev-python/jaraco-functools/jaraco-functools-1.19.ebuild b/dev-python/jaraco-functools/jaraco-functools-1.19.ebuild new file mode 100644 index 000000000000..f7baef5b9333 --- /dev/null +++ b/dev-python/jaraco-functools/jaraco-functools-1.19.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Additional functions used by other projects by developer jaraco" +HOMEPAGE="https://github.com/jaraco/jaraco.functools" +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/more-itertools[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' python2_7) +" +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}] + dev-python/backports-unittest-mock[${PYTHON_USEDEP}] + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + if use doc; then + cd docs || die + sphinx-build . _build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + # Override pytest options to skip flake8 + PYTHONPATH=. py.test --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" + } + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die +} diff --git a/dev-python/jaraco-functools/jaraco-functools-1.20.ebuild b/dev-python/jaraco-functools/jaraco-functools-1.20.ebuild new file mode 100644 index 000000000000..74eb81aba71c --- /dev/null +++ b/dev-python/jaraco-functools/jaraco-functools-1.20.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Additional functions used by other projects by developer jaraco" +HOMEPAGE="https://github.com/jaraco/jaraco.functools" +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/more-itertools[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' python2_7) +" +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}] + dev-python/backports-unittest-mock[${PYTHON_USEDEP}] + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + if use doc; then + cd docs || die + sphinx-build . _build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + # Override pytest options to skip flake8 + PYTHONPATH=. py.test --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" + } + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die +} diff --git a/dev-python/jaraco-functools/metadata.xml b/dev-python/jaraco-functools/metadata.xml new file mode 100644 index 000000000000..69d8fbca232b --- /dev/null +++ b/dev-python/jaraco-functools/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sbraz@gentoo.org</email> + <name>Louis Sautier</name> + </maintainer> + <upstream> + <remote-id type="pypi">jaraco.functools</remote-id> + <remote-id type="github">jaraco/jaraco.functools</remote-id> + <bugs-to>https://github.com/jaraco/jaraco.functools/issues</bugs-to> + <changelog>https://github.com/jaraco/jaraco.functools/blob/master/CHANGES.rst</changelog> + </upstream> +</pkgmetadata> |