2022-12-27 20:40:33 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
|
|
|
_pyname=swagger-spec-validator
|
|
|
|
pkgname="py3-$_pyname"
|
|
|
|
pkgver=3.0.3
|
2023-11-24 22:48:13 +00:00
|
|
|
pkgrel=1
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2022-12-27 20:40:33 +00:00
|
|
|
pkgdesc="Validation of Swagger specifications"
|
|
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
|
|
license="Apache-2.0"
|
2023-08-30 17:55:47 +00:00
|
|
|
depends="
|
|
|
|
py3-jsonschema
|
|
|
|
py3-yaml
|
|
|
|
"
|
|
|
|
makedepends="
|
|
|
|
py3-setuptools
|
|
|
|
py3-gpep517
|
|
|
|
py3-wheel
|
|
|
|
py3-installer
|
|
|
|
"
|
|
|
|
options="!check" # No testsuite
|
2022-12-27 20:40:33 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
2023-08-30 17:55:47 +00:00
|
|
|
subpackages="$pkgname-pyc"
|
2022-12-27 20:40:33 +00:00
|
|
|
|
|
|
|
build() {
|
2023-08-30 17:55:47 +00:00
|
|
|
gpep517 build-wheel \
|
|
|
|
--wheel-dir dist \
|
|
|
|
--output-fd 3 3>&1 >&2
|
2022-12-27 20:40:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-08-30 17:55:47 +00:00
|
|
|
python3 -m installer -d "$pkgdir" \
|
|
|
|
dist/*.whl
|
2022-12-27 20:40:33 +00:00
|
|
|
}
|
2023-08-30 17:55:47 +00:00
|
|
|
|
2022-12-27 20:40:33 +00:00
|
|
|
sha512sums="
|
|
|
|
21d849f3b7631c1bced3831728852d953063f28d918e5b409ac302781769a495536869bf3e042692d70e5a589a9db5306986aebb4cd0e363e6f80e1330a753f2 py3-swagger-spec-validator-3.0.3.tar.gz
|
|
|
|
"
|