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

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Dec 3 00:44:16 UTC 2021


    Date: Friday, December 3, 2021 @ 00:44:16
  Author: foutrelis
Revision: 1064009

archrelease: copy trunk to community-staging-any

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

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

Copied: python-hglib/repos/community-staging-any/PKGBUILD (from rev 1064007, python-hglib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:44:16 UTC (rev 1064009)
@@ -0,0 +1,26 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Erik Johnson <palehose at gmail dot com>
+# Contributor: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-hglib
+pkgver=2.6.2
+pkgrel=4
+arch=('any')
+url="https://pypi.python.org/pypi/python-hglib"
+license=('MIT')
+pkgdesc="A library with a fast, convenient interface to Mercurial. It uses Mercurial's command server for communication with hg."
+depends=('python' 'mercurial')
+checkdepends=('python-nose')
+source=(https://files.pythonhosted.org/packages/fb/11/1cfa47d5e2aa45f6a803fcdf4484f8255383221ccb2f521d9010afca0d8d/$pkgname-$pkgver.tar.gz)
+sha256sums=('b18bd1ed53c90ee57d5714d66ad6bb72b64e930d4aeca9830892c08bb28da608')
+
+check() {
+  cd ${pkgname}-${pkgver}
+  python test.py
+}
+
+package() {
+  cd ${pkgname}-${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