Date: Sunday, April 9, 2023 @ 04:08:41 Author: felixonmars Revision: 1443081
archrelease: copy trunk to community-staging-any Added: python-flask-marshmallow/repos/community-staging-any/ python-flask-marshmallow/repos/community-staging-any/PKGBUILD (from rev 1443077, python-flask-marshmallow/trunk/PKGBUILD) ----------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) Copied: python-flask-marshmallow/repos/community-staging-any/PKGBUILD (from rev 1443077, python-flask-marshmallow/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2023-04-09 04:08:41 UTC (rev 1443081) @@ -0,0 +1,41 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=python-flask-marshmallow +pkgver=0.14.0 +pkgrel=4 +pkgdesc='Flask + marshmallow for beautiful APIs' +url=https://flask-marshmallow.readthedocs.io/ +arch=(any) +license=(MIT) +depends=( + python-flask + python-marshmallow +) +makedepends=( + git + python-setuptools +) +_tag=0d84ce91ab4a00a2e628c5d9a2529948e2fce3be +source=(git+https://github.com/marshmallow-code/flask-marshmallow.git#tag=${_tag}) +sha256sums=(SKIP) + +pkgver() { + cd flask-marshmallow + + git describe --tags +} + +build() { + cd flask-marshmallow + + python setup.py build +} + +package() { + cd flask-marshmallow + + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-flask-marshmallow +} + +# vim: ts=2 sw=2 et: