[arch-commits] Commit in python-flask-marshmallow/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:14:26 UTC 2020
Date: Thursday, November 12, 2020 @ 17:14:26
Author: foutrelis
Revision: 752375
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 752374, python-flask-marshmallow/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: python-flask-marshmallow/repos/community-staging-any/PKGBUILD (from rev 752374, python-flask-marshmallow/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:14:26 UTC (rev 752375)
@@ -0,0 +1,41 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-flask-marshmallow
+pkgver=0.14.0
+pkgrel=2
+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:
More information about the arch-commits
mailing list