[arch-commits] Commit in pygobject/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Mar 17 18:37:58 UTC 2018
Date: Saturday, March 17, 2018 @ 18:37:57
Author: heftig
Revision: 319559
archrelease: copy trunk to testing-x86_64
Added:
pygobject/repos/testing-x86_64/PKGBUILD
(from rev 319558, pygobject/trunk/PKGBUILD)
Deleted:
pygobject/repos/testing-x86_64/PKGBUILD
----------+
PKGBUILD | 136 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 68 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-17 18:37:19 UTC (rev 319558)
+++ PKGBUILD 2018-03-17 18:37:57 UTC (rev 319559)
@@ -1,68 +0,0 @@
-# $Id$
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=pygobject
-pkgname=(python-gobject python2-gobject pygobject-devel)
-pkgver=3.28.0+6+g48171470
-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 autoconf-archive)
-optdepends=('cairo: Cairo bindings')
-_commit=48171470feccca4c5595a5f28adf6630fca66515 # pygobject-3-28
-source=("git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgbase
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- mkdir build-py{2,3} devel
- cd $pkgbase
- NOCONFIGURE=1 ./autogen.sh
-}
-
-_build() (
- cd build-py$1
- ../$pkgbase/configure --prefix=/usr --with-python=/usr/bin/python$1
- sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-)
-
-build() {
- _build 2
- _build 3
-}
-
-package_python-gobject() {
- depends=("pygobject-devel=$pkgver" python)
-
- cd build-py3
- make DESTDIR="$pkgdir" install
- mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
-}
-
-package_python2-gobject() {
- pkgdesc="${pkgdesc/Python/Python2}"
- depends=("pygobject-devel=$pkgver" python2)
-
- cd build-py2
- make DESTDIR="$pkgdir" install
- python2 -m compileall "$pkgdir"/usr/lib/python2.7/site-packages/gi
- rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
-}
-
-package_pygobject-devel() {
- pkgdesc="Common development files for pygobject"
- optdepends=()
-
- cd devel
- mkdir -p "$pkgdir/usr/lib"
- mv include "$pkgdir/usr/"
- mv pkgconfig "$pkgdir/usr/lib/"
-}
Copied: pygobject/repos/testing-x86_64/PKGBUILD (from rev 319558, pygobject/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-17 18:37:57 UTC (rev 319559)
@@ -0,0 +1,68 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=pygobject
+pkgname=(python-gobject python2-gobject pygobject-devel)
+pkgver=3.28.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 autoconf-archive)
+optdepends=('cairo: Cairo bindings')
+_commit=ca6918747214484a429c039caed02dd858c307fe # tags/3.28.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() {
+ mkdir build-py{2,3} devel
+ cd $pkgbase
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+_build() (
+ cd build-py$1
+ ../$pkgbase/configure --prefix=/usr --with-python=/usr/bin/python$1
+ sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+)
+
+build() {
+ _build 2
+ _build 3
+}
+
+package_python-gobject() {
+ depends=("pygobject-devel=$pkgver" python)
+
+ cd build-py3
+ make DESTDIR="$pkgdir" install
+ mv "$pkgdir"/usr/{include,lib/pkgconfig} "$srcdir/devel"
+}
+
+package_python2-gobject() {
+ pkgdesc="${pkgdesc/Python/Python2}"
+ depends=("pygobject-devel=$pkgver" python2)
+
+ cd build-py2
+ make DESTDIR="$pkgdir" install
+ python2 -m compileall "$pkgdir"/usr/lib/python2.7/site-packages/gi
+ rm -r "$pkgdir"/usr/{include,lib/pkgconfig}
+}
+
+package_pygobject-devel() {
+ pkgdesc="Common development files for pygobject"
+ optdepends=()
+
+ cd devel
+ mkdir -p "$pkgdir/usr/lib"
+ mv include "$pkgdir/usr/"
+ mv pkgconfig "$pkgdir/usr/lib/"
+}
More information about the arch-commits
mailing list