void-packages/srcpkgs/python3-openapi-core/template

30 lines
1.1 KiB
Bash

# Template file for 'python3-openapi-core'
pkgname=python3-openapi-core
version=0.19.3
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=5db6479ecccf76c52422961dc42b411b7625a802087d847251fdd66f0392b095
post_install() {
vlicense LICENSE
}