26 lines
891 B
Bash
26 lines
891 B
Bash
# Template file for 'python3-automat'
|
|
pkgname=python3-automat
|
|
version=24.8.1
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
|
|
depends="python3-setuptools python3-attrs python3-six"
|
|
checkdepends="${depends} python3-pytest python3-pytest-benchmark python3-graphviz"
|
|
short_desc="Finite-state machines in Python (Python3)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/glyph/Automat"
|
|
distfiles="${PYPI_SITE}/a/automat/automat-${version}.tar.gz"
|
|
checksum=b34227cf63f6325b8ad2399ede780675083e439b20c323d376373d8ee6306d88
|
|
alternatives="automat:automat-visualize:/usr/bin/automat-visualize3"
|
|
|
|
# do_check() {
|
|
# PYTHONPATH="$(cd build/lib* && pwd)" \
|
|
# python3 -m pytest ${testjobs} automat/_test
|
|
# }
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/automat-visualize{,3}
|
|
vlicense LICENSE
|
|
}
|