26 lines
931 B
Bash
26 lines
931 B
Bash
# Template file for 'hatch-vcs'
|
|
pkgname=hatch-vcs
|
|
version=0.4.0
|
|
revision=1
|
|
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=093810748fe01db0d451fabcf2c1ac2688caefd232d4ede967090b1c1b07d9f7
|
|
make_check_pre="env PYTHONPATH=./"
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|