void-packages/srcpkgs/vdirsyncer/template

29 lines
824 B
Bash

# Template file for 'vdirsyncer'
pkgname=vdirsyncer
version=0.16.3
revision=1
noarch=yes
build_style=python3-module
pycompile_module="vdirsyncer"
hostmakedepends="python3-setuptools"
depends="python3-atomicwrites python3-click python3-click-log
python3-click-threading python3-setuptools python3-requests-toolbelt"
short_desc="Synchronize calendars and addressbooks"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="3-clause-BSD"
homepage="https://vdirsyncer.pimutils.org/"
distfiles="${PYPI_SITE}/v/vdirsyncer/vdirsyncer-${version}.tar.gz"
checksum=fc5f6c5225d588b01ee225358a7c096283896a2a26a4f02c9651cf93a25bfc36
pre_build() {
sed -i setup.py \
-e '/setup_requires=/d' \
-e '/use_scm_version/,+2d' \
-e "/author=/ a\
version='${version}',"
}
post_install() {
vsconf config.example
vlicense LICENSE
}