Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tox/
Date: Thu, 30 Jun 2022 04:27:10
Message-Id: 1656563216.30911eafd017ea8ebb40f034cf50372739699081.mgorny@gentoo
1 commit: 30911eafd017ea8ebb40f034cf50372739699081
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 30 03:49:19 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 30 04:26:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30911eaf
7
8 dev-python/tox: Bump to 3.25.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tox/Manifest | 1 +
13 dev-python/tox/tox-3.25.1.ebuild | 69 ++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 70 insertions(+)
15
16 diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
17 index b1e65a15a5db..b25fb7c20311 100644
18 --- a/dev-python/tox/Manifest
19 +++ b/dev-python/tox/Manifest
20 @@ -1 +1,2 @@
21 DIST tox-3.25.0.tar.gz 307073 BLAKE2B 2dda34fc6d6518897bdc587ca6a31b92f2add463c3bcce9df3f4e511d2588dc75265b60809195c2d78a9c1b0d08d79c32811aab1e2c01934faf40019a1882042 SHA512 9c10524c5a67b32a01cb0dd4d25cc01d0641e46ca4e0c03a4c76eb8913f6038075aeb21e647a94d6b8d99c80edb7701b1c62893ebd6a20584121fdf33b9d9010
22 +DIST tox-3.25.1.gh.tar.gz 307697 BLAKE2B 2c778df22388b101e6e68423636c9753f0e6faac2360184fd6b9022dc3bbb5662840cf24e7907dd4c652f6401723be3be35bcdeb0f290f9839325babf5ec776d SHA512 e0443cb72378fc18c9bc001413261d9bac2d6f89bb0ebff618a3848ffd5b02c80902cefbd90f7b0d0e3119f1df3cd22b46be23077db0ee90c03a9780ba4b248b
23
24 diff --git a/dev-python/tox/tox-3.25.1.ebuild b/dev-python/tox/tox-3.25.1.ebuild
25 new file mode 100644
26 index 000000000000..3bbaa66f67b8
27 --- /dev/null
28 +++ b/dev-python/tox/tox-3.25.1.ebuild
29 @@ -0,0 +1,69 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="virtualenv-based automation of test activities"
41 +HOMEPAGE="
42 + https://tox.readthedocs.io/
43 + https://github.com/tox-dev/tox/
44 + https://pypi.org/project/tox/
45 +"
46 +SRC_URI="
47 + https://github.com/tox-dev/tox/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
54 +
55 +RDEPEND="
56 + dev-python/filelock[${PYTHON_USEDEP}]
57 + dev-python/packaging[${PYTHON_USEDEP}]
58 + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
59 + dev-python/pip[${PYTHON_USEDEP}]
60 + dev-python/py[${PYTHON_USEDEP}]
61 + >=dev-python/six-1.14[${PYTHON_USEDEP}]
62 + dev-python/toml[${PYTHON_USEDEP}]
63 + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
64 +"
65 +BDEPEND="
66 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
67 + test? (
68 + >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}]
69 + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}]
70 + dev-python/pytest-mock[${PYTHON_USEDEP}]
71 + )
72 +"
73 +
74 +distutils_enable_tests pytest
75 +
76 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
77 +
78 +python_test() {
79 + local EPYTEST_DESELECT=(
80 + # broken without Internet
81 + tests/unit/session/test_provision.py::test_provision_non_canonical_dep
82 + tests/integration/test_provision_int.py::test_provision_interrupt_child
83 +
84 + # expects python2 to exist
85 + tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable
86 + )
87 +
88 + [[ ${EPYTHON} != pypy3 ]] && EPYTEST_DESELECT+=(
89 + # capfd doesn't seem to work for some non-obvious reason
90 + tests/unit/test_z_cmdline.py::TestSession::test_summary_status
91 + tests/unit/session/test_provision.py::test_provision_bad_requires
92 +
93 + # TODO?
94 + tests/unit/interpreters/test_interpreters.py::test_find_alias_on_path
95 + )
96 +
97 + epytest --no-network
98 +}