* update python-watchfiles to 0.24.0-1

This commit is contained in:
Alexander Baldeck 2024-09-24 13:44:28 +02:00
parent 0e92acbcd6
commit c06a10b2ce
3 changed files with 15 additions and 6 deletions

View File

@ -1,7 +1,7 @@
pkgbase = python-watchfiles
pkgdesc = Simple, modern and high performance file watching and code reload in python
pkgver = 0.21.0
pkgrel = 3
pkgver = 0.24.0
pkgrel = 1
url = https://github.com/samuelcolvin/watchfiles
arch = x86_64
license = MIT
@ -16,7 +16,7 @@ pkgbase = python-watchfiles
depends = glibc
depends = python
depends = python-anyio
source = https://github.com/samuelcolvin/watchfiles/archive/v0.21.0/python-watchfiles-0.21.0.tar.gz
b2sums = 299ab53edde696315fff1c1bdb63d45badb008e990bfb7367d5599e9f2e79c0aafbb761a21aa56c6c4e1dc4697f7ae20a868aff0a302e8393321f143cea048c0
source = https://github.com/samuelcolvin/watchfiles/archive/v0.24.0/python-watchfiles-0.24.0.tar.gz
b2sums = 96d8707327d41e3a9410c291c557641e111d91ca90ec945fc05d4ec2ebab9290a65044024a324bbb1e92f99900e9bd7098933061ddc95369c33226c8aed7924b
pkgname = python-watchfiles

View File

@ -0,0 +1,4 @@
[python-watchfiles]
source = "git"
git = "https://github.com/samuelcolvin/watchfiles.git"
prefix = "v"

View File

@ -4,7 +4,7 @@
pkgname=python-watchfiles
_name=${pkgname#python-}
pkgver=0.22.0
pkgver=0.24.0
pkgrel=1
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=('505d67974bab8a0a14f25f64ebbe1013b4966ebd5531701b5f0297703692603120a034b09a3f17754b4c5de04605432006437eaabd6ed43ddddc11bf28a422fc')
b2sums=('96d8707327d41e3a9410c291c557641e111d91ca90ec945fc05d4ec2ebab9290a65044024a324bbb1e92f99900e9bd7098933061ddc95369c33226c8aed7924b')
prepare() {
# remove __init__.py otherwise this prevents tests detecting the watchfiles module anywhere else
@ -37,6 +37,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
}