summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-12 18:45:44 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-12 18:56:01 +0200
commit52fd7c364cb16e23e858fafdf8da103b40cbf5ff (patch)
treea240fb9a4f0623af1385bcddc7d1fec09ee2214d /dev-python/tox
parentdev-python/toml: Remove redundant versions (diff)
downloadgentoo-52fd7c364cb16e23e858fafdf8da103b40cbf5ff.tar.gz
gentoo-52fd7c364cb16e23e858fafdf8da103b40cbf5ff.tar.bz2
gentoo-52fd7c364cb16e23e858fafdf8da103b40cbf5ff.zip
dev-python/tox: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/tox')
-rw-r--r--dev-python/tox/Manifest7
-rw-r--r--dev-python/tox/files/tox-3.12.1-skip-broken-tests.patch61
-rw-r--r--dev-python/tox/tox-2.9.1.ebuild49
-rw-r--r--dev-python/tox/tox-3.12.1.ebuild50
-rw-r--r--dev-python/tox/tox-3.14.4.ebuild74
-rw-r--r--dev-python/tox/tox-3.14.5.ebuild74
-rw-r--r--dev-python/tox/tox-3.15.1.ebuild71
-rw-r--r--dev-python/tox/tox-3.16.0.ebuild71
-rw-r--r--dev-python/tox/tox-3.2.1.ebuild62
9 files changed, 0 insertions, 519 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
index ed15ea1f47ab..fb59ca613c10 100644
--- a/dev-python/tox/Manifest
+++ b/dev-python/tox/Manifest
@@ -1,10 +1,3 @@
-DIST tox-2.9.1.tar.gz 1855982 BLAKE2B 3e2f5fd3d3e45e54f96b0a6fc8f9e98bfba3b48540cc2922a897e016b5aabc9974772c9b897e0fab7b38b00f99478a063ad988ffa8b65fa53f684997334e492c SHA512 ff19b2bb7ac963379f1cccd4973ad9eb4dabfbda976cde7caba50ad010d8fa57c1cba91d63e3e0512e44cc7d350bc9270fbd9b30db1bd55f7d9c239e7623d066
-DIST tox-3.12.1.tar.gz 283964 BLAKE2B b7cb2394a721f281552d1f614a6059f7025390a4ea03fd970c85330dffb97f601f0c3f8c9c9b05f86b5b92e87ef80fba48676201550581562b8cf3f1b2afa34b SHA512 d7ed7ce17b03b5c8e3ba95e14f547c8dbb9a04ac38b98fb24c09261b5087ffc83b05e9a03607fa53ce61340a3ba69fc4121622f7fe338ce8ed402d25d59c7e6a
-DIST tox-3.14.4.tar.gz 289600 BLAKE2B 413782a524b70b4e301f5a4bda9c763dc7e670d7fe7785ce288b54d8a4940db0b8fed5f075c3f2cdea1d2242e35fa50765de1cd5ea544d1f433faa9a31894d61 SHA512 94e71d06ea62c275651e574359ffa224702eb4062398b44dff9504ce9e55df94d9227fc7cdbf02bc3d44244c29f29b8d3bdef3a66d94ad2dba6971860444ae7d
-DIST tox-3.14.5.tar.gz 290075 BLAKE2B 7e412e85981fe11cba4dc6a4ab3df824678b11fe59bd7d909361029f30e407ffe62a24967e5a447cc643500dfb61326d47fb276bb669311780ac49aa2075fe09 SHA512 cbd0e4c53bb82a302016f380a246e9a9630b8f0c6631195af2dfa12c090cc76c3d9da8362e11c42e74bacbb3f9be504eb67e07de1d2cbac7b5f05341ea2970c4
DIST tox-3.15.0.tar.gz 291890 BLAKE2B 9c42c587332eafcfd02d2d8a42588af6253baf9f62e82eb8a8bf10da291b4868b1fe319e38a583bc67bb26ab868b8a123feccd5bd008ce618ceb46d3121c68d2 SHA512 cb21574301d953b361eb5e1d89eefe22e68ae5871036f03d5753ee97c888cadde548d62a50622dd65b3c488143bbbdf8d309bafa3b6a4807871c9e78b6fcdb9c
-DIST tox-3.15.1.tar.gz 292044 BLAKE2B eb3062fb1a2494a6b23e1c6f2c6af56be5879664ae26918e60839d2f8cff98dc6b684a27469eac81c363a3cd3e90abdafe0ab4dc601840023e5263a42301f384 SHA512 334e2129d5418d4733a25419b81cc57e794a11954c21774231e32c93e977f1a7fb71c739adabccb5cdde9428ab69772e8623a0c0a1172855957f7cbcd4a917b1
DIST tox-3.15.2.tar.gz 293523 BLAKE2B a1a1c84a987d2b2e5194321405775ee3828b8e2c8dcd38c7e780a9d508b789a42f1880cffcecd68c50dfdc37008a4e9a117660fa2c732864c82af6c2eaf5a99e SHA512 9448554452c79039289d2d2c05c974f451647329701372c3e4b154a0161fa768245c0068cd5e3f1221b4b51a07be806f7c66ab9d4ef83a3e8e5964e18b9cde85
-DIST tox-3.16.0.tar.gz 294040 BLAKE2B 2f5ca2c1b0b839b4fe6834cba69d772b9605e6bb00b24d75867de768042cd091a8fd7f5a349867a5de578b96eaad9f59f2ad019203fc6b2c39c9efc6933d2d96 SHA512 f92accae643b01867749f10d01ba0e18ebb36071af55a21cd38ac8f14fa3db1b1e708b22f8601e4d1b172e59fb62588c1252d064be3fb6007002eeaaef716373
DIST tox-3.16.1.tar.gz 294080 BLAKE2B 692ef3f498f78f239ecbb3f9ac5745462430a96bb67df7a732e5c5756d1b579c4ee8582d528d5eafddc7b19905057c01514cccaa42d7c1a442ac24cd531a656f SHA512 83fefc4b82fb33adbf2ece9a6fd6ffaf27771ac6076af5d2939dcbf68f1dd88b8edd0a105b0ec86dc7ee37b127d27ed46748af61423811c7435d0093d2e8e1eb
-DIST tox-3.2.1.tar.gz 268827 BLAKE2B 764835d04fb0c17f32eb8e2041b83f90d6a729b781a5b5b95e9ecb1162f1c29ed595d4a6369524b390a31853b8003485b27a3a12d63e84f49e92675f1a9bee13 SHA512 79f5a1c8f6e818fbb8444754e3767d880fc1fdfe63b46c518d37440fe2b2f3ce572865aff83d9492c24486fded49893cc31bd9b11254bac4db507260304bc76f
diff --git a/dev-python/tox/files/tox-3.12.1-skip-broken-tests.patch b/dev-python/tox/files/tox-3.12.1-skip-broken-tests.patch
deleted file mode 100644
index 382bf2b158eb..000000000000
--- a/dev-python/tox/files/tox-3.12.1-skip-broken-tests.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-diff --git a/tests/integration/test_provision_int.py b/tests/integration/test_provision_int.py
-index 6a8ac18..56dbe95 100644
---- a/tests/integration/test_provision_int.py
-+++ b/tests/integration/test_provision_int.py
-@@ -43,7 +43,7 @@ def test_provision_missing(initproj, cmd):
- @pytest.mark.skipif(
- "sys.platform == 'win32'", reason="triggering SIGINT reliably on Windows is hard"
- )
--def test_provision_interrupt_child(initproj, monkeypatch, capfd):
-+def xtest_provision_interrupt_child(initproj, monkeypatch, capfd):
- monkeypatch.delenv(str("PYTHONPATH"), raising=False)
- monkeypatch.setenv(str("TOX_REPORTER_TIMESTAMP"), str("1"))
- initproj(
-diff --git a/tests/unit/config/test_config.py b/tests/unit/config/test_config.py
-index b814b7a..fe7ebe3 100644
---- a/tests/unit/config/test_config.py
-+++ b/tests/unit/config/test_config.py
-@@ -1897,7 +1897,7 @@ class TestConfigTestEnv:
- for name, config in configs.items():
- assert config.basepython == "python{}.{}".format(name[2], name[3])
-
-- def test_default_factors_conflict(self, newconfig, capsys):
-+ def xtest_default_factors_conflict(self, newconfig, capsys):
- with pytest.warns(UserWarning, match=r"conflicting basepython .*"):
- config = newconfig(
- """
-diff --git a/tests/unit/interpreters/test_interpreters.py b/tests/unit/interpreters/test_interpreters.py
-index ea6f65d..e4f0e92 100644
---- a/tests/unit/interpreters/test_interpreters.py
-+++ b/tests/unit/interpreters/test_interpreters.py
-@@ -28,7 +28,7 @@ def create_interpreters_instance():
- return Interpreters(hook=pm.hook)
-
-
--def test_tox_get_python_executable():
-+def xtest_tox_get_python_executable():
- class envconfig:
- basepython = sys.executable
- envname = "pyxx"
-@@ -72,7 +72,7 @@ def test_tox_get_python_executable():
-
-
- @pytest.mark.skipif("sys.platform == 'win32'", reason="symlink execution unreliable on Windows")
--def test_find_alias_on_path(monkeypatch, tmp_path):
-+def xtest_find_alias_on_path(monkeypatch, tmp_path):
- reporter.update_default_reporter(Verbosity.DEFAULT, Verbosity.DEBUG)
- magic = tmp_path / "magic{}".format(os.path.splitext(sys.executable)[1])
- os.symlink(sys.executable, str(magic))
-diff --git a/tests/unit/test_venv.py b/tests/unit/test_venv.py
-index 0523112..3db5416 100644
---- a/tests/unit/test_venv.py
-+++ b/tests/unit/test_venv.py
-@@ -445,7 +445,7 @@ def test_install_command_not_installed_bash(newmocksession):
- mocksession.report.expect("warning", "*test command found but not*")
-
-
--def test_install_python3(newmocksession):
-+def xtest_install_python3(newmocksession):
- if not py.path.local.sysfind("python3"):
- pytest.skip("needs python3")
- mocksession = newmocksession(
diff --git a/dev-python/tox/tox-2.9.1.ebuild b/dev-python/tox/tox-2.9.1.ebuild
deleted file mode 100644
index 52fea638670c..000000000000
--- a/dev-python/tox/tox-2.9.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="virtualenv-based automation of test activities"
-HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc 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}"
-}
diff --git a/dev-python/tox/tox-3.12.1.ebuild b/dev-python/tox/tox-3.12.1.ebuild
deleted file mode 100644
index 0b093a1f9d91..000000000000
--- a/dev-python/tox/tox-3.12.1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="virtualenv-based automation of test activities"
-HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/"
-SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~sparc ~x86"
-
-# doc disabled because of missing deps in tree
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/filelock[${PYTHON_USEDEP}]
- <dev-python/pluggy-1.0[${PYTHON_USEDEP}]
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/py[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- dev-python/toml[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- test? (
- >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}]
- <dev-python/flaky-4
- >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}]
- dev-python/pathlib2[${PYTHON_USEDEP}]
- >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
- <dev-python/pytest-mock-2.0[${PYTHON_USEDEP}]
- )"
-
-# for some reason, --deselect doesn't work in tox's tests
-PATCHES=(
- "${FILESDIR}/${PN}-3.12.1-skip-broken-tests.patch"
- "${FILESDIR}/${PN}-3.9.0-strip-setuptools_scm.patch"
-)
-
-python_test() {
- distutils_install_for_testing
- pytest -v --no-network || die "Testsuite failed under ${EPYTHON}"
-}
diff --git a/dev-python/tox/tox-3.14.4.ebuild b/dev-python/tox/tox-3.14.4.ebuild
deleted file mode 100644
index 188f784f7e8c..000000000000
--- a/dev-python/tox/tox-3.14.4.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="virtualenv-based automation of test activities"
-HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/"
-SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ppc64 sparc x86"
-
-# doc disabled because of missing deps in tree
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/filelock[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}]
- ' python3_{5,6,7} pypy3)
- dev-python/packaging[${PYTHON_USEDEP}]
- <dev-python/pluggy-1.0[${PYTHON_USEDEP}]
- >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/py[${PYTHON_USEDEP}]
- >=dev-python/six-1.14[${PYTHON_USEDEP}]
- dev-python/toml[${PYTHON_USEDEP}]
- >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]"
-# TODO: figure out how to make tests work without the package being
-# installed first.
-BDEPEND="
- test? (
- ${RDEPEND}
- >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}]
- <dev-python/flaky-4
- >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}]
- dev-python/pathlib2[${PYTHON_USEDEP}]
- >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}]
- <dev-python/pytest-mock-2.0[${PYTHON_USEDEP}]
- =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}]
- )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.9.0-strip-setuptools_scm.patch"
-)
-
-src_prepare() {
- distutils-r1_src_prepare
-
- # broken without internet
- sed -i -e 's:test_provision_non_canonical_dep:_&:' \
- tests/unit/session/test_provision.py || die
- sed -i -e 's:test_provision_interrupt_child:_&:' \
- tests/integration/test_provision_int.py || die
- # broken with our mock version (?)
- sed -i -e 's:test_create_KeyboardInterrupt:_&:' \
- tests/unit/test_venv.py || die
- # broken with Gentoo Python layout
- sed -i -e 's:test_tox_get_python_executable:_&:' \
- -e 's:test_find_alias_on_path:_&:' \
- tests/unit/interpreters/test_interpreters.py || die
-}
-
-python_test() {
- distutils_install_for_testing
- pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}"
-}
diff --git a/dev-python/tox/tox-3.14.5.ebuild b/dev-python/tox/tox-3.14.5.ebuild
deleted file mode 100644
index 6da87eeaef4b..000000000000
--- a/dev-python/tox/tox-3.14.5.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="virtualenv-based automation of test activities"
-HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/"
-SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-# doc disabled because of missing deps in tree
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/filelock[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}]
- ' python3_{5,6,7} pypy3)
- dev-python/packaging[${PYTHON_USEDEP}]
- <dev-python/pluggy-1.0[${PYTHON_USEDEP}]
- >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/py[${PYTHON_USEDEP}]
- >=dev-python/six-1.14[${PYTHON_USEDEP}]
- dev-python/toml[${PYTHON_USEDEP}]
- >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]"
-# TODO: figure out how to make tests work without the package being
-# installed first.
-BDEPEND="
- test? (
- ${RDEPEND}
- >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}]
- <dev-python/flaky-4
- >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}]
- dev-python/pathlib2[${PYTHON_USEDEP}]
- >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}]
- <dev-python/pytest-mock-2.0[${PYTHON_USEDEP}]
- =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}]
- )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.9.0-strip-setuptools_scm.patch"
-)
-
-src_prepare() {
- distutils-r1_src_prepare
-
- # broken without internet
- sed -i -e 's:test_provision_non_canonical_dep:_&:' \
- tests/unit/session/test_provision.py || die
- sed -i -e 's:test_provision_interrupt_child:_&:' \
- tests/integration/test_provision_int.py || die
- # broken with our mock version (?)
- sed -i -e 's:test_create_KeyboardInterrupt:_&:' \
- tests/unit/test_venv.py || die
- # broken with Gentoo Python layout
- sed -i -e 's:test_tox_get_python_executable:_&:' \
- -e 's:test_find_alias_on_path:_&:' \
- tests/unit/interpreters/test_interpreters.py || die
-}
-
-python_test() {
- distutils_install_for_testing
- pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}"
-}
diff --git a/dev-python/tox/tox-3.15.1.ebuild b/dev-python/tox/tox-3.15.1.ebuild
deleted file mode 100644
index 0365e6a79004..000000000000
--- a/dev-python/tox/tox-3.15.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="virtualenv-based automation of test activities"
-HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/"
-SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-# doc disabled because of missing deps in tree
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/filelock[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}]
- ' python3_{5,6,7} pypy3)
- dev-python/packaging[${PYTHON_USEDEP}]
- >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/py[${PYTHON_USEDEP}]
- >=dev-python/six-1.14[${PYTHON_USEDEP}]
- dev-python/toml[${PYTHON_USEDEP}]
- >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]"
-# TODO: figure out how to make tests work without the package being
-# installed first.
-BDEPEND="
- dev-python/setuptools_scm[${PYTHON_USEDEP}]
- test? (
- ${RDEPEND}
- >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}]
- >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}]
- dev-python/pathlib2[${PYTHON_USEDEP}]
- >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}]
- )"
-
-src_prepare() {
- distutils-r1_src_prepare
-
- # broken without internet
- sed -i -e 's:test_provision_non_canonical_dep:_&:' \
- tests/unit/session/test_provision.py || die
- sed -i -e 's:test_provision_interrupt_child:_&:' \
- tests/integration/test_provision_int.py || die
- # broken with our mock version (?)
- sed -i -e 's:test_create_KeyboardInterrupt:_&:' \
- tests/unit/test_venv.py || die
- # broken with Gentoo Python layout
- sed -i -e 's:test_tox_get_python_executable:_&:' \
- -e 's:test_find_alias_on_path:_&:' \
- tests/unit/interpreters/test_interpreters.py || die
-
- export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}
-
-python_test() {
- distutils_install_for_testing
- pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}"
-}
diff --git a/dev-python/tox/tox-3.16.0.ebuild b/dev-python/tox/tox-3.16.0.ebuild
deleted file mode 100644
index 0365e6a79004..000000000000
--- a/dev-python/tox/tox-3.16.0.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="virtualenv-based automation of test activities"
-HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/"
-SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-# doc disabled because of missing deps in tree
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/filelock[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}]
- ' python3_{5,6,7} pypy3)
- dev-python/packaging[${PYTHON_USEDEP}]
- >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/py[${PYTHON_USEDEP}]
- >=dev-python/six-1.14[${PYTHON_USEDEP}]
- dev-python/toml[${PYTHON_USEDEP}]
- >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]"
-# TODO: figure out how to make tests work without the package being
-# installed first.
-BDEPEND="
- dev-python/setuptools_scm[${PYTHON_USEDEP}]
- test? (
- ${RDEPEND}
- >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}]
- >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}]
- dev-python/pathlib2[${PYTHON_USEDEP}]
- >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}]
- )"
-
-src_prepare() {
- distutils-r1_src_prepare
-
- # broken without internet
- sed -i -e 's:test_provision_non_canonical_dep:_&:' \
- tests/unit/session/test_provision.py || die
- sed -i -e 's:test_provision_interrupt_child:_&:' \
- tests/integration/test_provision_int.py || die
- # broken with our mock version (?)
- sed -i -e 's:test_create_KeyboardInterrupt:_&:' \
- tests/unit/test_venv.py || die
- # broken with Gentoo Python layout
- sed -i -e 's:test_tox_get_python_executable:_&:' \
- -e 's:test_find_alias_on_path:_&:' \
- tests/unit/interpreters/test_interpreters.py || die
-
- export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-}
-
-python_test() {
- distutils_install_for_testing
- pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}"
-}
diff --git a/dev-python/tox/tox-3.2.1.ebuild b/dev-python/tox/tox-3.2.1.ebuild
deleted file mode 100644
index b8798335d338..000000000000
--- a/dev-python/tox/tox-3.2.1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="virtualenv-based automation of test activities"
-HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- >=dev-python/virtualenv-1.11.2[${PYTHON_USEDEP}]
- <dev-python/pluggy-1.0[${PYTHON_USEDEP}]
- dev-python/pip[${PYTHON_USEDEP}]
- >=dev-python/py-1.4.17[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- dev-python/setuptools_scm[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? (
- >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
- <dev-python/pytest-4.0
- <dev-python/pytest-mock-2.0[${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() {
- # TODO: find why these 8 tests excluded below fail.
- pytest -v --no-network \
- --deselect tests/test_config.py::test_plugin_require \
- --deselect tests/test_docs.py::test_all_rst_ini_blocks_parse \
- --deselect tests/test_interpreters.py::test_tox_get_python_executable \
- --deselect tests/test_session.py::test_tox_parallel_build_safe \
- --deselect tests/test_venv.py::test_install_python3 \
- --deselect tests/test_z_cmdline.py::test_alwayscopy \
- --deselect tests/test_z_cmdline.py::test_tox_quickstart_script \
- --deselect tests/test_z_cmdline.py::test_tox_console_script \
- || die "Testsuite failed under ${EPYTHON}"
-}