blob: 1cabf1cc4dd858b03cc7bb82d413dd9fa02c5775 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Lukas Zimmermann <luk.zim91 at gmail dot com>
# Contributor: Kelsey Maes <kelseymaes at outlook dot com>
pkgname=python-knack
pkgver=0.10.1
pkgrel=1
pkgdesc="A Python command line interface framework"
arch=('any')
url="https://github.com/Microsoft/knack"
license=('MIT')
depends=('python-argcomplete' 'python-colorama' 'python-jmespath' 'python-six' 'python-tabulate' 'python-yaml')
makedepends=('python-setuptools')
checkdepends=('python-mock' 'python-pytest')
source=("https://github.com/Microsoft/knack/archive/v${pkgver}.tar.gz")
sha512sums=('9e331d1405e33e6208f30a7348c845097e45f182c93a47f3613b1b1712c7be7642aa1a79c483d04757151897c4cb59e44fc56df800ddae6901a25011e7130f75')
build() {
cd "knack-${pkgver}"
python setup.py build
}
check() {
cd "knack-${pkgver}"
pytest
}
package() {
cd "knack-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|