Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / 
python-flask-cors


Commits:
f1411a9c by Chih-Hsuan Yen at 2025-03-23T15:46:42+08:00
upgpkg: 5.0.1-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-flask-cors
        pkgdesc = A Flask extension adding a decorator for CORS support
-       pkgver = 5.0.0
-       pkgrel = 3
+       pkgver = 5.0.1
+       pkgrel = 1
        url = https://github.com/corydolphin/flask-cors
        arch = any
        license = MIT
@@ -13,7 +13,7 @@ pkgbase = python-flask-cors
        depends = python
        depends = python-flask
        depends = python-werkzeug
-       source = git+https://github.com/corydolphin/flask-cors.git#tag=5.0.0
-       sha256sums = 
97bdc4193b88260f77fcb69991bf12ba78aa191507be17ab099914e1d2c332fb
+       source = git+https://github.com/corydolphin/flask-cors.git#tag=5.0.1
+       sha256sums = 
bd14700e139f4f636975f0de14ef0ed3c0064a1e92d04d124a365ff41dc2a97a
 
 pkgname = python-flask-cors


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 # Maintainer: Johannes Löthberg <[email protected]>
 
 pkgname=python-flask-cors
-pkgver=5.0.0
-pkgrel=3
+pkgver=5.0.1
+pkgrel=1
 
 pkgdesc='A Flask extension adding a decorator for CORS support'
 url='https://github.com/corydolphin/flask-cors'
@@ -15,7 +15,17 @@ makedepends=('git' 'python-build' 'python-installer' 
'python-wheel' 'python-setu
 
 source=("git+https://github.com/corydolphin/flask-cors.git#tag=$pkgver";)
 
-sha256sums=('97bdc4193b88260f77fcb69991bf12ba78aa191507be17ab099914e1d2c332fb')
+sha256sums=('bd14700e139f4f636975f0de14ef0ed3c0064a1e92d04d124a365ff41dc2a97a')
+
+prepare() {
+       cd flask-cors
+
+       # Write versions following upstream release workflow
+       # 
https://github.com/corydolphin/flask-cors/blob/5.0.1/.github/workflows/on-release-main.yml#L20-L21
+       local RELEASE_VERSION=$pkgver
+       sed -i "s/^version = \".*\"/version = \"$RELEASE_VERSION\"/" 
pyproject.toml
+       sed -i "s/__version__ .*/__version__ = \"$RELEASE_VERSION\"/" 
flask_cors/version.py
+}
 
 build() {
        cd flask-cors



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-cors/-/commit/f1411a9ce3cf5c469f732b5628c1601044d11148

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


Reply via email to