diff --git a/srcpkgs/python3-sphinx-click/template b/srcpkgs/python3-sphinx-click/template new file mode 100644 index 00000000000..accbf7f5898 --- /dev/null +++ b/srcpkgs/python3-sphinx-click/template @@ -0,0 +1,22 @@ +# Template file for 'python3-sphinx-click' +pkgname=python3-sphinx-click +version=6.2.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-setuptools_scm" +depends="python3-Sphinx python3-click python3-docutils" +checkdepends="${depends} python3-pytest python3-pytest-cov" +short_desc="Sphinx plugin to document click-based application" +maintainer="orahcio " +license="MIT" +homepage="https://github.com/click-contrib/sphinx-click" +distfiles="https://github.com/click-contrib/sphinx-click/archive/refs/tags/${version}.tar.gz" +checksum=8914e66d27d53b9d4afade2c815ed67bcae715c205fd41904b038104c4c6bc5b + +pre_build() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${version} +} + +post_install() { + vlicense LICENSE +}