Gentoo Archives: gentoo-commits

From: "Cédric Krier" <cedk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial/
Date: Sat, 01 Jan 2022 16:49:54
Message-Id: 1641055778.96b16eadab0eacfc1f7954bc9357a10450f8a213.cedk@gentoo
1 commit: 96b16eadab0eacfc1f7954bc9357a10450f8a213
2 Author: Cédric Krier <cedk <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 1 13:49:02 2022 +0000
4 Commit: Cédric Krier <cedk <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 1 16:49:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96b16ead
7
8 dev-vcs/mercurial: Disable python warning on test
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Cédric Krier <cedk <AT> gentoo.org>
12
13 dev-vcs/mercurial/mercurial-5.8.1.ebuild | 4 ++--
14 dev-vcs/mercurial/mercurial-5.8.ebuild | 4 ++--
15 dev-vcs/mercurial/mercurial-5.9.3.ebuild | 4 ++--
16 dev-vcs/mercurial/mercurial-9999.ebuild | 4 ++--
17 4 files changed, 8 insertions(+), 8 deletions(-)
18
19 diff --git a/dev-vcs/mercurial/mercurial-5.8.1.ebuild b/dev-vcs/mercurial/mercurial-5.8.1.ebuild
20 index bed3532e284f..b0dd6d923ed1 100644
21 --- a/dev-vcs/mercurial/mercurial-5.8.1.ebuild
22 +++ b/dev-vcs/mercurial/mercurial-5.8.1.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2021 Gentoo Authors
25 +# Copyright 1999-2022 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=7
29 @@ -295,7 +295,7 @@ python_test() {
30
31 distutils_install_for_testing
32 cd tests || die
33 - "${PYTHON}" run-tests.py \
34 + PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \
35 --jobs $(makeopts_jobs) \
36 --timeout 0 \
37 || die "Tests fail with ${EPYTHON}"
38
39 diff --git a/dev-vcs/mercurial/mercurial-5.8.ebuild b/dev-vcs/mercurial/mercurial-5.8.ebuild
40 index 4ba1088ae8c0..baafc45334e3 100644
41 --- a/dev-vcs/mercurial/mercurial-5.8.ebuild
42 +++ b/dev-vcs/mercurial/mercurial-5.8.ebuild
43 @@ -1,4 +1,4 @@
44 -# Copyright 1999-2021 Gentoo Authors
45 +# Copyright 1999-2022 Gentoo Authors
46 # Distributed under the terms of the GNU General Public License v2
47
48 EAPI=7
49 @@ -290,7 +290,7 @@ python_test() {
50 rm -rf "${TMPDIR}"/test
51 distutils_install_for_testing
52 cd tests || die
53 - "${PYTHON}" run-tests.py --verbose \
54 + PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py --verbose \
55 --tmpdir="${TMPDIR}"/test \
56 --with-hg="${TEST_DIR}"/scripts/hg \
57 || die "Tests fail with ${EPYTHON}"
58
59 diff --git a/dev-vcs/mercurial/mercurial-5.9.3.ebuild b/dev-vcs/mercurial/mercurial-5.9.3.ebuild
60 index 3f1017f98f7f..018cd801cb82 100644
61 --- a/dev-vcs/mercurial/mercurial-5.9.3.ebuild
62 +++ b/dev-vcs/mercurial/mercurial-5.9.3.ebuild
63 @@ -1,4 +1,4 @@
64 -# Copyright 1999-2021 Gentoo Authors
65 +# Copyright 1999-2022 Gentoo Authors
66 # Distributed under the terms of the GNU General Public License v2
67
68 EAPI=8
69 @@ -287,7 +287,7 @@ python_test() {
70
71 distutils_install_for_testing
72 cd tests || die
73 - "${PYTHON}" run-tests.py \
74 + PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \
75 --jobs $(makeopts_jobs) \
76 --timeout 0 \
77 || die "Tests fail with ${EPYTHON}"
78
79 diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild b/dev-vcs/mercurial/mercurial-9999.ebuild
80 index 5d9e3029059d..9c278c75e372 100644
81 --- a/dev-vcs/mercurial/mercurial-9999.ebuild
82 +++ b/dev-vcs/mercurial/mercurial-9999.ebuild
83 @@ -1,4 +1,4 @@
84 -# Copyright 1999-2021 Gentoo Authors
85 +# Copyright 1999-2022 Gentoo Authors
86 # Distributed under the terms of the GNU General Public License v2
87
88 EAPI=7
89 @@ -168,7 +168,7 @@ python_test() {
90
91 distutils_install_for_testing
92 cd tests || die
93 - "${PYTHON}" run-tests.py \
94 + PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \
95 --jobs $(makeopts_jobs) \
96 --timeout 0 \
97 || die "Tests fail with ${EPYTHON}"