Date: Tuesday, January 3, 2023 @ 18:41:42 Author: arojas Revision: 1374953
upgpkg: python-json5 0.9.12-1: Update to 0.9.12 Modified: python-json5/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-03 16:58:45 UTC (rev 1374952) +++ PKGBUILD 2023-01-03 18:41:42 UTC (rev 1374953) @@ -1,7 +1,7 @@ # Maintainer: Antonio Rojas <[email protected]> pkgname=python-json5 -pkgver=0.9.10 +pkgver=0.9.12 pkgrel=1 pkgdesc='A Python implementation of the JSON5 data format' arch=(any) @@ -9,8 +9,9 @@ license=(MPL GPL LGPL) depends=(python) makedepends=(python-build python-installer python-setuptools python-wheel) +checkdepends=(python-pytest) source=(https://github.com/dpranke/pyjson5/archive/v$pkgver/$pkgname-$pkgver.tar.gz) -sha256sums=('e3f9fcc0b9e29331841b1c429eebdf1605fe32ee998a59825dd36ae6f4b97180') +sha256sums=('b34dee43d6ae60f5896ca5bf7527df711a68afd4a6e4bde6be0838c1fd22c33e') build() { cd pyjson5-$pkgver @@ -17,6 +18,11 @@ python -m build --wheel --no-isolation } +check() { + cd pyjson5-$pkgver + pytest -v +} + package() { cd pyjson5-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl
