27 lines
814 B
Bash
27 lines
814 B
Bash
|
# Template file for 'python3-cattrs'
|
||
|
pkgname=python3-cattrs
|
||
|
version=23.2.3
|
||
|
revision=1
|
||
|
build_style=python3-pep517
|
||
|
make_check_args="--ignore tests/test_preconf.py
|
||
|
--ignore tests/test_unstructure_collections.py"
|
||
|
make_check_target="tests"
|
||
|
hostmakedepends="hatchling hatch-vcs"
|
||
|
depends="python3-attrs"
|
||
|
checkdepends="python3-pytest-xdist python3-hypothesis ${depends}"
|
||
|
short_desc="Composable custom class converters for Python"
|
||
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||
|
license="MIT"
|
||
|
homepage="https://catt.rs"
|
||
|
changelog="https://github.com/python-attrs/cattrs/blob/main/HISTORY.md"
|
||
|
distfiles="${PYPI_SITE}/c/cattrs/cattrs-${version}.tar.gz"
|
||
|
checksum=a934090d95abaa9e911dac357e3a8699e0b4b14f8529bcc7d2b1ad9d51672b9f
|
||
|
|
||
|
pre_check() {
|
||
|
vsed -i -e '/addopts/d' pyproject.toml
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE
|
||
|
}
|