upg python-cairo

This commit is contained in:
joborun linux 2022-12-06 18:12:50 +02:00
parent 4ee7ce94ce
commit 408d1f7e64
2 changed files with 10 additions and 2 deletions

View File

@ -7,7 +7,7 @@
pkgname=python-cairo
pkgver=1.23.0
pkgrel=01
pkgrel=02
pkgdesc="Python bindings for the cairo graphics library"
arch=('x86_64')
url="https://pycairo.readthedocs.io/en/latest/"
@ -29,6 +29,10 @@ build() {
--prefix=/usr
meson compile -C build
# compile Python bytecode
python -m compileall -d / "$pkgdir"/usr/lib
python -O -m compileall -d / "$pkgdir"/usr/lib
}
check() {

View File

@ -3,7 +3,7 @@
pkgname=python-cairo
pkgver=1.23.0
pkgrel=1
pkgrel=2
pkgdesc="Python bindings for the cairo graphics library"
arch=('x86_64')
url="https://pycairo.readthedocs.io/en/latest/"
@ -29,4 +29,8 @@ check() {
package() {
meson install -C build --destdir="$pkgdir"
# compile Python bytecode
python -m compileall -d / "$pkgdir"/usr/lib
python -O -m compileall -d / "$pkgdir"/usr/lib
}