From 2e161b18221044e86a20d3909590238e9d29307c Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 15 Jun 2018 04:20:35 -0300 Subject: [PATCH] python-automat: update to 0.7.0. Closes #25. Signed-off-by: Enno Boland --- srcpkgs/python-automat/template | 6 ++++++ 1 file changed, 6 insertions(+) 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 }