Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Maintainer: Yukari Chiba <[email protected]>

pkgname=python-gobject
pkgver=3.54.3
_commit_pycapi_compat=632d1aa0c4be6c67498d6b97630ddd7d7eb0f90a
_commit_g_intro_tests=ddd662bb9cdc29f047b239789fb7e56e68fa66bb
pkgver=3.55.0
_commit_pycapi_compat=22811c3f0e69908894d2bd724f572b32667f2141
_commit_g_intro_tests=b8d50f8c75479db3f846c877dbdec7eca26949f7
pkgrel=1
pkgdesc="Python bindings for GLib/GObject/GIO/GTK"
url="https://pygobject.gnome.org/"
Expand All @@ -25,9 +25,9 @@ optdepends=('cairo: Cairo bindings')
source=("https://gitlab.gnome.org/GNOME/pygobject/-/archive/$pkgver/pygobject-$pkgver.tar.gz"
"git+https://github.com/python/pythoncapi-compat.git#commit=$_commit_pycapi_compat"
"git+https://gitlab.gnome.org/GNOME/gobject-introspection-tests.git#commit=$_commit_g_intro_tests")
sha256sums=('7dff932af05c988dfcaf985f14d6664aeff27cd7c0eb2b2428f8cdb169a3d96e'
'c485f20e20d48c9e1a65f419848d5ce2a42939d858dd7345aaedd7eb4f4d3151'
'6ef25921088eb377e1046b770c4b784992dcd0d533adccc18bef69addd93d226')
sha256sums=('9b853d963f37e2043313c807ef4a68ae1d9e3e45d8820fbe4d031aa8519545eb'
'e292dd14afcecab95dab2aaf1401323b303fb9ffe130384d30997320acfa0785'
'd87626d7fb554e67b80ddc60dc1a258b028a4b0cd943573449886fcbb18a77f6')

build() {
MESON_PACKAGE_CACHE_DIR="$srcdir" \
Expand All @@ -36,6 +36,10 @@ build() {
}

check() {
# The testsuite automatically detects existence of GTK3, if present, it will
# try to initialize gtk, which isn't possible in build environment even with
# help of a headless weston daemon as GTK3 always requires a seat with
# keyboard to initialize. So tests must be run without GTK3 installed.
meson test -C build -t 10 --print-errorlogs
}

Expand Down