Date: Friday, February 3, 2023 @ 22:50:10 Author: heftig Revision: 468167
1.23.0-3: minor fixes; rebuild for FS#77367 Modified: python-cairo/trunk/PKGBUILD python-cairo/trunk/keys/pgp/0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC.asc ----------+ PKGBUILD | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-02-03 21:11:07 UTC (rev 468166) +++ PKGBUILD 2023-02-03 22:50:10 UTC (rev 468167) @@ -1,13 +1,13 @@ -# Maintainer: Angel Velasquez <[email protected]> -# Maintainer: Jan de Groot <[email protected]> +# Contributor: Angel Velasquez <[email protected]> +# Contributor: Jan de Groot <[email protected]> pkgname=python-cairo pkgver=1.23.0 -pkgrel=2 +pkgrel=3 pkgdesc="Python bindings for the cairo graphics library" -arch=('x86_64') url="https://pycairo.readthedocs.io/en/latest/" -license=('LGPL2.1' 'MPL') +arch=(x86_64) +license=(LGPL2.1 MPL) depends=(cairo python) makedepends=(meson) checkdepends=(python-pytest) @@ -16,15 +16,17 @@ 'SKIP') validpgpkeys=(0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC) # Christoph Reiter <[email protected]> +prepare() { + cd pycairo-$pkgver +} + build() { - meson build pycairo-$pkgver \ - --prefix=/usr + arch-meson pycairo-$pkgver build meson compile -C build } check() { - cd build - pytest -v + meson test -C build --print-errorlogs } package() { @@ -31,6 +33,8 @@ meson install -C build --destdir="$pkgdir" # compile Python bytecode - python -m compileall -d / "$pkgdir"/usr/lib - python -O -m compileall -d / "$pkgdir"/usr/lib + python -m compileall -d /usr/lib "$pkgdir/usr/lib" + python -O -m compileall -d /usr/lib "$pkgdir/usr/lib" } + +# vim:set sw=2 sts=-1 et: Modified: keys/pgp/0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC.asc =================================================================== (Binary files differ)
