25 lines
876 B
Bash
25 lines
876 B
Bash
# Template file for 'python3-watchfiles'
|
|
pkgname=python3-watchfiles
|
|
version=1.1.1
|
|
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=48fdf058a68dd763ddb246319f3fd16d6f2a0c713fb89b7c9aa2aca1e39d1dc9
|
|
|
|
post_extract() {
|
|
rm -f tests/__init__.py
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|