Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions srcpkgs/python3-automat/template
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
# Template file for 'python3-automat'
pkgname=python3-automat
version=24.8.1
revision=3
version=25.4.16
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)"
hostmakedepends="python3-setuptools python3-wheel hatch-vcs"
depends="python3"
short_desc="Finite-state machines in Python"
maintainer="Orphaned <[email protected]>"
license="MIT"
homepage="https://github.com/glyph/Automat"
distfiles="${PYPI_SITE}/a/automat/automat-${version}.tar.gz"
checksum=b34227cf63f6325b8ad2399ede780675083e439b20c323d376373d8ee6306d88
checksum=0017591a5477066e90d26b0e696ddc143baafd87b588cfac8100bc6be9634de0
alternatives="automat:automat-visualize:/usr/bin/automat-visualize3"

# do_check() {
# PYTHONPATH="$(cd build/lib* && pwd)" \
# python3 -m pytest ${testjobs} automat/_test
# }
if [ "$XBPS_CHECK_PKGS" = full ]; then
# some tests require Twisted which would cause a build-time circular dependency
checkdepends+=" python3-pytest python3-pytest-benchmark python3-graphviz python3-Twisted"
fi

post_install() {
mv ${DESTDIR}/usr/bin/automat-visualize{,3}
Expand Down