void-packages/srcpkgs/hatch-vcs/template

26 lines
931 B
Bash

# Template file for 'hatch-vcs'
pkgname=hatch-vcs
version=0.3.0
revision=2
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
--deselect tests/test_build.py::test_root
--deselect tests/test_build.py::test_metadata"
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 <jan.christian@gruenhage.xyz>"
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=cec5107cfce482c67f8bc96f18bbc320c9aa0d068180e14ad317bbee5a153fee
make_check_pre="env PYTHONPATH=./"
post_install() {
vlicense LICENSE.txt
}