diff --git a/srcpkgs/hatch-vcs/template b/srcpkgs/hatch-vcs/template new file mode 100644 index 00000000000..adac314297e --- /dev/null +++ b/srcpkgs/hatch-vcs/template @@ -0,0 +1,24 @@ +# Template file for 'hatch-vcs' +pkgname=hatch-vcs +version=0.2.0 +revision=1 +wrksrc="${pkgname/-/_}-${version}" +build_style=python3-pep517 +make_check_args="--deselect tests/test_build.py::test_basic + --deselect tests/test_build.py::test_write + --deselect tests/test_build.py::test_fallback" +hostmakedepends="hatchling" +depends="hatchling python3-setuptools_scm" +checkdepends="${depends} python3-pytest git" +short_desc="Hatch plugin for VCS based versioning" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/ofek/hatch-vcs" +changelog="https://github.com/ofek/hatch-vcs/raw/master/HISTORY.md" +distfiles="${PYPI_SITE}/h/${pkgname/-/_}/${pkgname/-/_}-${version}.tar.gz" +checksum=9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff +make_check_pre="env PYTHONPATH=./" + +post_install() { + vlicense LICENSE.txt +}