diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-01-02 12:47:06 +0100 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-01-02 16:40:56 +0100 |
commit | f42272aaa280956d77891d40039c9ba67bfb8882 (patch) | |
tree | ad828671dc0139f23800574fe7a2ba88539b3ea4 /python-knack | |
parent | 33271ea04d8b2dd02000aefb477bd207475b441a (diff) | |
download | archlinuxewe-f42272aaa280956d77891d40039c9ba67bfb8882.tar.xz |
try to fix azure-cli packages
Diffstat (limited to 'python-knack')
-rw-r--r-- | python-knack/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/python-knack/PKGBUILD b/python-knack/PKGBUILD new file mode 100644 index 000000000..b5d501662 --- /dev/null +++ b/python-knack/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Erich Eckenr <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.9.0 +pkgrel=2 +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") +sha256sums=('520f7ac0aeeca85b9b33c2612482e7b6d5da898c1e2f32c00408ce32976fad21') + +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 +} |