# Template file for 'python3-watchfiles'
pkgname=python3-watchfiles
version=1.2.0
revision=1
build_style=python3-pep517
build_helper="rust qemu"
hostmakedepends="python3-setuptools python3-wheel maturin python3-puccinialin cargo pkg-config"
makedepends="rust-std libzstd-devel python3-devel"
depends="python3-anyio"
checkdepends="python3-coverage python3-dirty-equals maturin python3-pytest python3-pytest-mock python3-pytest-pretty python3-pytest-timeout"
short_desc="File watching and code reload in Python"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="MIT"
homepage="https://github.com/samuelcolvin/watchfiles"
distfiles="https://github.com/samuelcolvin/watchfiles/archive/refs/tags/v${version}.tar.gz"
checksum=5439668773621a3b80fc7bdc603b55d28ba8c8b6a4fc0c5e76bd47864ff4ebfa

post_extract() {
	rm -f tests/__init__.py
}

post_install() {
	vlicense LICENSE
}
