diff options
author | Lukas Zimmermann | 2021-10-07 17:51:14 +0200 |
---|---|---|
committer | Lukas Zimmermann | 2021-10-07 17:51:14 +0200 |
commit | 944c345428e9c8da602e1d2d5c17c5f784787d66 (patch) | |
tree | ddf62376b195bbf8f49a22adf1cb55f9226e360e | |
parent | 2e1f2357e21ce08b3a0945698e5436d47f1d81d7 (diff) | |
download | aur-944c345428e9c8da602e1d2d5c17c5f784787d66.tar.gz |
Update to 0.8.2
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 11 insertions, 13 deletions
@@ -1,11 +1,12 @@ pkgbase = python-knack pkgdesc = A Python command line interface framework - pkgver = 0.8.0 + pkgver = 0.8.2 pkgrel = 1 url = https://github.com/Microsoft/knack arch = any license = MIT checkdepends = python-mock + checkdepends = python-pytest makedepends = python-setuptools depends = python-argcomplete depends = python-colorama @@ -13,8 +14,7 @@ pkgbase = python-knack depends = python-six depends = python-tabulate depends = python-yaml - source = https://github.com/Microsoft/knack/archive/v0.8.0.tar.gz - sha256sums = 4e67a1297cb148a9a94fbe8aee659f2d6897a701c6a7d427f14c97a5f5d63dc4 + source = https://github.com/Microsoft/knack/archive/v0.8.2.tar.gz + sha256sums = 1daaf44c6e526addc60906a68b9cac2d32415ffc24a4dbe8a640f12ba477eacd pkgname = python-knack - @@ -2,7 +2,7 @@ # Contributor: Kelsey Maes <kelseymaes at outlook dot com> pkgname=python-knack -pkgver=0.8.0 +pkgver=0.8.2 pkgrel=1 pkgdesc="A Python command line interface framework" arch=('any') @@ -10,21 +10,19 @@ 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') +checkdepends=('python-mock' 'python-pytest') source=("https://github.com/Microsoft/knack/archive/v${pkgver}.tar.gz") -sha256sums=('4e67a1297cb148a9a94fbe8aee659f2d6897a701c6a7d427f14c97a5f5d63dc4') +sha256sums=('1daaf44c6e526addc60906a68b9cac2d32415ffc24a4dbe8a640f12ba477eacd') build() { cd "knack-${pkgver}" python setup.py build } -# This can be commented in once issue with YAML and Python 3.7 have been resolved, see: -# * https://github.com/yaml/pyyaml/pull/212 -# check() { -# cd "knack-${pkgver}" -# python -m unittest discover tests -# } + check() { + cd "knack-${pkgver}" + pytest + } package() { cd "knack-${pkgver}" |