mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/py3-gobject3: use abuild-meson & meson compile/test/install
This commit is contained in:
parent
45efca103e
commit
cc9e6eb625
@ -20,21 +20,16 @@ builddir="$srcdir"/pygobject-$pkgver
|
||||
replaces="py-gobject3" # Backwards compatibility
|
||||
provides="py-gobject3=$pkgver-r$pkgrel" # Backwards compatibility
|
||||
|
||||
build() {
|
||||
meson \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var \
|
||||
--buildtype=plain \
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Dpython=python3 \
|
||||
. output
|
||||
|
||||
ninja -C output
|
||||
meson compile ${JOBS:+-j ${JOBS}} -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
PYGI_TEST_VERBOSE="1" xvfb-run ninja -C output test
|
||||
PYGI_TEST_VERBOSE="1" xvfb-run meson test --no-rebuild -v -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user