Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-flasgger


Commits:
bbb64414 by Felix Yan at 2026-03-05T01:39:46+08:00
upgpkg: 0.9.7.1-7

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-flasgger
        pkgdesc = Extract swagger specs from your flask project
        pkgver = 0.9.7.1
-       pkgrel = 6
+       pkgrel = 7
        url = https://github.com/flasgger/flasgger
        arch = any
        license = MIT
@@ -11,6 +11,7 @@ pkgbase = python-flasgger
        checkdepends = python-decorator
        checkdepends = python-apispec-webframeworks
        checkdepends = python-flask-restful
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-setuptools
@@ -20,10 +21,10 @@ pkgbase = python-flasgger
        depends = python-jsonschema
        depends = python-mistune
        depends = python-six
-       source = 
python-flasgger-0.9.7.1.tar.gz::https://github.com/flasgger/flasgger/archive/v0.9.7.1.tar.gz
+       source = git+https://github.com/flasgger/flasgger.git#tag=v0.9.7.1
        source = 
https://salsa.debian.org/python-team/packages/python-flasgger/-/raw/3c07675321c85d9bad623b87d4245df3da24819f/debian/patches/click-8.2.patch
        source = python-flasgger-remove-pkg_resources.patch
-       sha512sums = 
60aaadccd291147f1eb1ac589965e7b31f02d9b96686fad4d906d6b09d8d9817671aefe1672d84bfd1d149c56b2247342f91b189b5e474a341da0fb449dbe938
+       sha512sums = 
b6f28f8c43d0412a78ec64a34df2b730925b03f1214c710e505f1f527050b7bcbe3c5e4e5617ba79cc2230823d4a8a6cdc53d6aaa26752ba2547aba10b865521
        sha512sums = 
596f82fa3aeeb72e35e2e4ba53baccbc3021a3ab610df9dff11e52b29ccbe9149d2663ce893c7ddcea47ac9c939b3b68bdd1705d899f6ecfa327d272893a6eb4
        sha512sums = 
86ef7e187798a9017af0d64e1d4233f05060af9b36398141fe71acc1f540d0ef82a1189e4dcf5ea39743e4eadb38709c96a2c7cb849dfaf0a0fe47cbf8715d02
 


=====================================
PKGBUILD
=====================================
@@ -4,41 +4,41 @@
 
 pkgname=python-flasgger
 pkgver=0.9.7.1
-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-mistune' 
'python-six')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-pytest' 'python-flex' 'python-marshmallow' 
'python-decorator'
               'python-apispec-webframeworks' 'python-flask-restful')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/flasgger/flasgger/archive/v$pkgver.tar.gz";
+source=("git+https://github.com/flasgger/flasgger.git#tag=v$pkgver";
         
https://salsa.debian.org/python-team/packages/python-flasgger/-/raw/3c07675321c85d9bad623b87d4245df3da24819f/debian/patches/click-8.2.patch
         python-flasgger-remove-pkg_resources.patch)
-sha512sums=('60aaadccd291147f1eb1ac589965e7b31f02d9b96686fad4d906d6b09d8d9817671aefe1672d84bfd1d149c56b2247342f91b189b5e474a341da0fb449dbe938'
+sha512sums=('b6f28f8c43d0412a78ec64a34df2b730925b03f1214c710e505f1f527050b7bcbe3c5e4e5617ba79cc2230823d4a8a6cdc53d6aaa26752ba2547aba10b865521'
             
'596f82fa3aeeb72e35e2e4ba53baccbc3021a3ab610df9dff11e52b29ccbe9149d2663ce893c7ddcea47ac9c939b3b68bdd1705d899f6ecfa327d272893a6eb4'
             
'86ef7e187798a9017af0d64e1d4233f05060af9b36398141fe71acc1f540d0ef82a1189e4dcf5ea39743e4eadb38709c96a2c7cb849dfaf0a0fe47cbf8715d02')
 
 prepare() {
-  cd flasgger-$pkgver
+  cd flasgger
   # 
https://salsa.debian.org/python-team/packages/python-flasgger/-/commit/3c07675321c85d9bad623b87d4245df3da24819f
   patch -p1 < ../click-8.2.patch
   patch -p1 < ../python-flasgger-remove-pkg_resources.patch
 }
 
 build() {
-  cd flasgger-$pkgver
+  cd flasgger
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd flasgger-$pkgver
+  cd flasgger
   PYTHONPATH="$PWD/etc/flasgger_package" python -m pytest tests
 }
 
 package() {
-  cd flasgger-$pkgver
+  cd flasgger
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flasgger/-/commit/bbb6441496e6b393d89179ab7d26fe33ffb60bd4

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flasgger/-/commit/bbb6441496e6b393d89179ab7d26fe33ffb60bd4
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to