Date: Monday, August 29, 2022 @ 08:21:43 Author: felixonmars Revision: 1285168
upgpkg: python-flasgger 0.9.5-7: switch back to mistune 2 and fix werkzeug compatibility Modified: python-flasgger/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-08-29 08:21:09 UTC (rev 1285167) +++ PKGBUILD 2022-08-29 08:21:43 UTC (rev 1285168) @@ -4,22 +4,26 @@ pkgname=python-flasgger pkgver=0.9.5 -pkgrel=6 +pkgrel=7 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') +depends=('python-flask' 'python-yaml' 'python-jsonschema' 'python-mistune' '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') +source=("$pkgname-$pkgver.tar.gz::https://github.com/flasgger/flasgger/archive/$pkgver.tar.gz" + $pkgname-werkzeug-safe_str_cmp.patch::https://github.com/flasgger/flasgger/pull/532.patch + $pkgname-apispec-4.patch::https://github.com/flasgger/flasgger/pull/440.patch) +sha512sums=('d785c272a3d2fc4753ceb061587fff1db2ec726fe7cea7b0ec723a56f2f1f6296545f52249a08a1ae042e2c002c88eb2d9442928c53b00345bdde82442149fae' + '2f07f5704128cf80892a2515bef34d3eb1bc15ff75229df79fdd4b28912ecb384f68e6f7a4079278e91412ba20ed3d1124b1356dde1dbeeeab133b9508130ca8' + '090e16e0591ad1fccb028d92cd50256705d624a3a86812a0d4461834f941796dc53138612c6a743d15d9562931b8d51dbfc4bd7cdb0528326a4769ab5c909197') prepare() { cd flasgger-$pkgver - # apispec 4 - sed -i 's/schema2parameters(v)/schema2parameters(v, location="body")/' flasgger/marshmallow_apispec.py + patch -p1 -i ../$pkgname-apispec-4.patch + patch -p1 -i ../$pkgname-werkzeug-safe_str_cmp.patch } build() {
