void-packages/srcpkgs/vdirsyncer/template
2016-04-23 20:09:07 +02:00

29 lines
938 B
Bash

# Template file for 'vdirsyncer'
pkgname=vdirsyncer
version=0.10.0
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="https://pypi.python.org/packages/0b/fb/c42223e1e9169e4770194e62143d431755724b080d8cb77f14705b634815/vdirsyncer-${version}.tar.gz"
checksum=e8b894022beab6f98bde80c919e5fa99cb72698e2327e8d5271c70d39636c8bd
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
}