[arch-commits] Commit in python-clickclick/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Tue Aug 27 10:03:16 UTC 2019


    Date: Tuesday, August 27, 2019 @ 10:03:15
  Author: ffy00
Revision: 502601

upgpkg: python-clickclick 1.2.2-1

Added:
  python-clickclick/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-27 10:03:15 UTC (rev 502601)
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=python-clickclick
+pkgver=1.2.2
+pkgrel=1
+pkgdesc='Click command line utilities'
+url='https://github.com/zalando/python-clickclick'
+license=('Apache')
+arch=('any')
+depends=('python-click' 'python-yaml')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('85a7d83fcc83d531428e24764e4d2bdc902e908e0f6f7fdff95cfb883a2d2106983ccfe4b8e252b49df44f4dd79ad7f1512336c3076f20cd5a1c652dbc3e711b')
+
+package() {
+  cd $pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+
+  python setup.py test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+


More information about the arch-commits mailing list