void-packages/srcpkgs/python3-openapi-core/template
2024-08-06 10:50:11 -04:00

29 lines
1.1 KiB
Bash

# Template file for 'python3-openapi-core'
pkgname=python3-openapi-core
version=0.19.2
revision=1
build_style=python3-pep517
# disable tests requiring unpackaged dependencies
make_check_args="
--ignore=tests/unit/contrib/django
--ignore=tests/integration/contrib/django
--ignore=tests/integration/contrib/falcon
--ignore=tests/integration/contrib/fastapi
--ignore=tests/integration/contrib/starlette
"
hostmakedepends="python3-poetry-core"
depends="python3-asgiref python3-isodate python3-more-itertools
python3-openapi-spec-validator python3-parse python3-Werkzeug"
checkdepends="$depends python3-pytest-cov python3-pytest-aiohttp
python3-Flask python3-requests python3-responses python3-WebOb"
short_desc="Support for the OpenAPI Specification v3"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/python-openapi/openapi-core"
changelog="https://github.com/python-openapi/openapi-core/releases"
distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
checksum=db4e13dd3162d861d9485ae804f350586d9fd1d72808cdb264d6993d9b5ede3f
post_install() {
vlicense LICENSE
}