# Template file for 'vdirsyncer'
pkgname=vdirsyncer
version=0.19.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
depends="python3-atomicwrites python3-click python3-click-log python3-requests
 python3-requests-toolbelt python3-aiohttp python3-aiostream"
checkdepends="python3-pytest-xdist python3-pytest-asyncio python3-trustme
 python3-aioresponses python3-pytest-httpserver python3-hypothesis $depends"
short_desc="Synchronize calendars and addressbooks"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause"
homepage="https://vdirsyncer.pimutils.org/"
distfiles="${PYPI_SITE}/v/vdirsyncer/vdirsyncer-${version}.tar.gz"
checksum=8e1e8403a08659e5a4e7fa3e9caaa2e2dce2bf1f98d923029049a34db75a2525

pre_check() {
	vsed -e 's/^addopts/noaddopts/' -i setup.cfg
}

post_install() {
	vsconf config.example
	vlicense LICENSE
}
