Date: Sunday, July 31, 2022 @ 10:17:38 Author: arojas Revision: 1259259
upgpkg: python-openapi-spec-validator 0.4.0-1: Update to 0.4.0 Modified: python-openapi-spec-validator/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-31 10:13:48 UTC (rev 1259258) +++ PKGBUILD 2022-07-31 10:17:38 UTC (rev 1259259) @@ -1,30 +1,30 @@ # Maintainer: Felix Yan <felixonm...@archlinux.org> pkgname=python-openapi-spec-validator -pkgver=0.3.1 -pkgrel=4 +pkgver=0.4.0 +pkgrel=1 pkgdesc="A Python library that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0.0 specification" url="https://github.com/p1c2u/openapi-spec-validator" license=('Apache') arch=('any') depends=('python-jsonschema' 'python-openapi-schema-validator' 'python-six' 'python-yaml') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-poetry') checkdepends=('python-pytest-runner' 'python-mock' 'python-pytest-flake8' 'python-pytest-cov' 'python-tox') source=("$pkgname-$pkgver.tar.gz::https://github.com/p1c2u/openapi-spec-validator/archive/$pkgver.tar.gz") -sha512sums=('c7004f82971c668498881070d7a8b77e0de1596b5487ad3e44a5b8d54e931512352739089efb5d496782635c6c314d86e33d801d6decd9918b167e45f8211ff6') +sha512sums=('d2eaf22c75e72eb5061a916eb37b13179a5ba65eb8a00ec42e81c6b4168239bc8613388f2d77ce35113d260385b175280d8863a3deedf18ea5aa93a79f058419') build() { cd openapi-spec-validator-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { cd openapi-spec-validator-$pkgver - python setup.py pytest + PYTHONPATH="$PWD" pytest } package() { cd openapi-spec-validator-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl }