void-packages/srcpkgs/vdirsyncer/template
2016-06-17 00:17:17 +02:00

30 lines
864 B
Bash

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