[arch-commits] Commit in libgit2-glib/repos/extra-x86_64 (3 files)

Jan Steffens heftig at archlinux.org
Sun Nov 4 17:50:55 UTC 2018


    Date: Sunday, November 4, 2018 @ 17:50:54
  Author: heftig
Revision: 337834

archrelease: copy trunk to extra-x86_64

Added:
  libgit2-glib/repos/extra-x86_64/PKGBUILD
    (from rev 337833, libgit2-glib/trunk/PKGBUILD)
Deleted:
  libgit2-glib/repos/extra-x86_64/PKGBUILD
  libgit2-glib/repos/extra-x86_64/libgit2-0.27.0.diff

---------------------+
 PKGBUILD            |   89 +++++++++++++++++++++++---------------------------
 libgit2-0.27.0.diff |   12 ------
 2 files changed, 42 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-04 17:49:53 UTC (rev 337833)
+++ PKGBUILD	2018-11-04 17:50:54 UTC (rev 337834)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=libgit2-glib
-pkgver=0.26.4
-pkgrel=3
-pkgdesc="GLib wrapper for libgit2"
-url="https://wiki.gnome.org/Projects/Libgit2-glib"
-license=(LGPL2.1)
-arch=(x86_64)
-depends=(glib2 libgit2)
-makedepends=(gobject-introspection python-gobject python2 vala gtk-doc git meson)
-_commit=fed5187a24bbee3aa72049df3f55af4a4166c0bb  # tags/v0.26.4^0
-source=("git+https://git.gnome.org/browse/libgit2-glib#commit=$_commit"
-        libgit2-0.27.0.diff)
-sha256sums=('SKIP'
-            'df86d15a80e6031af51274e25266c5cf7800a803958384132c3c4a7835e15b1e')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  patch -Np1 -i ../libgit2-0.27.0.diff
-}
-
-build() {
-  arch-meson $pkgname build -D gtk_doc=true
-  ninja -C build
-}
-
-check() {
-  cd build
-  meson test
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-  cp -a "$pkgdir"/usr/lib/python{3.7,2.7}
-  python3 -m compileall "$pkgdir/usr/lib/python3.7"
-  python3 -O -m compileall "$pkgdir/usr/lib/python3.7"
-  python2 -m compileall "$pkgdir/usr/lib/python2.7"
-  python2 -O -m compileall "$pkgdir/usr/lib/python2.7"
-}

Copied: libgit2-glib/repos/extra-x86_64/PKGBUILD (from rev 337833, libgit2-glib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-04 17:50:54 UTC (rev 337834)
@@ -0,0 +1,42 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libgit2-glib
+pkgver=0.27.7
+pkgrel=1
+pkgdesc="GLib wrapper for libgit2"
+url="https://wiki.gnome.org/Projects/Libgit2-glib"
+license=(LGPL2.1)
+arch=(x86_64)
+depends=(glib2 libgit2)
+makedepends=(gobject-introspection python-gobject python2 vala gtk-doc git meson)
+_commit=97becd4ca4642d8a03b2153df65e01f220d80757  # tags/v0.27.7^0
+source=("git+https://gitlab.gnome.org/GNOME/libgit2-glib.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D gtk_doc=true
+  ninja -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  cp -a "$pkgdir"/usr/lib/python{3.7,2.7}
+  for _v in 2.7 3.7; do
+    python$_v -m compileall -d /usr/lib/python$_v "$pkgdir/usr/lib/python$_v"
+    python$_v -O -m compileall -d /usr/lib/python$_v "$pkgdir/usr/lib/python$_v"
+  done
+}

Deleted: libgit2-0.27.0.diff
===================================================================
--- libgit2-0.27.0.diff	2018-11-04 17:49:53 UTC (rev 337833)
+++ libgit2-0.27.0.diff	2018-11-04 17:50:54 UTC (rev 337834)
@@ -1,12 +0,0 @@
-diff --git i/libgit2-glib/ggit-config.c w/libgit2-glib/ggit-config.c
-index b6536ce..2785574 100644
---- i/libgit2-glib/ggit-config.c
-+++ w/libgit2-glib/ggit-config.c
-@@ -295,6 +295,7 @@ ggit_config_add_file (GgitConfig      *config,
- 	ret = git_config_add_file_ondisk (_ggit_native_get (config),
- 	                                  path,
- 	                                  (git_config_level_t)level,
-+	                                  NULL,
- 	                                  force);
- 	g_free (path);
- 


More information about the arch-commits mailing list