diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-06-05 22:52:17 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-06-05 22:55:27 +0200 |
commit | 931d1a24588ae91358d1bc8eac4ff4ebe3af5b7f (patch) | |
tree | 7b7318141cfbaf1fd0c09d456aef4618701a7ef6 /dev-python/tox/tox-3.23.0.ebuild | |
parent | dev-python/sphinxcontrib-spelling: Remove old (diff) | |
download | gentoo-931d1a24588ae91358d1bc8eac4ff4ebe3af5b7f.tar.gz gentoo-931d1a24588ae91358d1bc8eac4ff4ebe3af5b7f.tar.bz2 gentoo-931d1a24588ae91358d1bc8eac4ff4ebe3af5b7f.zip |
dev-python/tox: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/tox/tox-3.23.0.ebuild')
-rw-r--r-- | dev-python/tox/tox-3.23.0.ebuild | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/dev-python/tox/tox-3.23.0.ebuild b/dev-python/tox/tox-3.23.0.ebuild deleted file mode 100644 index 78e1824c9517..000000000000 --- a/dev-python/tox/tox-3.23.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..9} 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/pytest-4.0.0[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - )" - -src_configure() { - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - local deselect=( - # broken without Internet - tests/unit/session/test_provision.py::test_provision_non_canonical_dep - tests/integration/test_provision_int.py::test_provision_interrupt_child - - # expects python2 to exist - tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable - - # broken without tox installed first - # TODO: figure out how to make importlib_metadata work - tests/unit/test_z_cmdline.py::test_tox_console_script - tests/unit/test_z_cmdline.py::test_tox_quickstart_script - ) - - [[ ${EPYTHON} != pypy3 ]] && deselect+=( - # TODO? - tests/unit/interpreters/test_interpreters.py::test_find_alias_on_path - - # broken without tox installed first - # TODO: why it can't import itself? - tests/integration/test_parallel_interrupt.py::test_parallel_interrupt - ) - - distutils_install_for_testing --via-root - pytest -vv --no-network ${deselect[@]/#/--deselect } || die "Testsuite failed under ${EPYTHON}" -} |