python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / vdirsyncer / template
blob4a7c958d5370abd6052509b470320abd6ee3afb7
1 # Template file for 'vdirsyncer'
2 pkgname=vdirsyncer
3 version=0.16.6
4 revision=1
5 noarch=yes
6 build_style=python3-module
7 pycompile_module="vdirsyncer"
8 hostmakedepends="python3-setuptools"
9 depends="python3-atomicwrites python3-click python3-click-log
10  python3-click-threading python3-setuptools python3-requests-toolbelt"
11 short_desc="Synchronize calendars and addressbooks"
12 maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
13 license="BSD-3-Clause"
14 homepage="https://vdirsyncer.pimutils.org/"
15 distfiles="${PYPI_SITE}/v/vdirsyncer/vdirsyncer-${version}.tar.gz"
16 checksum=c6b060460ea83e614d4253b53a7d1e0c0e64a8cea1aa6a7b59d9b15158c1381e
18 pre_build() {
19         sed -i setup.py \
20                 -e '/setup_requires=/d' \
21                 -e '/use_scm_version/,+2d' \
22                 -e "/author=/ a\
23                 version='${version}',"
25 post_install() {
26         vsconf config.example
27         vlicense LICENSE