diff --git a/srcpkgs/gandi-cli/template b/srcpkgs/gandi-cli/template index c2e64f693dc..c70fb0a5720 100644 --- a/srcpkgs/gandi-cli/template +++ b/srcpkgs/gandi-cli/template @@ -1,16 +1,21 @@ # Template file for 'gandi-cli' pkgname=gandi-cli -version=1.2 +version=1.3 revision=1 -wrksrc=gandi.cli-${version} noarch=yes +wrksrc="gandi.cli-${version}" build_style=python3-module -hostmakedepends="python3-setuptools python3-docutils" -depends="python3 python3-requests python3-click python3-yaml python3-IPy" pycompile_module="gandi/cli" +hostmakedepends="python3-docutils python3-setuptools" +depends="python3-IPy python3-click python3-requests python3-yaml" +checkdepends="$depends python3-pytest" short_desc="Command line interface to Gandi.net" maintainer="Lon Willett " license="GPL-3" homepage="http://cli.gandi.net" distfiles="https://github.com/Gandi/gandi.cli/archive/${version}.tar.gz>${wrksrc}.tar.gz" -checksum=36af7e3cb5d4735f9d31837cbcc241024558b13de25daec3ede3712230d962a8 +checksum=e6a28a26cfa16ad4d369958146152b293b4a0e68df6e9cfbfc2d07f84fbaa5e7 + +do_check() { + python3 -m pytest +}