[arch-commits] Commit in python-click-default-group/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Mar 20 17:33:32 UTC 2020


    Date: Friday, March 20, 2020 @ 17:33:32
  Author: felixonmars
Revision: 601948

archrelease: copy trunk to community-any

Added:
  python-click-default-group/repos/community-any/
  python-click-default-group/repos/community-any/PKGBUILD
    (from rev 601947, python-click-default-group/trunk/PKGBUILD)

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

Copied: python-click-default-group/repos/community-any/PKGBUILD (from rev 601947, python-click-default-group/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-03-20 17:33:32 UTC (rev 601948)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-click-default-group
+pkgver=1.2.2
+pkgrel=1
+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