From 939ae88a77e27767b2ab8522a62adc398beb245d Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sat, 23 Sep 2017 14:17:17 -0400 Subject: [PATCH] dev-python/tox: version bump to 2.8.1 --- dev-python/tox/Manifest | 1 + dev-python/tox/tox-2.8.1.ebuild | 49 +++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-python/tox/tox-2.8.1.ebuild diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 2a71321655e0..7e0b7a31a91b 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,2 +1,3 @@ DIST tox-2.4.1.tar.gz 113677 SHA256 6673571a3c4b1561b564e2b1cce55bddfb4f3efdb387ba4eb0a3688bbe2496db SHA512 f636b08a9f386ad20058581ca03cae0a259fe3432d3d4bd9a5117c30cb2f2c2d35d7fd499057654cd55d86c172456101f82b320d120f67afd8669a74fa63b860 WHIRLPOOL 7386f0b30e50dd8d89e05871491347849ee18b11cc89b0871cbe2719b2a75b140afa65c5d4b5e7c4266f33f89c7a36e24aa52036ae8845d5ad70279d417abb2d DIST tox-2.7.0.tar.gz 120139 SHA256 9c3bdc06fe411d24015e8bbbab9d03dc5243a970154496aac13f9283682435f9 SHA512 96088a9f77e8b994d920a8c9907a0fa50d5e0fe918e5a67673d4c30810642be2872283810d1d8b5ae9cc311605236b64343248485c4d4067b54c7b6d9f31a4b4 WHIRLPOOL ed77717cfead6e98ff31fb773b31bcf55bb8c4892c281aae68d10459f4ffe0c386d5adc7e1dcaacfffe2a17e005231d1dc51f3ddb3900cb09547eba6ed444628 +DIST tox-2.8.1.tar.gz 125777 SHA256 de0abf4e8992c056bc22afff9d969e0cae2e39452a9650bdbcbe7154793537b7 SHA512 a230f7bc48f476825ca1a879e669288b311f266f1695bac4eecfcd44076731e5581a425e36555a0db54f8a0683af31abd77ab862aa40525387e6e436ba351c37 WHIRLPOOL 18f146f0b09e64fbc656fff9a8e098422cd8abd38ea6a09e29489c9cd3dfb3e6d4540922e5ea569d0dc3323c63f8f1c132fe75125f2e7ebb6d409ee086eee6e6 diff --git a/dev-python/tox/tox-2.8.1.ebuild b/dev-python/tox/tox-2.8.1.ebuild new file mode 100644 index 000000000000..c0177a22c3f1 --- /dev/null +++ b/dev-python/tox/tox-2.8.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy ) + +inherit distutils-r1 + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE="http://tox.testrun.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc test" + +# tests need internet +RESTRICT="test" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/virtualenv-1.11.2[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/py-1.4.17[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( >=dev-python/pytest-2.3.5[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # remove intersphinx stuff + sed -i -e "s/'sphinx.ext.intersphinx',//" doc/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + esetup.py build_sphinx + HTML_DOCS=( "${S}"/doc/build/html/. ) + fi +} + +python_test() { + esetup.py test || die "Testsuite failed under ${EPYTHON}" +} -- 2.26.2