void-packages/srcpkgs/python3-flasgger/template

23 lines
771 B
Bash

# Template file for 'python3-flasgger'
pkgname=python3-flasgger
version=0.9.7.1
revision=1
build_style=python3-module
# Examples require unpackaged "flex"
make_check_args="--ignore tests/test_examples.py"
make_check_target="tests"
hostmakedepends="python3-setuptools"
depends="python3-Flask python3-yaml python3-jsonschema python3-mistune
python3-packaging python3-packaging python3-six"
checkdepends="python3-pytest $depends"
short_desc="OpenAPI specs and Swagger UI for Flask APIs"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MIT"
homepage="http://flasgger.pythonanywhere.com/"
distfiles="${PYPI_SITE}/f/flasgger/flasgger-${version}.tar.gz"
checksum=ca098e10bfbb12f047acc6299cc70a33851943a746e550d86e65e60d4df245fb
post_install() {
vlicense LICENSE
}