Browse Source

[trunk] -> [extra] 'pygobject-3.42.0-1' add

master
Dudemanguy 3 months ago
parent
commit
8f7af28f6e
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 11
      pygobject/trunk/PKGBUILD
  2. 11
      pygobject/x86_64/extra/PKGBUILD

11
pygobject/trunk/PKGBUILD

@ -3,8 +3,8 @@
pkgbase=pygobject
pkgname=(python-gobject)
pkgver=3.40.1
pkgrel=2
pkgver=3.42.0
pkgrel=1
pkgdesc="Python Bindings for GLib/GObject/GIO/GTK+"
url="https://wiki.gnome.org/Projects/PyGObject"
arch=(x86_64)
@ -16,7 +16,7 @@ optdepends=('cairo: Cairo bindings')
provides=("pygobject-devel=$pkgver")
conflicts=(pygobject-devel)
replaces=('pygobject-devel<=3.36.1-1')
_commit=8f0b2bbea727280b055317bb401213c5156af318 # tags/3.40.1^0
_commit=d612f3cc675a1838bc5a18061df040ab6405fd31 # tags/3.42.0^0
source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit")
sha256sums=('SKIP')
@ -35,12 +35,11 @@ build() {
}
check() {
xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' \
meson test -C build --print-errorlogs
xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
}
package_python-gobject() {
DESTDIR="$pkgdir" meson install -C build
meson install -C build --destdir "$pkgdir"
python -m compileall -d /usr/lib "$pkgdir/usr/lib"
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
}

11
pygobject/x86_64/extra/PKGBUILD

@ -3,8 +3,8 @@
pkgbase=pygobject
pkgname=(python-gobject)
pkgver=3.40.1
pkgrel=2
pkgver=3.42.0
pkgrel=1
pkgdesc="Python Bindings for GLib/GObject/GIO/GTK+"
url="https://wiki.gnome.org/Projects/PyGObject"
arch=(x86_64)
@ -16,7 +16,7 @@ optdepends=('cairo: Cairo bindings')
provides=("pygobject-devel=$pkgver")
conflicts=(pygobject-devel)
replaces=('pygobject-devel<=3.36.1-1')
_commit=8f0b2bbea727280b055317bb401213c5156af318 # tags/3.40.1^0
_commit=d612f3cc675a1838bc5a18061df040ab6405fd31 # tags/3.42.0^0
source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit")
sha256sums=('SKIP')
@ -35,12 +35,11 @@ build() {
}
check() {
xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' \
meson test -C build --print-errorlogs
xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
}
package_python-gobject() {
DESTDIR="$pkgdir" meson install -C build
meson install -C build --destdir "$pkgdir"
python -m compileall -d /usr/lib "$pkgdir/usr/lib"
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
}

Loading…
Cancel
Save