void-packages/srcpkgs/vdirsyncer/template
Peter Bui a5235dac4d vdirsyncer: update to 0.16.4.
Closes: #11887 [via git-merge-pr]
2018-03-09 10:42:18 +00:00

28 lines
824 B
Bash

# Template file for 'vdirsyncer'
pkgname=vdirsyncer
version=0.16.4
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=fb5fbd8afd35b18020ff14e6aed842d3c0ded14a8c5ee3da682aecb710519b0f
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
}