* update python-watchfiles to 1.0.3-2

This commit is contained in:
Alexander Baldeck 2025-01-07 12:56:46 +01:00
parent db08bbeb84
commit d573eb1c4d
2 changed files with 5 additions and 9 deletions

View File

@ -1,6 +1,6 @@
pkgbase = python-watchfiles
pkgdesc = Simple, modern and high performance file watching and code reload in python
pkgver = 0.24.0
pkgver = 1.0.3
pkgrel = 2
url = https://github.com/samuelcolvin/watchfiles
arch = x86_64
@ -20,7 +20,7 @@ pkgbase = python-watchfiles
depends = glibc
depends = python
depends = python-anyio
source = https://github.com/samuelcolvin/watchfiles/archive/v0.24.0/python-watchfiles-0.24.0.tar.gz
b2sums = 96d8707327d41e3a9410c291c557641e111d91ca90ec945fc05d4ec2ebab9290a65044024a324bbb1e92f99900e9bd7098933061ddc95369c33226c8aed7924b
source = https://github.com/samuelcolvin/watchfiles/archive/v1.0.3/python-watchfiles-1.0.3.tar.gz
b2sums = d10b8f0a9db435939e08ab700a7b29e08bcc5fb2d7b1ff255d18aaa125b6bfb7474a9737f22de52947d3a281201dd347ff07b9a5f21989f94c14a9470412ebca
pkgname = python-watchfiles

View File

@ -4,7 +4,7 @@
pkgname=python-watchfiles
_name=${pkgname#python-}
pkgver=0.24.0
pkgver=1.0.3
pkgrel=2
pkgdesc='Simple, modern and high performance file watching and code reload in python'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -28,7 +28,7 @@ checkdepends=(
python-pytest-timeout
)
source=($url/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
b2sums=('96d8707327d41e3a9410c291c557641e111d91ca90ec945fc05d4ec2ebab9290a65044024a324bbb1e92f99900e9bd7098933061ddc95369c33226c8aed7924b')
b2sums=('d10b8f0a9db435939e08ab700a7b29e08bcc5fb2d7b1ff255d18aaa125b6bfb7474a9737f22de52947d3a281201dd347ff07b9a5f21989f94c14a9470412ebca')
prepare() {
# remove __init__.py otherwise this prevents tests detecting the watchfiles module anywhere else
@ -38,10 +38,6 @@ 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
}