void-packages/srcpkgs/python3-versioningit/template

27 lines
813 B
Bash

# Template file for 'python3-versioningit'
pkgname=python3-versioningit
version=2.2.0
revision=2
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-packaging"
checkdepends="python3-pytest python3-pydantic python3-pytest-mock"
short_desc="Versioning It with your Version In Git"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="MIT"
homepage="https://github.com/jwodder/versioningit"
changelog="https://raw.githubusercontent.com/jwodder/versioningit/master/CHANGELOG.md"
distfiles="https://github.com/jwodder/versioningit/archive/refs/tags/v$version.tar.gz"
checksum=1e7d80cdeee2dbcebaf61d25205c9faac268a1926ff43fc5c7236f45639c3782
make_check=no # FIXME
pre_check() {
vsed -e '/ --cov/d' \
-e '/ --no-cov-on-fail/d' \
-i tox.ini
}
post_install() {
vlicense LICENSE
}