[arch-commits] Commit in hgview/repos/community-any (PKGBUILD PKGBUILD hg47.patch)

Andrzej Giniewicz aginiewicz at archlinux.org
Sat Aug 11 16:22:28 UTC 2018


    Date: Saturday, August 11, 2018 @ 16:22:27
  Author: aginiewicz
Revision: 371139

archrelease: copy trunk to community-any

Added:
  hgview/repos/community-any/PKGBUILD
    (from rev 371138, hgview/trunk/PKGBUILD)
  hgview/repos/community-any/hg47.patch
    (from rev 371138, hgview/trunk/hg47.patch)
Deleted:
  hgview/repos/community-any/PKGBUILD

------------+
 PKGBUILD   |   78 +++++++++++++++++++++++++++++++----------------------------
 hg47.patch |    9 ++++++
 2 files changed, 50 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-11 16:22:19 UTC (rev 371138)
+++ PKGBUILD	2018-08-11 16:22:27 UTC (rev 371139)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: TDY <tdy at gmx.com>
-
-pkgname=hgview
-pkgver=1.9.0
-pkgrel=2
-pkgdesc="A fast Mercurial log navigator"
-arch=('any')
-url="http://www.logilab.org/project/hgview/"
-license=('GPL')
-depends=('mercurial>=1.6')
-optdepends=('python2-qscintilla: for Qt interface'
-            'python2-docutils: for Qt interface'
-            'python2-urwid: for CLI interface'
-            'python2-pyinotify: for CLI interface'
-            'python2-pygments: for CLI interface')
-makedepends=('python2-pyqt' 'asciidoc' 'xmlto')
-source=(http://download.logilab.org/pub/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('c3ab3a1c62eff28e48ab8e4df38466c9')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  python2 setup.py build
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  python2 setup.py install --root="$pkgdir"/ --optimize=1
-
-  # fix man page placement
-  install -d "$pkgdir"/usr/share
-  mv "$pkgdir"/usr/man "$pkgdir"/usr/share/man
-}
-

Copied: hgview/repos/community-any/PKGBUILD (from rev 371138, hgview/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-11 16:22:27 UTC (rev 371139)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: TDY <tdy at gmx.com>
+
+pkgname=hgview
+pkgver=1.10.2
+pkgrel=1
+pkgdesc="A fast Mercurial log navigator"
+arch=('any')
+url="http://www.logilab.org/project/hgview/"
+license=('GPL')
+depends=('mercurial>=1.6')
+optdepends=('python2-qscintilla: for Qt interface'
+            'python2-docutils: for Qt interface'
+            'python2-urwid: for CLI interface'
+            'python2-pyinotify: for CLI interface'
+            'python2-pygments: for CLI interface')
+makedepends=('python2-pyqt' 'asciidoc' 'xmlto')
+source=(http://download.logilab.org/pub/$pkgname/$pkgname-$pkgver.tar.gz
+        hg47.patch)
+md5sums=('1d68a8de8652a3ca411a049579a694e4'
+         'be6e50bed82d8424c223433fe216dfaa')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -p1 < ../hg47.patch
+
+  python2 setup.py build
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python2 setup.py install --root="$pkgdir"/ --optimize=1
+
+  # fix man page placement
+  install -d "$pkgdir"/usr/share
+  mv "$pkgdir"/usr/man "$pkgdir"/usr/share/man
+}
+

Copied: hgview/repos/community-any/hg47.patch (from rev 371138, hgview/trunk/hg47.patch)
===================================================================
--- hg47.patch	                        (rev 0)
+++ hg47.patch	2018-08-11 16:22:27 UTC (rev 371139)
@@ -0,0 +1,9 @@
+diff -urN hgview-1.10.2.orig/hgviewlib/__init__.py hgview-1.10.2/hgviewlib/__init__.py
+--- hgview-1.10.2.orig/hgviewlib/__init__.py	2018-08-11 18:17:12.701368614 +0200
++++ hgview-1.10.2/hgviewlib/__init__.py	2018-08-11 18:17:26.204879111 +0200
+@@ -23,4 +23,4 @@
+ from mercurial import demandimport
+ 
+ # this should help docutils, see hgrepoview.rst2html
+-demandimport.ignore.append('roman')
++demandimport.IGNORES.add('roman')



More information about the arch-commits mailing list