From ec484ecf87c494d32bd3d46394c7a16bb521c751 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Tue, 25 Aug 2015 10:25:05 +0200 Subject: [PATCH] dev-python/pytest-runner: Version Bump Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher --- dev-python/pytest-runner/Manifest | 1 + .../pytest-runner/pytest-runner-2.6.2.ebuild | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-python/pytest-runner/pytest-runner-2.6.2.ebuild diff --git a/dev-python/pytest-runner/Manifest b/dev-python/pytest-runner/Manifest index 335c744f85dd..40a479a8f262 100644 --- a/dev-python/pytest-runner/Manifest +++ b/dev-python/pytest-runner/Manifest @@ -1,3 +1,4 @@ DIST pytest-runner-2.1.2.zip 5413 SHA256 544b53ade15931ad9bc74fecd897c49b2f3a9a1affc94bcbd88508548f6abbfc SHA512 ac82dfbe102fb4079c061f5700e5100713b51e3d71cb736c7956d1f5404e3ad5a44bf72b5164fde961e189819ef532a60623068e6f05b42a73bd700d056a55b8 WHIRLPOOL f0d9f5b0bc5f3e3fa9556a2b6d5b5b3297f146f14668fc35aead8b69e7bf848487bbb74035e247e52dfa4f22139566e9203e4ef8e678b8ba4e3897a36a43ff0c DIST pytest-runner-2.5.1.zip 11419 SHA256 9c2d1d1ab4595d5cd5eef6950e3e11ca8f1719c7504d16a111ae1f5757660a7f SHA512 daf9054b3e83cbf8b8e551208804384b689af873eadd12dc5e1e52d70511b947c6c114a5dfe53e135e0428cea993d2930430f1e71b0a6effc08f9e40ff3a48e6 WHIRLPOOL 3cfd55be0da567b00f0347e40fc81f1243dbc4c837a49fa00dbb53f3c814121f0613fae5b6096d67c68c9f2ec3d5ab1d1f0a7a703dac63d9fe1a09b4d44e7f19 DIST pytest-runner-2.6.1.tar.gz 6343 SHA256 761c6bb1e6ffe3788f23a3b18170a4d83d1d0b29ffaff8213dbc5ff6fd41714c SHA512 5f5e96a4b8072334d93ce38a361f5f9f50f8fb67943b2da30027b7e1e8304b4d0b46d34be1f6d90c859e5d6d75c991e6848427567cca6ad979803355a0397de0 WHIRLPOOL 3c623ea889f1b7bd1bf32a5371248163a03406f7bfa152ba33f77aa7821d812d8a6f877b5ecb7472c57372d5bc548e0fdf5798ab3c87840b9a1e753ca0857d3c +DIST pytest-runner-2.6.2.tar.gz 6379 SHA256 e775a40ee4a3a1d45018b199c44cc20bbe7f3df2dc8882f61465bb4141c78cdb SHA512 6a993e8729d5e203986f2526d46e96b7ac19e65fc26493a55a98e858304ecde0c47576476864a0ee1817ea1a7b02cfda952fc03f79b84fff249021f140f3d00d WHIRLPOOL 968a38864b58d35d4c9fb0fa2855bae9f87bcb68936b5f129c5bc67b2c751e51bf5f9e5f54d27f36ccd6e89df7d4f8c4a6556de408cc8287f52725e1eb73fef5 diff --git a/dev-python/pytest-runner/pytest-runner-2.6.2.ebuild b/dev-python/pytest-runner/pytest-runner-2.6.2.ebuild new file mode 100644 index 000000000000..ca7dafb1cfe7 --- /dev/null +++ b/dev-python/pytest-runner/pytest-runner-2.6.2.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_3,3_4} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Adds support for tests durring installation of setup.py files" +HOMEPAGE="https://pypi.python.org/pypi/pytest-runner https://bitbucket.org/pytest-dev/pytest-runner" +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~x86" +SLOT="0" +IUSE="doc" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + " +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" + +# Test not included +RESTRICT="test" + +python_compile_all() { + # The build by rst2html.py makes non fatal errors building index.rst + if use doc; then + rst2html.py docs/history.rst > docs/history.html + rst2html.py docs/index.rst > docs/index.html + fi +} + +python_test() { + esetup.py pytest +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + distutils-r1_python_install_all +} -- 2.26.2