Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions srcpkgs/khard/template
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
# Template file for 'khard'
pkgname=khard
version=0.19.1
revision=2
build_style=python3-module
# fails in CI
make_check_args="--deselect test/test_command_line_interface.py::MiscCommands"
version=0.21.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm"
depends="python3-atomicwrites python3-configobj
python3-vobject python3-Unidecode python3-ruamel.yaml"
depends="python3-configobj python3-vobject python3-ruamel.yaml"
checkdepends="${depends} python3-pytest"
short_desc="Command-line addressbook built around CardDAV"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="GPL-3.0-only"
homepage="https://khard.readthedocs.io/en/latest/"
changelog="https://raw.githubusercontent.com/lucc/khard/develop/CHANGES"
distfiles="${PYPI_SITE}/k/khard/khard-${version}.tar.gz"
checksum=59f30a0da3c3da3eb04f4dbe18ee4763913b685d99ec8418fd574a88c491c490
changelog="https://github.com/lucc/khard/blob/main/CHANGES"
distfiles="https://github.com/lucc/khard/archive/refs/tags/v${version}.tar.gz"
checksum=11c36990baa99fbaae0dff9e84580e3db7d7b54813db2f904a96f4a0fcca5298

pre_build() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
}

post_install() {
vsconf doc/source/examples/khard.conf.example
vsconf khard/data/template.yaml
vinstall khard/data/config.spec 644 usr/lib/python${py3_ver}/site-packages/khard/data
vcompletion misc/zsh/_khard zsh
vcompletion misc/zsh/_email-khard zsh email-khard
}
Loading