[arch-commits] Commit in python-flasgger/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 2 21:48:29 UTC 2021
Date: Thursday, December 2, 2021 @ 21:48:29
Author: foutrelis
Revision: 1062694
archrelease: copy trunk to community-staging-any
Added:
python-flasgger/repos/community-staging-any/PKGBUILD
(from rev 1062693, python-flasgger/trunk/PKGBUILD)
Deleted:
python-flasgger/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 21:48:25 UTC (rev 1062693)
+++ PKGBUILD 2021-12-02 21:48:29 UTC (rev 1062694)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-flasgger
-pkgver=0.9.5
-pkgrel=5
-pkgdesc="Extract swagger specs from your flask project"
-url="https://github.com/flasgger/flasgger"
-license=('MIT')
-arch=('any')
-depends=('python-flask' 'python-yaml' 'python-jsonschema' 'python-mistune1' 'python-six')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-flex' 'python-marshmallow' 'python-decorator'
- 'python-apispec-webframeworks' 'python-flask-restful' 'python-flask-jwt')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/flasgger/flasgger/archive/$pkgver.tar.gz")
-sha512sums=('d785c272a3d2fc4753ceb061587fff1db2ec726fe7cea7b0ec723a56f2f1f6296545f52249a08a1ae042e2c002c88eb2d9442928c53b00345bdde82442149fae')
-
-prepare() {
- cd flasgger-$pkgver
- # apispec 4
- sed -i 's/schema2parameters(v)/schema2parameters(v, location="body")/' flasgger/marshmallow_apispec.py
-}
-
-build() {
- cd flasgger-$pkgver
- python setup.py build
-}
-
-check() {
- cd flasgger-$pkgver
- PYTHONPATH="$PWD/etc/flasgger_package" python -m pytest tests
-}
-
-package() {
- cd flasgger-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-flasgger/repos/community-staging-any/PKGBUILD (from rev 1062693, python-flasgger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 21:48:29 UTC (rev 1062694)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-flasgger
+pkgver=0.9.5
+pkgrel=6
+pkgdesc="Extract swagger specs from your flask project"
+url="https://github.com/flasgger/flasgger"
+license=('MIT')
+arch=('any')
+depends=('python-flask' 'python-yaml' 'python-jsonschema' 'python-mistune1' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-flex' 'python-marshmallow' 'python-decorator'
+ 'python-apispec-webframeworks' 'python-flask-restful' 'python-flask-jwt')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/flasgger/flasgger/archive/$pkgver.tar.gz")
+sha512sums=('d785c272a3d2fc4753ceb061587fff1db2ec726fe7cea7b0ec723a56f2f1f6296545f52249a08a1ae042e2c002c88eb2d9442928c53b00345bdde82442149fae')
+
+prepare() {
+ cd flasgger-$pkgver
+ # apispec 4
+ sed -i 's/schema2parameters(v)/schema2parameters(v, location="body")/' flasgger/marshmallow_apispec.py
+}
+
+build() {
+ cd flasgger-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd flasgger-$pkgver
+ PYTHONPATH="$PWD/etc/flasgger_package" python -m pytest tests
+}
+
+package() {
+ cd flasgger-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list