void-packages/srcpkgs/vdirsyncer/template
Alessio Sergi d870bf876c vdirsyncer: rebuild for Python 3.5
Switch to python3-module.
Switch to python3-* pkgs.
2016-10-17 11:58:13 +02:00

28 lines
815 B
Bash

# Template file for 'vdirsyncer'
pkgname=vdirsyncer
version=0.13.1
revision=3
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="MIT"
homepage="https://vdirsyncer.pimutils.org/"
distfiles="${PYPI_SITE}/v/vdirsyncer/vdirsyncer-${version}.tar.gz"
checksum=cbaa5f303a3e585e551e6e2a0e63aa35813f193f3da8208bcda1b7c3d88d93b0
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
}