Date: Friday, December 23, 2022 @ 20:09:54
Author: heftig
Revision: 464800
archrelease: copy trunk to extra-any
Added:
meson/repos/extra-any/0001-Skip-broken-tests.patch
(from rev 464799, meson/trunk/0001-Skip-broken-tests.patch)
meson/repos/extra-any/PKGBUILD
(from rev 464799, meson/trunk/PKGBUILD)
meson/repos/extra-any/arch-meson
(from rev 464799, meson/trunk/arch-meson)
meson/repos/extra-any/keys/
Deleted:
meson/repos/extra-any/0001-Skip-broken-tests.patch
meson/repos/extra-any/PKGBUILD
meson/repos/extra-any/arch-meson
meson/repos/extra-any/keys/
------------------------------+
0001-Skip-broken-tests.patch | 86 ++++++++++----------
PKGBUILD | 168 ++++++++++++++++++++++++++---------------
arch-meson | 26 +++---
3 files changed, 166 insertions(+), 114 deletions(-)
Deleted: 0001-Skip-broken-tests.patch
===================================================================
--- 0001-Skip-broken-tests.patch 2022-12-23 20:09:43 UTC (rev 464799)
+++ 0001-Skip-broken-tests.patch 2022-12-23 20:09:54 UTC (rev 464800)
@@ -1,43 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <[email protected]>
-Date: Thu, 14 Apr 2022 14:08:15 +0000
-Subject: [PATCH] Skip broken tests
-
----
- test cases/linuxlike/13 cmake dependency/meson.build | 2 ++
- unittests/linuxliketests.py | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/test cases/linuxlike/13 cmake dependency/meson.build b/test
cases/linuxlike/13 cmake dependency/meson.build
-index 193ad184b637..e94ba68ac30f 100644
---- a/test cases/linuxlike/13 cmake dependency/meson.build
-+++ b/test cases/linuxlike/13 cmake dependency/meson.build
-@@ -6,6 +6,8 @@ if not find_program('cmake', required: false).found()
- error('MESON_SKIP_TEST cmake binary not available.')
- endif
-
-+error('MESON_SKIP_TEST flaky, see
https://github.com/mesonbuild/meson/issues/10104')
-+
- # Zlib is probably on all dev machines.
-
- dep = dependency('ZLIB', version : '>=1.2', method : 'cmake')
-diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py
-index 25b392f28e47..db8119f63719 100644
---- a/unittests/linuxliketests.py
-+++ b/unittests/linuxliketests.py
-@@ -359,6 +359,7 @@ class LinuxlikeTests(BasePlatformTests):
- raise SkipTest('asan not available on Cygwin')
- if is_openbsd():
- raise SkipTest('-fsanitize=address is not supported on OpenBSD')
-+ raise SkipTest('cannot run sanitizers in containers without ptrace')
-
- testdir = os.path.join(self.framework_test_dir, '7 gnome')
- self.init(testdir, extra_args=['-Db_sanitize=address',
'-Db_lundef=false'])
-@@ -1014,6 +1015,7 @@ class LinuxlikeTests(BasePlatformTests):
- raise SkipTest('asan not available on Cygwin')
- if is_openbsd():
- raise SkipTest('-fsanitize=address is not supported on OpenBSD')
-+ raise SkipTest('cannot run sanitizers in containers without ptrace')
-
- testdir = os.path.join(self.common_test_dir, '13 pch')
- self.init(testdir, extra_args=['-Db_sanitize=address',
'-Db_lundef=false'])
Copied: meson/repos/extra-any/0001-Skip-broken-tests.patch (from rev 464799,
meson/trunk/0001-Skip-broken-tests.patch)
===================================================================
--- 0001-Skip-broken-tests.patch (rev 0)
+++ 0001-Skip-broken-tests.patch 2022-12-23 20:09:54 UTC (rev 464800)
@@ -0,0 +1,43 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <[email protected]>
+Date: Thu, 14 Apr 2022 14:08:15 +0000
+Subject: [PATCH] Skip broken tests
+
+---
+ test cases/linuxlike/13 cmake dependency/meson.build | 2 ++
+ unittests/linuxliketests.py | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/test cases/linuxlike/13 cmake dependency/meson.build b/test
cases/linuxlike/13 cmake dependency/meson.build
+index 193ad184b637..e94ba68ac30f 100644
+--- a/test cases/linuxlike/13 cmake dependency/meson.build
++++ b/test cases/linuxlike/13 cmake dependency/meson.build
+@@ -6,6 +6,8 @@ if not find_program('cmake', required: false).found()
+ error('MESON_SKIP_TEST cmake binary not available.')
+ endif
+
++error('MESON_SKIP_TEST flaky, see
https://github.com/mesonbuild/meson/issues/10104')
++
+ # Zlib is probably on all dev machines.
+
+ dep = dependency('ZLIB', version : '>=1.2', method : 'cmake')
+diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py
+index 50c6b62b02dd..20eb73550e9f 100644
+--- a/unittests/linuxliketests.py
++++ b/unittests/linuxliketests.py
+@@ -359,6 +359,7 @@ class LinuxlikeTests(BasePlatformTests):
+ raise SkipTest('asan not available on Cygwin')
+ if is_openbsd():
+ raise SkipTest('-fsanitize=address is not supported on OpenBSD')
++ raise SkipTest('cannot run sanitizers in containers without ptrace')
+
+ testdir = os.path.join(self.framework_test_dir, '7 gnome')
+ self.init(testdir, extra_args=['-Db_sanitize=address',
'-Db_lundef=false'])
+@@ -1014,6 +1015,7 @@ class LinuxlikeTests(BasePlatformTests):
+ raise SkipTest('asan not available on Cygwin')
+ if is_openbsd():
+ raise SkipTest('-fsanitize=address is not supported on OpenBSD')
++ raise SkipTest('cannot run sanitizers in containers without ptrace')
+
+ testdir = os.path.join(self.common_test_dir, '13 pch')
+ self.init(testdir, extra_args=['-Db_sanitize=address',
'-Db_lundef=false'])
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-23 20:09:43 UTC (rev 464799)
+++ PKGBUILD 2022-12-23 20:09:54 UTC (rev 464800)
@@ -1,58 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
-
-pkgname=meson
-pkgver=0.64.1
-pkgrel=1
-pkgdesc='High productivity build system'
-url='https://mesonbuild.com/'
-arch=('any')
-license=('Apache')
-depends=('python-setuptools' 'ninja')
-checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt5-base'
'git' 'cython'
- 'gtkmm3' 'gtest' 'gmock' 'protobuf' 'wxgtk3' 'python-gobject'
'gobject-introspection'
- 'itstool' 'gtk3' 'java-environment=8' 'gtk-doc' 'llvm' 'clang'
'sdl2' 'graphviz'
- 'doxygen' 'vulkan-validation-layers' 'openssh' 'mercurial'
'gtk-sharp-2' 'qt5-tools'
- 'libwmf' 'valgrind' 'cmake' 'netcdf-fortran' 'openmpi' 'nasm'
'gnustep-base' 'libelf'
- 'python-pytest-xdist' 'ldc' 'rust-bindgen' 'cuda' 'hotdoc')
-source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc}
- 0001-Skip-broken-tests.patch
- arch-meson)
-sha512sums=('4896f5a09f89cadce028080f70e5ca005fd3bb2141a730a0ad71ded63d1bde6d1254957fe079f5e4c6e3b9420a9fcc4525b01e689979f0bab6d09d6483ca42ec'
- 'SKIP'
-
'51b5d0b684a03ab884c6d94925bae7edc8544168100497251c36e85502428a0fe89e5512e067b24d983695ab3b468a8a504dfbe5d66c1c17579039bf329d3857'
-
'f451f8a7ef9cf1dd724c2ce20bb85a3f1611b87b2e7a17ef0fdbe8ab82a67389f818ea30a5adfe8413143e4eac77ea2e0b8234b5b2466b41a892e2bd0435376c')
-validpgpkeys=('19E2D6D9B46D8DAA6288F877C24E631BABB1FE70') # Jussi Pakkanen
<[email protected]>
-
-prepare() {
- cd ${pkgname}-${pkgver}
- patch -Np1 -i ../0001-Skip-broken-tests.patch
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- python setup.py build
-}
-
-check() (
- cd ${pkgname}-${pkgver}
- export LC_CTYPE=en_US.UTF-8 CPPFLAGS= CFLAGS= CXXFLAGS= LDFLAGS=
- ./run_tests.py --failfast
-)
-
-package() {
- cd ${pkgname}-${pkgver}
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
- install -d "${pkgdir}/usr/share/vim/vimfiles"
- cp -rt "${pkgdir}/usr/share/vim/vimfiles" data/syntax-highlighting/vim/*/
-
- install -Dt "${pkgdir}/usr/share/bash-completion/completions" -m644
data/shell-completions/bash/*
- install -Dt "${pkgdir}/usr/share/zsh/site-functions" -m644
data/shell-completions/zsh/*
-
- # Arch packaging helper
- install -D ../arch-meson -t "${pkgdir}/usr/bin"
-}
-
-# vim:set sw=2 sts=-1 et:
Copied: meson/repos/extra-any/PKGBUILD (from rev 464799, meson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-23 20:09:54 UTC (rev 464800)
@@ -0,0 +1,110 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
+
+pkgname=meson
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="High productivity build system"
+url="https://mesonbuild.com/"
+arch=(any)
+license=(Apache)
+depends=(ninja)
+makedepends=(
+ python-build
+ python-installer
+ python-wheel
+)
+checkdepends=(
+ boost
+ clang
+ cmake
+ cuda
+ cython
+ doxygen
+ gcc-fortran
+ gcc-objc
+ git
+ gmock
+ gnustep-base
+ gobject-introspection
+ graphviz
+ gtest
+ gtk-doc
+ gtk-sharp-2
+ gtk3
+ gtkmm3
+ hotdoc
+ itstool
+ java-environment=8
+ ldc
+ libelf
+ libwmf
+ llvm
+ mercurial
+ mono
+ nasm
+ netcdf-fortran
+ openmpi
+ openssh
+ protobuf
+ python-gobject
+ python-pytest-xdist
+ qt5-base
+ qt5-tools
+ rust
+ rust-bindgen
+ sdl2
+ vala
+ valgrind
+ vulkan-validation-layers
+ wxgtk3
+)
+source=(
+
https://github.com/mesonbuild/meson/releases/download/$pkgver/meson-$pkgver.tar.gz{,.asc}
+
meson-reference-$pkgver.3::https://github.com/mesonbuild/meson/releases/download/$pkgver/meson-reference.3
+
meson-reference-$pkgver.json::https://github.com/mesonbuild/meson/releases/download/$pkgver/reference_manual.json
+ 0001-Skip-broken-tests.patch
+ arch-meson
+)
+sha512sums=('9b1195cfe856c1aa51bc79f6eb4d0f94925bb02d0a9fbd68a6a6ced6e5c252b09b22d9aac812640687e49b8d64a313ce48d0a69a3bf83ea8ffb8c9dab559fc23'
+ 'SKIP'
+
'e756e3249e34d119b81403d1c36abbc63ee77db019b16742ebcc89689c177868e3684ae682a058c4bd7c6207d88694445f9e2f2c778f1365fe505e64186394ea'
+
'16099033f4eda0acd3cb2f5785717b493e1b64c50a66012161a10cbcc22e941a38b04124bc2d9622221850226e5407d4e050074d0237a0012dba869bd66af00d'
+
'30558210317307e720fd4d5d360c15882c5c756aad7b26036bc5875a0599312a711df174a87f29d528181ec88e9d48b2ee82456cf23109907c7ba4b4dcc5c238'
+
'f451f8a7ef9cf1dd724c2ce20bb85a3f1611b87b2e7a17ef0fdbe8ab82a67389f818ea30a5adfe8413143e4eac77ea2e0b8234b5b2466b41a892e2bd0435376c')
+validpgpkeys=('19E2D6D9B46D8DAA6288F877C24E631BABB1FE70') # Jussi Pakkanen
<[email protected]>
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../0001-Skip-broken-tests.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() (
+ cd $pkgname-$pkgver
+ export LC_CTYPE=en_US.UTF-8 CPPFLAGS= CFLAGS= CXXFLAGS= LDFLAGS=
+ ./run_tests.py --failfast
+)
+
+package() {
+ cd $pkgname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ install -d "$pkgdir/usr/share/vim/vimfiles"
+ cp -rt "$pkgdir/usr/share/vim/vimfiles" data/syntax-highlighting/vim/*/
+
+ install -Dm644 data/shell-completions/bash/* -t
"$pkgdir/usr/share/bash-completion/completions"
+ install -Dm644 data/shell-completions/zsh/* -t
"$pkgdir/usr/share/zsh/site-functions"
+
+ install -Dm644 ../meson-reference-$pkgver.3
"$pkgdir/usr/share/man/man3/meson-reference.3"
+ install -Dm644 ../meson-reference-$pkgver.json
"$pkgdir/usr/share/doc/$pkgname/reference_manual.json"
+
+ install -D ../arch-meson -t "$pkgdir/usr/bin"
+}
+
+# vim:set sw=2 sts=-1 et:
Deleted: arch-meson
===================================================================
--- arch-meson 2022-12-23 20:09:43 UTC (rev 464799)
+++ arch-meson 2022-12-23 20:09:54 UTC (rev 464800)
@@ -1,13 +0,0 @@
-#!/bin/bash -ex
-# Highly opinionated wrapper for Arch Linux packaging
-
-exec meson setup \
- --prefix /usr \
- --libexecdir lib \
- --sbindir bin \
- --buildtype plain \
- --auto-features enabled \
- --wrap-mode nodownload \
- -D b_lto=true \
- -D b_pie=true \
- "$@"
Copied: meson/repos/extra-any/arch-meson (from rev 464799,
meson/trunk/arch-meson)
===================================================================
--- arch-meson (rev 0)
+++ arch-meson 2022-12-23 20:09:54 UTC (rev 464800)
@@ -0,0 +1,13 @@
+#!/bin/bash -ex
+# Highly opinionated wrapper for Arch Linux packaging
+
+exec meson setup \
+ --prefix /usr \
+ --libexecdir lib \
+ --sbindir bin \
+ --buildtype plain \
+ --auto-features enabled \
+ --wrap-mode nodownload \
+ -D b_lto=true \
+ -D b_pie=true \
+ "$@"