[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Sun Jul 12 18:48:58 UTC 2015


    Date: Sunday, July 12, 2015 @ 20:48:58
  Author: jelle
Revision: 136735

Replaces python2-hglib

Added:
  python-hglib/
  python-hglib/repos/
  python-hglib/trunk/
  python-hglib/trunk/PKGBUILD

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

Added: python-hglib/trunk/PKGBUILD
===================================================================
--- python-hglib/trunk/PKGBUILD	                        (rev 0)
+++ python-hglib/trunk/PKGBUILD	2015-07-12 18:48:58 UTC (rev 136735)
@@ -0,0 +1,30 @@
+# Contributor: Erik Johnson <palehose at gmail dot com>
+
+pkgbase=python-hglib
+pkgname=('python2-hglib' 'python-hglib')
+pkgver=1.6
+pkgrel=1
+arch=('any')
+url="https://pypi.python.org/pypi/python-hglib"
+license=('MIT')
+makedepends=('python2' 'mercurial' 'python')
+source=("https://pypi.python.org/packages/source/p/python-hglib/${pkgbase}-${pkgver}.tar.gz")
+md5sums=('47bddc41ade625ff977d811a4ea57724')
+
+prepare() {
+  cp -rf "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}-2"
+}
+
+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."
+  depends=('python' 'mercurial')
+  cd "${srcdir}/${pkgbase}-${pkgver}-2"
+  python2 setup.py install --root=${pkgdir}
+}
+
+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."
+  depends=('python2' 'mercurial')
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  python setup.py install --root=${pkgdir}
+}


Property changes on: python-hglib/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list