void-packages/srcpkgs/vdirsyncer/template
2015-12-23 13:29:26 +01:00

26 lines
820 B
Bash

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