# Maintainer: pkgname=py3-meson-python pkgver=0.13.2 pkgrel=1 pkgdesc="Meson PEP 517 Python build backend" url="https://github.com/mesonbuild/meson-python" arch="noarch" license="MIT" depends=" meson py3-pyproject-metadata python3 " checkdepends=" cython patchelf py3-pytest py3-pytest-mock py3-wheel python3-dev " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/mesonbuild/meson-python/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir/meson-python-$pkgver" build() { abuild-meson . output meson compile -C output } check() { # these require pip pytest \ --deselect tests/conftest.py \ --deselect tests/test_pep518.py \ -k 'not test_user_args' } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output python3 -m compileall "$pkgdir"/usr/lib } sha512sums=" b5518c5e9ccbec40747f2c08a83134f012557e0d9612b99999473d2ae7fdfdeae5b7552dc16cebb493133c3ed8c52153b3e3afd3cef32d0f3a65771ebbb5b3bb py3-meson-python-0.13.2.tar.gz "