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


Commits:
09f72b7b by Chih-Hsuan Yen at 2024-08-24T01:33:52+08:00
upgpkg: 0.23.0-2; fix python wheel version

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-watchfiles
        pkgdesc = Simple, modern and high performance file watching and code 
reload in python
        pkgver = 0.23.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/samuelcolvin/watchfiles
        arch = x86_64
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 pkgname=python-watchfiles
 _name=${pkgname#python-}
 pkgver=0.23.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Simple, modern and high performance file watching and code reload in 
python'
 arch=(x86_64)
 url='https://github.com/samuelcolvin/watchfiles'
@@ -36,6 +36,11 @@ prepare() {
 
 build() {
   cd $_name-$pkgver
+
+  # Set version following upstream CI workflow
+  # 
https://github.com/samuelcolvin/watchfiles/blob/v0.23.0/.github/workflows/ci.yml#L202
+  VERSION=$pkgver python .github/set_version.py
+
   python -m build --wheel --no-isolation
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-watchfiles/-/commit/09f72b7b95b16d0b0e332b2d6531c3d697289c90

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


Reply via email to