diff --git a/srcpkgs/python-automat/template b/srcpkgs/python-automat/template index 80d9323a8c1..f7fe88a9320 100644 --- a/srcpkgs/python-automat/template +++ b/srcpkgs/python-automat/template @@ -8,6 +8,7 @@ build_style=python-module pycompile_module="automat" hostmakedepends="python-setuptools python3-setuptools" depends="python-setuptools python-attrs python-six" +checkdepends="python3-attrs python3-six python3-Twisted python3-graphviz" short_desc="Finite-state machines in Python (Python2)" maintainer="Juan RP " homepage="https://github.com/glyph/Automat" @@ -22,6 +23,11 @@ pre_build() { -e '/setup_requires=/,+3d' \ -e "s/use_scm_version=True/version='${version}'/" } + +do_check() { + python3 setup.py test +} + post_install() { vlicense LICENSE }