1 |
commit: 23e183f56b5fb787392463a8036f469fee38fb17 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 31 20:26:02 2019 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 31 20:26:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23e183f5 |
7 |
|
8 |
dev-util/meson: 0.51.2 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
12 |
|
13 |
dev-util/meson/Manifest | 1 + |
14 |
dev-util/meson/meson-0.51.2.ebuild | 79 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 80 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/meson/Manifest b/dev-util/meson/Manifest |
18 |
index f0545ae0c90..958a069acb4 100644 |
19 |
--- a/dev-util/meson/Manifest |
20 |
+++ b/dev-util/meson/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST meson-0.50.1.tar.gz 1402160 BLAKE2B 051e9949f3a216c1074ec826c6a232124a3d2615dc03f83f57bfe96427cd44aa95e2ec7c688e87252d0179882f91e0ccf440eda4b47ff2f0d3af7382a530e011 SHA512 0dcc19007b3b1626e198c0a4ddb0f37dfdfe25f447e511a772b302bffc02187a3e56046daea01a0ad5cf611d557bae12d5b858bb7a44f69919b9ac9ad696aafd |
23 |
DIST meson-0.51.1.tar.gz 1451234 BLAKE2B 8a925bfa3d622f75eb180226311a6531cde435a5a6573663f44ba67dbefa63f76b8bd17eb23d291594fe66a379ebc8aef5f1e680973a59b0b52c41fe09e4cdcf SHA512 535fb7c73a7e721a25ce4a0b9771bbb2c07fcd8f7b8f43542a093663291761370044f99b9109853b19201189881e64db1ba5a67c724ecff21000b22ca79f182c |
24 |
+DIST meson-0.51.2.tar.gz 1453328 BLAKE2B 514995ba8db534ecd488e99fb1aed25d33de73ca65fdfaf18584bd8c113eca3602a73ac42f2ae5ddd4362f8989a02d3d3aa75487ba665706c75039e3f039056c SHA512 332fa0801accd91dc8f3cc1e4e701b1139fdb17c4ae8371fab419e83305ef41534e5f367fbd9323936afb6912d5c3e7cffa9cef658550fad0861ccca9812d5b0 |
25 |
|
26 |
diff --git a/dev-util/meson/meson-0.51.2.ebuild b/dev-util/meson/meson-0.51.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..782127bd368 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/meson/meson-0.51.2.ebuild |
31 |
@@ -0,0 +1,79 @@ |
32 |
+# Copyright 2016-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
37 |
+ |
38 |
+if [[ ${PV} = *9999* ]]; then |
39 |
+ EGIT_REPO_URI="https://github.com/mesonbuild/meson" |
40 |
+ inherit git-r3 |
41 |
+else |
42 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" |
44 |
+fi |
45 |
+ |
46 |
+inherit distutils-r1 toolchain-funcs |
47 |
+ |
48 |
+DESCRIPTION="Open source build system" |
49 |
+HOMEPAGE="http://mesonbuild.com/" |
50 |
+ |
51 |
+LICENSE="Apache-2.0" |
52 |
+SLOT="0" |
53 |
+IUSE="test" |
54 |
+RESTRICT="!test? ( test )" |
55 |
+ |
56 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ test? ( |
59 |
+ dev-libs/glib:2 |
60 |
+ dev-libs/gobject-introspection |
61 |
+ dev-util/ninja |
62 |
+ dev-vcs/git |
63 |
+ sys-libs/zlib[static-libs(+)] |
64 |
+ virtual/pkgconfig |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+python_prepare_all() { |
69 |
+ # ASAN and sandbox both want control over LD_PRELOAD |
70 |
+ # https://bugs.gentoo.org/673016 |
71 |
+ sed -i -e 's/test_generate_gir_with_address_sanitizer/_&/' run_unittests.py || die |
72 |
+ |
73 |
+ # ASAN is unsupported on some targets |
74 |
+ # https://bugs.gentoo.org/692822 |
75 |
+ sed -i -e 's/test_pch_with_address_sanitizer/_&/' run_unittests.py || die |
76 |
+ |
77 |
+ distutils-r1_python_prepare_all |
78 |
+} |
79 |
+ |
80 |
+src_test() { |
81 |
+ tc-export PKG_CONFIG |
82 |
+ if ${PKG_CONFIG} --exists Qt5Core && ! ${PKG_CONFIG} --exists Qt5Gui; then |
83 |
+ ewarn "Found Qt5Core but not Qt5Gui; skipping tests" |
84 |
+ else |
85 |
+ # https://bugs.gentoo.org/687792 |
86 |
+ unset PKG_CONFIG |
87 |
+ distutils-r1_src_test |
88 |
+ fi |
89 |
+} |
90 |
+ |
91 |
+python_test() { |
92 |
+ ( |
93 |
+ # test_meson_installed |
94 |
+ unset PYTHONDONTWRITEBYTECODE |
95 |
+ |
96 |
+ # test_cross_file_system_paths |
97 |
+ unset XDG_DATA_HOME |
98 |
+ |
99 |
+ ${EPYTHON} -u run_tests.py |
100 |
+ ) || die "Testing failed with ${EPYTHON}" |
101 |
+} |
102 |
+ |
103 |
+python_install_all() { |
104 |
+ distutils-r1_python_install_all |
105 |
+ |
106 |
+ insinto /usr/share/vim/vimfiles |
107 |
+ doins -r data/syntax-highlighting/vim/{ftdetect,indent,syntax} |
108 |
+ insinto /usr/share/zsh/site-functions |
109 |
+ doins data/shell-completions/zsh/_meson |
110 |
+} |