[arch-commits] Commit in python-flask-marshmallow/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Tue Feb 11 07:14:48 UTC 2020


    Date: Tuesday, February 11, 2020 @ 07:14:48
  Author: alucryd
Revision: 566812

upgpkg: python-flask-marshmallow 0.11.0-1

Modified:
  python-flask-marshmallow/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-11 07:13:02 UTC (rev 566811)
+++ PKGBUILD	2020-02-11 07:14:48 UTC (rev 566812)
@@ -1,8 +1,8 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=python-flask-marshmallow
-pkgver=0.10.1
-pkgrel=2
+pkgver=0.11.0
+pkgrel=1
 pkgdesc='Flask + marshmallow for beautiful APIs'
 url=https://flask-marshmallow.readthedocs.io/
 arch=(any)
@@ -15,9 +15,15 @@
   git
   python-setuptools
 )
-source=(git+https://github.com/marshmallow-code/flask-marshmallow.git#tag=${pkgver})
-sha256sums=('SKIP')
+source=(git+https://github.com/marshmallow-code/flask-marshmallow.git#tag=41a34f505d38ebbee812be597cd623aed8caaf2d)
+sha256sums=(SKIP)
 
+pkgver() {
+  cd flask-marshmallow
+
+  git describe --tags
+}
+
 build() {
   cd flask-marshmallow
 
@@ -27,7 +33,7 @@
 package() {
   cd flask-marshmallow
 
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
   install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-flask-marshmallow
 }
 



More information about the arch-commits mailing list