[arch-commits] Commit in python-argh/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:22:23 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:22:22
Author: felixonmars
Revision: 1058133
archrelease: copy trunk to community-staging-any
Added:
python-argh/repos/community-staging-any/
python-argh/repos/community-staging-any/PKGBUILD
(from rev 1058131, python-argh/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-argh/repos/community-staging-any/PKGBUILD (from rev 1058131, python-argh/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:22:22 UTC (rev 1058133)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python-argh
+pkgver=0.26.2
+pkgrel=9
+pkgdesc="An unobtrusive argparse wrapper with natural syntax"
+arch=(any)
+url="https://pypi.python.org/pypi/argh"
+license=('LGPL3')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'python-iocapture')
+source=("https://github.com/neithere/argh/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('SKIP')
+
+build() {
+ cd argh-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd argh-$pkgver
+ py.test
+}
+
+package() {
+ cd argh-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list