[arch-commits] Commit in meson/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Aug 6 11:03:10 UTC 2016


    Date: Saturday, August 6, 2016 @ 11:03:10
  Author: anthraxx
Revision: 185598

archrelease: copy trunk to community-any

Added:
  meson/repos/community-any/PKGBUILD
    (from rev 185597, meson/trunk/PKGBUILD)
Deleted:
  meson/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 39 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-06 11:03:02 UTC (rev 185597)
+++ PKGBUILD	2016-08-06 11:03:10 UTC (rev 185598)
@@ -1,26 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol dot pomozov at gmail>
-
-pkgname=meson
-pkgver=0.32.0
-pkgrel=1
-pkgdesc='SCons-like build system that use python as a front-end language and Ninja as a building backend'
-url='http://mesonbuild.com/'
-arch=(any)
-depends=(python ninja)
-optdepends=('python-pyqt5: GUI support')
-#checkdepends=(gcc-objc gnustep-make vala rust gcc-fortran mono boost qt5-base) #gtest or googletest
-license=(Apache)
-source=(https://pypi.io/packages/source/m/meson/meson-$pkgver.tar.gz)
-sha1sums=('9db0eb1f550d388e7a845cc20078d0ce79319a22')
-
-check() {
-  cd meson-$pkgver
-#  tests require a lot of dependencies
-#  ./run_tests.py
-}
-
-package() {
-  cd meson-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
-}

Copied: meson/repos/community-any/PKGBUILD (from rev 185597, meson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-08-06 11:03:10 UTC (rev 185598)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
+
+pkgname=meson
+pkgver=0.33.0
+pkgrel=1
+pkgdesc='High productivity build system'
+url='http://mesonbuild.com/'
+arch=('any')
+license=('Apache')
+depends=('python' 'ninja')
+makedepends=('python-setuptools')
+checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt5-base' 'git' 'gnustep-base' 'cython'
+              'gtest' 'gmock' 'protobuf' 'wxgtk' 'python-gobject' 'gobject-introspection' 'pkgconfig')
+source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc})
+sha512sums=('07b2dc6b5620bd119c9d513706ce599c5c5f6864d8e4be42682504558c8bd39cf6f3eafc07b33d6155fe97e39cdf7c0d0ff97295761ce85d9d21aa194298df9e'
+            'SKIP')
+validpgpkeys=('95181F4EED14FDF4E41B518D3BF4693BFEEB9428') # Jussi Pakkanen <jpakkane at gmail.com>
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed 's|cython3|cython|g' -i 'test cases/python3/3 cython/meson.build'
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  # for debugging set MESON_PRINT_TEST_OUTPUT
+  ./run_tests.py
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}" -O1
+  for f in "${pkgdir}"/usr/bin/*.py; do
+    mv "${f}" "${f%%.py}"
+  done
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list