# Description: Extract swagger specs from your flask project
# URL: https://github.com/flasgger/flasgger
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-flask python3-jsonschema python3-mistune

name=python3-flasgger
version=0.9.5
release=1
source=(https://github.com/flasgger/flasgger/archive/$version/$name-$version.tar.gz)

build() {
  cd flasgger-$version
  /usr/bin/python3 setup.py build
  /usr/bin/python3 setup.py install --prefix=/usr \
    --root=$PKG \
    -O1 \
    --skip-build
}
