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: Fri, 17 Sep 2021 08:31:27
Message-Id: 1631867478.4e2e7d5f379755593ecdc746395e59eb49aec14b.mgorny@gentoo
1 commit: 4e2e7d5f379755593ecdc746395e59eb49aec14b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 17 07:57:45 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 17 08:31:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2e7d5f
7
8 dev-python/tox: Bump to 3.24.4
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.24.4.ebuild | 69 ++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 70 insertions(+)
15
16 diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest
17 index 1241576d5aa..b714e7647ac 100644
18 --- a/dev-python/tox/Manifest
19 +++ b/dev-python/tox/Manifest
20 @@ -1,3 +1,4 @@
21 DIST tox-3.24.1.tar.gz 305886 BLAKE2B fcedf8054a19a79045b2edead599fb11b7942986fa4bbc184140603e3bc6700eada452e661f4a576d029804ab2a9282df0cf9198eee9b483c2c6c68b086ee156 SHA512 e4bfb3dab15887ce6432a91b88a7387179cbf2a5ab5fa608b3f1f7349be4122d76ce01d396ae9b1515c211f2905d110a8414e254cc72bcf8a74542db98ea52de
22 DIST tox-3.24.2.tar.gz 305924 BLAKE2B f91af9fdb4de94eb9ecf65774619234f1e52827c7c6e3ce75ca8161564f8cdc8af210f229ae07f5d381f7964cbbc936f47d4242848513c9bf1c8989a73fe0420 SHA512 e33a1126440ac53cf07cd7dbe695ea1307ebad92e0ed4d6e6c738affa059104f1b5bfc360883283ddd59e5156f7bb00c52d2d2ddd2294b6664f22a2abaaf66c3
23 DIST tox-3.24.3.tar.gz 306285 BLAKE2B 368eaf959533f62b08d6e44929ae327ff25ea6eca25a3f47c7b9945428821bf80ab7e0ab4daea8821b55b9a7a009f30c3d5641812fd444a86577ea0ae83adb7d SHA512 de1c1ccc3a277c617521e77806d1d993a5c19f811016bebc442bfea12c3d40a22bf80b7d11b11744a5ddf705c6e8955f2811f149d413ea8522d94c985ed1f715
24 +DIST tox-3.24.4.tar.gz 306760 BLAKE2B 332c99d021bc3c25549fd95d051baaa1f0dc3aaf776928320826bb7e6bce6444fd5a993e1dbff3a4ebbde9dbb59e30d07eae4b04096294b3a186b130b8312587 SHA512 49e2cb74f119b5cc049d2a64479e56307cea1f36a5586840cca12cb8f4ce8a2ba991cc6142bef7f095a7d32b44f7513f89cce56d89deaff0e12194ceb3da6249
25
26 diff --git a/dev-python/tox/tox-3.24.4.ebuild b/dev-python/tox/tox-3.24.4.ebuild
27 new file mode 100644
28 index 00000000000..c0eac290ef6
29 --- /dev/null
30 +++ b/dev-python/tox/tox-3.24.4.ebuild
31 @@ -0,0 +1,69 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="virtualenv-based automation of test activities"
41 +HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/"
42 +SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
47 +# doc disabled because of missing deps in tree
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="
52 + dev-python/filelock[${PYTHON_USEDEP}]
53 + $(python_gen_cond_dep '
54 + >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}]
55 + ' pypy3)
56 + dev-python/packaging[${PYTHON_USEDEP}]
57 + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
58 + dev-python/pip[${PYTHON_USEDEP}]
59 + dev-python/py[${PYTHON_USEDEP}]
60 + >=dev-python/six-1.14[${PYTHON_USEDEP}]
61 + dev-python/toml[${PYTHON_USEDEP}]
62 + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]"
63 +# TODO: figure out how to make tests work without the package being
64 +# installed first.
65 +BDEPEND="
66 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
67 + test? (
68 + ${RDEPEND}
69 + >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}]
70 + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}]
71 + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}]
72 + dev-python/pytest-mock[${PYTHON_USEDEP}]
73 + )"
74 +
75 +src_configure() {
76 + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
77 +}
78 +
79 +python_test() {
80 + local EPYTEST_DESELECT=(
81 + # broken without Internet
82 + tests/unit/session/test_provision.py::test_provision_non_canonical_dep
83 + tests/integration/test_provision_int.py::test_provision_interrupt_child
84 +
85 + # expects python2 to exist
86 + tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable
87 + )
88 +
89 + [[ ${EPYTHON} != pypy3 ]] && EPYTEST_DESELECT+=(
90 + # TODO?
91 + tests/unit/interpreters/test_interpreters.py::test_find_alias_on_path
92 +
93 + # broken without tox installed first
94 + # TODO: why it can't import itself?
95 + tests/integration/test_parallel_interrupt.py::test_parallel_interrupt
96 + )
97 +
98 + distutils_install_for_testing --via-venv
99 + epytest --no-network
100 +}