Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/meson/
Date: Sat, 12 Jun 2021 18:21:30
Message-Id: 1623522080.50100e3801575c1fce367d1d426e9ea013e922e9.floppym@gentoo
1 commit: 50100e3801575c1fce367d1d426e9ea013e922e9
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 12 18:14:55 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 12 18:21:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50100e38
7
8 dev-util/meson: bump to 0.58.1
9
10 Closes: https://bugs.gentoo.org/791346
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 dev-util/meson/Manifest | 1 +
14 dev-util/meson/{meson-9999.ebuild => meson-0.58.1.ebuild} | 9 ++++++++-
15 dev-util/meson/meson-9999.ebuild | 9 ++++++++-
16 3 files changed, 17 insertions(+), 2 deletions(-)
17
18 diff --git a/dev-util/meson/Manifest b/dev-util/meson/Manifest
19 index 765d085eb49..cbe47bf22dc 100644
20 --- a/dev-util/meson/Manifest
21 +++ b/dev-util/meson/Manifest
22 @@ -1 +1,2 @@
23 DIST meson-0.57.2.tar.gz 1853721 BLAKE2B 9c167a21745719589a165e7ffc31007bd6307b347027f390fd660b2f44b5a2e6d8f36e999e15fa4b28ae269ddb0bb3897e0297288c59b62cc493aad058126293 SHA512 a3b0bf3d5e1d1b7ac7c97313f43046c94aa2a6b21964958569c89764dfda08db166adb89d48cbfad735bd472114587a71089d5e8b4f0fce04c3289da21b3f40e
24 +DIST meson-0.58.1.tar.gz 1896205 BLAKE2B d42e04b262c6715ba2776f64d2e616016381303b07e609c804becf72db2ebd8ef08030c969f43813b2072552cb76974b2ed84f2da6d6c809ad612169d580395c SHA512 64ac1a9bcc642fb6d37c4b677d8b7db16d821f852f927a980d3fb1c149d680b7ff2c8d03676c6772666d46a33b6ce8674220433d302fcd92d13d9818558d6453
25
26 diff --git a/dev-util/meson/meson-9999.ebuild b/dev-util/meson/meson-0.58.1.ebuild
27 similarity index 84%
28 copy from dev-util/meson/meson-9999.ebuild
29 copy to dev-util/meson/meson-0.58.1.ebuild
30 index 3b18cdf978c..e2a175666ca 100644
31 --- a/dev-util/meson/meson-9999.ebuild
32 +++ b/dev-util/meson/meson-0.58.1.ebuild
33 @@ -2,7 +2,7 @@
34 # Distributed under the terms of the GNU General Public License v2
35
36 EAPI=7
37 -PYTHON_COMPAT=( python3_{7,8,9} )
38 +PYTHON_COMPAT=( python3_{7,8,9,10} )
39
40 if [[ ${PV} = *9999* ]]; then
41 EGIT_REPO_URI="https://github.com/mesonbuild/meson"
42 @@ -80,6 +80,13 @@ python_test() {
43 # 'test cases/unit/73 summary' expects 80 columns
44 export COLUMNS=80
45
46 + # If JAVA_HOME is not set, meson looks for javac in PATH.
47 + # If javac is in /usr/bin, meson assumes /usr/include is a valid
48 + # JDK include path. Setting JAVA_HOME works around this broken
49 + # autodection. If no JDK is installed, we should end up with an empty
50 + # value in JAVA_HOME, and the tests should get skipped.
51 + export JAVA_HOME=$(java-config -O 2>/dev/null)
52 +
53 ${EPYTHON} -u run_tests.py
54 ) || die "Testing failed with ${EPYTHON}"
55 }
56
57 diff --git a/dev-util/meson/meson-9999.ebuild b/dev-util/meson/meson-9999.ebuild
58 index 3b18cdf978c..e2a175666ca 100644
59 --- a/dev-util/meson/meson-9999.ebuild
60 +++ b/dev-util/meson/meson-9999.ebuild
61 @@ -2,7 +2,7 @@
62 # Distributed under the terms of the GNU General Public License v2
63
64 EAPI=7
65 -PYTHON_COMPAT=( python3_{7,8,9} )
66 +PYTHON_COMPAT=( python3_{7,8,9,10} )
67
68 if [[ ${PV} = *9999* ]]; then
69 EGIT_REPO_URI="https://github.com/mesonbuild/meson"
70 @@ -80,6 +80,13 @@ python_test() {
71 # 'test cases/unit/73 summary' expects 80 columns
72 export COLUMNS=80
73
74 + # If JAVA_HOME is not set, meson looks for javac in PATH.
75 + # If javac is in /usr/bin, meson assumes /usr/include is a valid
76 + # JDK include path. Setting JAVA_HOME works around this broken
77 + # autodection. If no JDK is installed, we should end up with an empty
78 + # value in JAVA_HOME, and the tests should get skipped.
79 + export JAVA_HOME=$(java-config -O 2>/dev/null)
80 +
81 ${EPYTHON} -u run_tests.py
82 ) || die "Testing failed with ${EPYTHON}"
83 }