New package: hatch-vcs-0.2.0

This commit is contained in:
Jan Christian Grünhage 2022-06-26 16:45:06 +02:00 committed by Leah Neukirchen
parent 32b0257c93
commit a6df0686f8
1 changed files with 24 additions and 0 deletions

View File

@ -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 <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=9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff
make_check_pre="env PYTHONPATH=./"
post_install() {
vlicense LICENSE.txt
}