# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) _pyname=drf-spectacular pkgname="py3-django-$_pyname" pkgver=0.26.5 pkgrel=0 arch="noarch" pkgdesc="Sane and flexible OpenAPI 3 schema generation for Django REST framework" url="https://pypi.python.org/project/$_pyname" license="BSD-3-Clause" depends=" py3-django-rest-framework py3-jsonschema py3-uritemplate py3-yaml py3-inflection py3-django-oauth-toolkit py3-jwcrypto " makedepends=" py3-setuptools py3-gpep517 py3-wheel py3-installer " checkdepends=" py3-pytest py3-pytest-django py3-pytest-cov py3-flake8 py3-mypy py3-isort " options="!check" # Failing test units source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver subpackages="$pkgname-pyc" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { pytest -v } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl } sha512sums=" a346652a142f43574e31d9f8497ebd831cb0fdc58c67c931eae3aebd298ef05dfa88c83e9965174806ad0326d2bd2f13f5e21ee5c3f524f4a93fccc35460792d py3-django-drf-spectacular-0.26.5.tar.gz "