vp-build/srcpkgs/gandi-cli/template

21 lines
693 B
Bash

# Template file for 'gandi-cli'
pkgname=gandi-cli
version=1.6
revision=2
wrksrc="gandi.cli-${version}"
build_style=python3-module
hostmakedepends="python3-docutils python3-setuptools"
depends="python3-setuptools python3-IPy python3-click python3-requests python3-yaml"
checkdepends="$depends python3-pytest-cov"
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=f9a8140604c2f8ff2bef31851456906d301bfef2a36101280bbaf531a05cb52e
post_install() {
rst2man --no-generator gandicli.man.rst > gandi.1
vman gandi.1
}