27 lines
766 B
Bash
27 lines
766 B
Bash
# Template file for 'gandi-cli'
|
|
pkgname=gandi-cli
|
|
version=1.5
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="gandi.cli-${version}"
|
|
build_style=python3-module
|
|
pycompile_module="gandi/cli"
|
|
hostmakedepends="python3-docutils python3-setuptools"
|
|
depends="python3-setuptools python3-IPy python3-click python3-requests python3-yaml"
|
|
checkdepends="$depends python3-pytest"
|
|
short_desc="Command line interface to Gandi.net"
|
|
maintainer="Lon Willett <xgit@lonw.net>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://cli.gandi.net"
|
|
distfiles="https://github.com/Gandi/gandi.cli/archive/${version}.tar.gz"
|
|
checksum=91349aaac0399add4dec5025cd75ae34f42e0d78bd533da4619a075869c93fb0
|
|
|
|
do_check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
post_install() {
|
|
rst2man --no-generator gandicli.man.rst > gandi.1
|
|
vman gandi.1
|
|
}
|