[arch-commits] Commit in python-hglib/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Jun 30 17:51:05 UTC 2018


    Date: Saturday, June 30, 2018 @ 17:51:05
  Author: foutrelis
Revision: 348721

archrelease: copy trunk to community-staging-any

Added:
  python-hglib/repos/community-staging-any/
  python-hglib/repos/community-staging-any/PKGBUILD
    (from rev 348720, python-hglib/trunk/PKGBUILD)

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Copied: python-hglib/repos/community-staging-any/PKGBUILD (from rev 348720, python-hglib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 17:51:05 UTC (rev 348721)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Erik Johnson <palehose at gmail dot com>
+# Contributor: Jelle van der Waa <jelle at archlinux.org>
+
+pkgbase=python-hglib
+pkgname=('python2-hglib' 'python-hglib')
+pkgver=2.6.1
+pkgrel=2
+arch=('any')
+url="https://pypi.python.org/pypi/python-hglib"
+license=('MIT')
+makedepends=('python2' 'mercurial' 'python')
+checkdepends=('python-nose' 'python2-nose')
+source=(https://pypi.python.org/packages/f9/39/4d8fa780f71347c3e25c6192f87e13a0265f44b9b8d0a36de550bf39e172/${pkgbase}-${pkgver}.tar.gz{,.asc})
+validpgpkeys=('2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5') # Augie Fackler <raf at durin42.com> v2.5
+# v2.4 validpgpkeys=('FAD61395F642FC2B33C84B9A205781AC682A2D72') # Matthew Mackall <mpm at selenic.com>
+sha256sums=('7c1fa0cb4d332dd6ec8409b04787ceba4623e97fb378656f7cab0b996c6ca3b2'
+            'SKIP')
+
+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="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
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python-hglib() {
+  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
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list