[arch-commits] Commit in pygobject/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed May 6 17:39:15 UTC 2020
Date: Wednesday, May 6, 2020 @ 17:39:15
Author: heftig
Revision: 382427
archrelease: copy trunk to extra-x86_64
Added:
pygobject/repos/extra-x86_64/PKGBUILD
(from rev 382426, pygobject/trunk/PKGBUILD)
Deleted:
pygobject/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 170 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 85 insertions(+), 85 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-06 17:39:05 UTC (rev 382426)
+++ PKGBUILD 2020-05-06 17:39:15 UTC (rev 382427)
@@ -1,85 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=pygobject
-pkgname=(python-gobject python2-gobject pygobject-devel)
-pkgver=3.36.0
-pkgrel=2
-pkgdesc="Python Bindings for GLib/GObject/GIO/GTK+"
-url="https://wiki.gnome.org/Projects/PyGObject"
-arch=(x86_64)
-license=(LGPL)
-depends=(gobject-introspection-runtime)
-makedepends=(python{,2}-cairo gobject-introspection git meson)
-checkdepends=(python{,2}-pytest gtk3 xorg-server-xvfb)
-optdepends=('cairo: Cairo bindings')
-_commit=43cf6c15bfe853c1f9a37d89c1edf416106777ea # tags/3.36.0^0
-source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgbase
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgbase
- # tests: don't use strict mode for xfail with the excepthook plugin
- git cherry-pick -n dae0500166068d78150855bdef94f0bee18b31dd
-}
-
-_build() {
- arch-meson $pkgbase build-$1 -D python=/usr/bin/$1
- ninja -C build-$1
-}
-
-_check() {
- xvfb-run meson test -C build-$1 --print-errorlogs
-}
-
-_package() {
- DESTDIR="$pkgdir" meson install -C build-$1
- $1 -m compileall -d /usr/lib "$pkgdir/usr/lib"
- $1 -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
-}
-
-build() {
- _build python
- _build python2
-}
-
-check() {
- _check python
- _check python2
-}
-
-package_python-gobject() {
- depends=("pygobject-devel=$pkgver" python)
-
- _package python
-
-### Split -devel
- mkdir -p "$srcdir/devel"
- mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
-}
-
-package_python2-gobject() {
- pkgdesc="${pkgdesc/Python/Python2}"
- depends=("pygobject-devel=$pkgver" python2)
-
- _package python2
-
-### Remove -devel
- rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
-}
-
-package_pygobject-devel() {
- pkgdesc="Common development files for pygobject"
- optdepends=()
-
- mkdir -p "$pkgdir/usr/lib"
- mv devel/include "$pkgdir/usr"
- mv devel/pkgconfig "$pkgdir/usr/lib"
-}
-
-# vim:set sw=2 et:
Copied: pygobject/repos/extra-x86_64/PKGBUILD (from rev 382426, pygobject/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-06 17:39:15 UTC (rev 382427)
@@ -0,0 +1,85 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=pygobject
+pkgname=(python-gobject python2-gobject pygobject-devel)
+pkgver=3.36.1
+pkgrel=1
+pkgdesc="Python Bindings for GLib/GObject/GIO/GTK+"
+url="https://wiki.gnome.org/Projects/PyGObject"
+arch=(x86_64)
+license=(LGPL)
+depends=(gobject-introspection-runtime)
+makedepends=(python{,2}-cairo gobject-introspection git meson)
+checkdepends=(python{,2}-pytest gtk3 xorg-server-xvfb)
+optdepends=('cairo: Cairo bindings')
+_commit=5c6bee1c2a0d08cf367aa61784b5b967128e68b2 # tags/3.36.1^0
+source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgbase
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgbase
+ # tests: don't use strict mode for xfail with the excepthook plugin
+ git cherry-pick -n dae0500166068d78150855bdef94f0bee18b31dd
+}
+
+_build() {
+ arch-meson $pkgbase build-$1 -D python=/usr/bin/$1
+ ninja -C build-$1
+}
+
+_check() {
+ xvfb-run meson test -C build-$1 --print-errorlogs
+}
+
+_package() {
+ DESTDIR="$pkgdir" meson install -C build-$1
+ $1 -m compileall -d /usr/lib "$pkgdir/usr/lib"
+ $1 -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+}
+
+build() {
+ _build python
+ _build python2
+}
+
+check() {
+ _check python
+ _check python2
+}
+
+package_python-gobject() {
+ depends=("pygobject-devel=$pkgver" python)
+
+ _package python
+
+### Split -devel
+ mkdir -p "$srcdir/devel"
+ mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
+}
+
+package_python2-gobject() {
+ pkgdesc="${pkgdesc/Python/Python2}"
+ depends=("pygobject-devel=$pkgver" python2)
+
+ _package python2
+
+### Remove -devel
+ rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
+}
+
+package_pygobject-devel() {
+ pkgdesc="Common development files for pygobject"
+ optdepends=()
+
+ mkdir -p "$pkgdir/usr/lib"
+ mv devel/include "$pkgdir/usr"
+ mv devel/pkgconfig "$pkgdir/usr/lib"
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list