Diff tox-2.9.1 with a tox-3.2.1

/usr/portage/dev-python/tox/tox-3.2.1.ebuild 2019-04-19 01:09:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6
PYTHON_COMPAT=( python{2_7,3_{5,6}} pypy{,3} )
6
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} )
7 7

  
8 8
inherit distutils-r1
9 9

  
......
13 13

  
14 14
LICENSE="MIT"
15 15
SLOT="0"
16
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
16
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
17 17

  
18 18
IUSE="doc test"
19 19

  
20
# tests need internet
21
RESTRICT="test"
22

  
23 20
RDEPEND="
24 21
	dev-python/setuptools[${PYTHON_USEDEP}]
25 22
	>=dev-python/virtualenv-1.11.2[${PYTHON_USEDEP}]
26
	dev-python/pluggy[${PYTHON_USEDEP}]
23
	<dev-python/pluggy-1.0[${PYTHON_USEDEP}]
27 24
	dev-python/pip[${PYTHON_USEDEP}]
28
	>=dev-python/py-1.4.17[${PYTHON_USEDEP}]"
25
	>=dev-python/py-1.4.17[${PYTHON_USEDEP}]
26
	dev-python/six[${PYTHON_USEDEP}]"
29 27
DEPEND="${RDEPEND}
30 28
	dev-python/setuptools_scm[${PYTHON_USEDEP}]
31 29
	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
32
	test? (	>=dev-python/pytest-2.3.5[${PYTHON_USEDEP}] )"
30
	test? (
31
		>=dev-python/pytest-3.6[${PYTHON_USEDEP}]
32
		<dev-python/pytest-4.0
33
		<dev-python/pytest-mock-2.0[${PYTHON_USEDEP}]
34
	)"
33 35

  
34 36
python_prepare_all() {
35 37
	# remove intersphinx stuff
......
45 47
}
46 48

  
47 49
python_test() {
48
	esetup.py test || die "Testsuite failed under ${EPYTHON}"
50
	# TODO: find why these 8 tests excluded below fail.
51
	pytest -v --no-network \
52
		--deselect tests/test_config.py::test_plugin_require \
53
		--deselect tests/test_docs.py::test_all_rst_ini_blocks_parse \
54
		--deselect tests/test_interpreters.py::test_tox_get_python_executable \
55
		--deselect tests/test_session.py::test_tox_parallel_build_safe \
56
		--deselect tests/test_venv.py::test_install_python3 \
57
		--deselect tests/test_z_cmdline.py::test_alwayscopy \
58
		--deselect tests/test_z_cmdline.py::test_tox_quickstart_script \
59
		--deselect tests/test_z_cmdline.py::test_tox_console_script \
60
		|| die "Testsuite failed under ${EPYTHON}"
49 61
}
Thank you!