Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/meson/
Date: Sun, 31 Oct 2021 19:53:23
Message-Id: 1635709995.d3b49ade5bb0a558845c9bd8747510371bf35962.williamh@gentoo
1 commit: d3b49ade5bb0a558845c9bd8747510371bf35962
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 31 19:51:43 2021 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 31 19:53:15 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3b49ade
7
8 dev-util/meson: remove unstable versions
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
12
13 dev-util/meson/Manifest | 2 -
14 dev-util/meson/meson-0.59.2.ebuild | 106 -------------------------------------
15 dev-util/meson/meson-0.59.3.ebuild | 105 ------------------------------------
16 3 files changed, 213 deletions(-)
17
18 diff --git a/dev-util/meson/Manifest b/dev-util/meson/Manifest
19 index 5bbb6f91aa6..5021e10fcac 100644
20 --- a/dev-util/meson/Manifest
21 +++ b/dev-util/meson/Manifest
22 @@ -1,4 +1,2 @@
23 DIST meson-0.59.1.tar.gz 1944678 BLAKE2B 08dee8ada7824faf93b730bd8cf86113fe85ecf57c53a7ee4be89371004e13b99e14933761398e6db5a359c5aad07a96f99c0b5be144a75c749e40d153cefa7f SHA512 c45e29869dc681675b2643c37c892e7fff365c051edce4f2ec278fc6cee25bac6818add819e4db69d2fe3c1ba9572fc55bb8f67fe791cdc9c187627c71b01963
24 -DIST meson-0.59.2.tar.gz 1952115 BLAKE2B f3946976e793540c78c54de367c6576bb35c1217fdc45c1e6f62e12edb9f755d6bceb850fecd313ec71e49e59fc3ab856d68af8874333b787d302c4f41784543 SHA512 910e4a8c9828506b576dc8ae0b5765efec24f44a34a5694f782c8a533d75053b10b4167564c06456d05f7a32c5fd9bd657faa62329e1e4ed24bfc4c9ac1ef73e
25 -DIST meson-0.59.3.tar.gz 1953620 BLAKE2B 333ae9ac7925101b0371c9171d0e8368bbff1669a3c9709becb95e73e53042aa2e4223c3272d0b0a3f24b5b43035a58d73c72655a55e10314cc027ababd485cf SHA512 4ffca094474c09567a69f576b25588c38e18d3a96d0b1d592adb05493a5d6dcfcd1a6549a821862a5aabd3df34d81b3a90d01e012e62c7f46bd98152337c0ea6
26 DIST meson-0.59.4.tar.gz 1953211 BLAKE2B e8699c274e60708e798ab7a57e096e606ba1552d4062a909610f5a8db8d27b864a9b9f01f32d68f65e0dcc2a75add7916617861edcc6058fc44c312e7a56048c SHA512 e02d13a4af592078c4dc34a1d9531e49d3b99f0996bcc2b04d9b9b446f0f7748fc2ccfeb9e6090a9fd2d95ad06594c770f90a87fafd9b1974117f24c5fb491e3
27
28 diff --git a/dev-util/meson/meson-0.59.2.ebuild b/dev-util/meson/meson-0.59.2.ebuild
29 deleted file mode 100644
30 index 88452baa5bb..00000000000
31 --- a/dev-util/meson/meson-0.59.2.ebuild
32 +++ /dev/null
33 @@ -1,106 +0,0 @@
34 -# Copyright 2016-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -PYTHON_COMPAT=( python3_{7,8,9,10} )
39 -
40 -if [[ ${PV} = *9999* ]]; then
41 - EGIT_REPO_URI="https://github.com/mesonbuild/meson"
42 - inherit git-r3
43 -else
44 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
46 -fi
47 -
48 -inherit distutils-r1 toolchain-funcs
49 -
50 -DESCRIPTION="Open source build system"
51 -HOMEPAGE="https://mesonbuild.com/"
52 -
53 -LICENSE="Apache-2.0"
54 -SLOT="0"
55 -IUSE="test"
56 -RESTRICT="!test? ( test )"
57 -
58 -DEPEND="
59 - test? (
60 - dev-libs/glib:2
61 - dev-libs/gobject-introspection
62 - dev-util/ninja
63 - dev-vcs/git
64 - sys-libs/zlib[static-libs(+)]
65 - virtual/pkgconfig
66 - )
67 -"
68 -
69 -PATCHES=(
70 - "${FILESDIR}/meson-mcompile-treat-load-average-as-a-float.patch"
71 - "${FILESDIR}/meson-tests-rust-add-libm.patch"
72 -)
73 -
74 -python_prepare_all() {
75 - local disable_unittests=(
76 - # ASAN and sandbox both want control over LD_PRELOAD
77 - # https://bugs.gentoo.org/673016
78 - -e 's/test_generate_gir_with_address_sanitizer/_&/'
79 -
80 - # ASAN is unsupported on some targets
81 - # https://bugs.gentoo.org/692822
82 - -e 's/test_pch_with_address_sanitizer/_&/'
83 -
84 - # https://github.com/mesonbuild/meson/issues/7203
85 - -e 's/test_templates/_&/'
86 -
87 - # Broken due to python2 wrapper
88 - -e 's/test_python_module/_&/'
89 - )
90 -
91 - sed -i "${disable_unittests[@]}" run_unittests.py || die
92 -
93 - # Broken due to python2 script created by python_wrapper_setup
94 - rm -r "test cases/frameworks/1 boost" || die
95 -
96 - distutils-r1_python_prepare_all
97 -}
98 -
99 -src_test() {
100 - tc-export PKG_CONFIG
101 - if ${PKG_CONFIG} --exists Qt5Core && ! ${PKG_CONFIG} --exists Qt5Gui; then
102 - ewarn "Found Qt5Core but not Qt5Gui; skipping tests"
103 - else
104 - # https://bugs.gentoo.org/687792
105 - unset PKG_CONFIG
106 - distutils-r1_src_test
107 - fi
108 -}
109 -
110 -python_test() {
111 - (
112 - # test_meson_installed
113 - unset PYTHONDONTWRITEBYTECODE
114 -
115 - # test_cross_file_system_paths
116 - unset XDG_DATA_HOME
117 -
118 - # 'test cases/unit/73 summary' expects 80 columns
119 - export COLUMNS=80
120 -
121 - # If JAVA_HOME is not set, meson looks for javac in PATH.
122 - # If javac is in /usr/bin, meson assumes /usr/include is a valid
123 - # JDK include path. Setting JAVA_HOME works around this broken
124 - # autodection. If no JDK is installed, we should end up with an empty
125 - # value in JAVA_HOME, and the tests should get skipped.
126 - export JAVA_HOME=$(java-config -O 2>/dev/null)
127 -
128 - ${EPYTHON} -u run_tests.py
129 - ) || die "Testing failed with ${EPYTHON}"
130 -}
131 -
132 -python_install_all() {
133 - distutils-r1_python_install_all
134 -
135 - insinto /usr/share/vim/vimfiles
136 - doins -r data/syntax-highlighting/vim/{ftdetect,indent,syntax}
137 - insinto /usr/share/zsh/site-functions
138 - doins data/shell-completions/zsh/_meson
139 -}
140
141 diff --git a/dev-util/meson/meson-0.59.3.ebuild b/dev-util/meson/meson-0.59.3.ebuild
142 deleted file mode 100644
143 index 5d637ceeedd..00000000000
144 --- a/dev-util/meson/meson-0.59.3.ebuild
145 +++ /dev/null
146 @@ -1,105 +0,0 @@
147 -# Copyright 2016-2021 Gentoo Authors
148 -# Distributed under the terms of the GNU General Public License v2
149 -
150 -EAPI=7
151 -PYTHON_COMPAT=( python3_{7,8,9,10} )
152 -
153 -if [[ ${PV} = *9999* ]]; then
154 - EGIT_REPO_URI="https://github.com/mesonbuild/meson"
155 - inherit git-r3
156 -else
157 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
158 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
159 -fi
160 -
161 -inherit distutils-r1 toolchain-funcs
162 -
163 -DESCRIPTION="Open source build system"
164 -HOMEPAGE="https://mesonbuild.com/"
165 -
166 -LICENSE="Apache-2.0"
167 -SLOT="0"
168 -IUSE="test"
169 -RESTRICT="!test? ( test )"
170 -
171 -DEPEND="
172 - test? (
173 - dev-libs/glib:2
174 - dev-libs/gobject-introspection
175 - dev-util/ninja
176 - dev-vcs/git
177 - sys-libs/zlib[static-libs(+)]
178 - virtual/pkgconfig
179 - )
180 -"
181 -
182 -PATCHES=(
183 - "${FILESDIR}/meson-mcompile-treat-load-average-as-a-float.patch"
184 -)
185 -
186 -python_prepare_all() {
187 - local disable_unittests=(
188 - # ASAN and sandbox both want control over LD_PRELOAD
189 - # https://bugs.gentoo.org/673016
190 - -e 's/test_generate_gir_with_address_sanitizer/_&/'
191 -
192 - # ASAN is unsupported on some targets
193 - # https://bugs.gentoo.org/692822
194 - -e 's/test_pch_with_address_sanitizer/_&/'
195 -
196 - # https://github.com/mesonbuild/meson/issues/7203
197 - -e 's/test_templates/_&/'
198 -
199 - # Broken due to python2 wrapper
200 - -e 's/test_python_module/_&/'
201 - )
202 -
203 - sed -i "${disable_unittests[@]}" run_unittests.py || die
204 -
205 - # Broken due to python2 script created by python_wrapper_setup
206 - rm -r "test cases/frameworks/1 boost" || die
207 -
208 - distutils-r1_python_prepare_all
209 -}
210 -
211 -src_test() {
212 - tc-export PKG_CONFIG
213 - if ${PKG_CONFIG} --exists Qt5Core && ! ${PKG_CONFIG} --exists Qt5Gui; then
214 - ewarn "Found Qt5Core but not Qt5Gui; skipping tests"
215 - else
216 - # https://bugs.gentoo.org/687792
217 - unset PKG_CONFIG
218 - distutils-r1_src_test
219 - fi
220 -}
221 -
222 -python_test() {
223 - (
224 - # test_meson_installed
225 - unset PYTHONDONTWRITEBYTECODE
226 -
227 - # test_cross_file_system_paths
228 - unset XDG_DATA_HOME
229 -
230 - # 'test cases/unit/73 summary' expects 80 columns
231 - export COLUMNS=80
232 -
233 - # If JAVA_HOME is not set, meson looks for javac in PATH.
234 - # If javac is in /usr/bin, meson assumes /usr/include is a valid
235 - # JDK include path. Setting JAVA_HOME works around this broken
236 - # autodection. If no JDK is installed, we should end up with an empty
237 - # value in JAVA_HOME, and the tests should get skipped.
238 - export JAVA_HOME=$(java-config -O 2>/dev/null)
239 -
240 - ${EPYTHON} -u run_tests.py
241 - ) || die "Testing failed with ${EPYTHON}"
242 -}
243 -
244 -python_install_all() {
245 - distutils-r1_python_install_all
246 -
247 - insinto /usr/share/vim/vimfiles
248 - doins -r data/syntax-highlighting/vim/{ftdetect,indent,syntax}
249 - insinto /usr/share/zsh/site-functions
250 - doins data/shell-completions/zsh/_meson
251 -}