[arch-commits] Commit in pygobject/repos/gnome-unstable-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Mar 13 20:09:39 UTC 2018


    Date: Tuesday, March 13, 2018 @ 20:09:38
  Author: heftig
Revision: 318861

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  pygobject/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 318860, pygobject/trunk/PKGBUILD)
Deleted:
  pygobject/repos/gnome-unstable-x86_64/PKGBUILD

----------+
 PKGBUILD |  136 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 68 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-13 20:09:11 UTC (rev 318860)
+++ PKGBUILD	2018-03-13 20:09:38 UTC (rev 318861)
@@ -1,68 +0,0 @@
-# $Id$
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=pygobject
-pkgname=(python-gobject python2-gobject pygobject-devel)
-pkgver=3.27.5
-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=7e571ea62074243eef36110c240e192e5682a687  # tags/3.27.5^0
-source=("git+https://git.gnome.org/browse/pygobject#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/gnome-unstable-x86_64/PKGBUILD (from rev 318860, pygobject/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-13 20:09:38 UTC (rev 318861)
@@ -0,0 +1,68 @@
+# $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/"
+}



More information about the arch-commits mailing list