[arch-commits] Commit in python-hglib/trunk (PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Sun Jan 3 21:28:20 UTC 2016


    Date: Sunday, January 3, 2016 @ 22:28:19
  Author: jlichtblau
Revision: 155239

upgpkg: python-hglib 1.9-1 - new upstream release

Modified:
  python-hglib/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-03 20:32:01 UTC (rev 155238)
+++ PKGBUILD	2016-01-03 21:28:19 UTC (rev 155239)
@@ -1,9 +1,11 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
 # Contributor: Erik Johnson <palehose at gmail dot com>
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Jelle van der Waa <jelle at archlinux.org>
 
 pkgbase=python-hglib
 pkgname=('python2-hglib' 'python-hglib')
-pkgver=1.8
+pkgver=1.9
 pkgrel=1
 arch=('any')
 url="https://pypi.python.org/pypi/python-hglib"
@@ -11,14 +13,22 @@
 makedepends=('python2' 'mercurial' 'python')
 checkdepends=('python-nose' 'python2-nose')
 source=("https://pypi.python.org/packages/source/p/python-hglib/${pkgbase}-${pkgver}.tar.gz")
-md5sums=('eee52cbb9ab5f9a3ea1b7075818c65a3')
+sha256sums=('f4302892b2b8287cf326586c7280b9eadfc3d0c7cd3feba957429a8d9b1a60ce')
 
 prepare() {
   cp -rf "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}-2"
 }
 
+check() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  python test.py
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-2"
+  python2 test.py
+}
+
 package_python2-hglib() {
-  pkgdesc="python2-hglib is a library with a fast, convenient interface to Mercurial. It uses Mercurial's command server for communication with hg."
+  pkgdesc="A library with a fast, convenient interface to Mercurial. It uses Mercurial's command server for communication with hg."
   depends=('python2' 'mercurial')
   cd "${srcdir}/${pkgbase}-${pkgver}-2"
   python2 setup.py install --root=${pkgdir} --optimize=1
@@ -25,16 +35,8 @@
 }
 
 package_python-hglib() {
-  pkgdesc="python-hglib is a library with a fast, convenient interface to Mercurial. It uses Mercurial's command server for communication with hg."
+  pkgdesc="A library with a fast, convenient interface to Mercurial. It uses Mercurial's command server for communication with hg."
   depends=('python' 'mercurial')
   cd "${srcdir}/${pkgbase}-${pkgver}"
   python setup.py install --root=${pkgdir} --optimize=1
 }
-
-check() {
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  python test.py
-
-  cd "${srcdir}/${pkgbase}-${pkgver}-2"
-  python2 test.py
-}



More information about the arch-commits mailing list