[arch-commits] Commit in python-click-default-group/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 16:53:09 UTC 2021
Date: Tuesday, November 30, 2021 @ 16:53:09
Author: felixonmars
Revision: 1057853
archrelease: copy trunk to community-staging-any
Added:
python-click-default-group/repos/community-staging-any/
python-click-default-group/repos/community-staging-any/PKGBUILD
(from rev 1057852, python-click-default-group/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-click-default-group/repos/community-staging-any/PKGBUILD (from rev 1057852, python-click-default-group/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 16:53:09 UTC (rev 1057853)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-click-default-group
+pkgver=1.2.2
+pkgrel=4
+pkgdesc="Extends click.Group to invoke a command without explicit subcommand name"
+url="https://github.com/click-contrib/click-default-group"
+license=('BSD')
+arch=('any')
+depends=('python-click')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/click-contrib/click-default-group/archive/v$pkgver.tar.gz")
+sha512sums=('6f296d154813e0c3dbf8e435c4c1b4394f51a000320c5585aeb78b81f30fe15bd27a8aad0fdbb71fccb88dc3083682519f1dd06572c8d5c35639fb9c3acf73fa')
+
+build() {
+ cd click-default-group-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd click-default-group-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd click-default-group-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list