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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:52:12 UTC 2020


    Date: Monday, November 9, 2020 @ 16:52:12
  Author: foutrelis
Revision: 747630

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 747629, 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 747629, python-click-default-group/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:52:12 UTC (rev 747630)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-click-default-group
+pkgver=1.2.2
+pkgrel=2
+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