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

29 lines
1.1 KiB
Bash

# Template file for 'python3-openapi-core'
pkgname=python3-openapi-core
version=0.18.1
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/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=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27
post_install() {
vlicense LICENSE
}