From 05189870a5c9c1d388ebf12156710370dc0d1dce Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Tue, 17 Oct 2023 08:11:35 -0400 Subject: [PATCH] New package: python3-flasgger-0.9.7.1 --- srcpkgs/python3-flasgger/template | 22 ++++++++++++++++++++++ srcpkgs/python3-flasgger/update | 1 + 2 files changed, 23 insertions(+) create mode 100644 srcpkgs/python3-flasgger/template create mode 100644 srcpkgs/python3-flasgger/update diff --git a/srcpkgs/python3-flasgger/template b/srcpkgs/python3-flasgger/template new file mode 100644 index 00000000000..2cf6a5c5d44 --- /dev/null +++ b/srcpkgs/python3-flasgger/template @@ -0,0 +1,22 @@ +# 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 " +license="MIT" +homepage="http://flasgger.pythonanywhere.com/" +distfiles="${PYPI_SITE}/f/flasgger/flasgger-${version}.tar.gz" +checksum=ca098e10bfbb12f047acc6299cc70a33851943a746e550d86e65e60d4df245fb + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-flasgger/update b/srcpkgs/python3-flasgger/update new file mode 100644 index 00000000000..d40d474e5da --- /dev/null +++ b/srcpkgs/python3-flasgger/update @@ -0,0 +1 @@ +ignore="*b* *dev*"