# Template file for 'etesync-dav'
pkgname=etesync-dav
version=0.20.4
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-etesync radicale2 python3-Flask python3-Flask-WTF"
checkdepends="$depends python3-pytest"
short_desc="CalDAV and CardDAV frontend for EteSync"
maintainer="projectmoon <projectmoon@agnos.is>"
license="GPL-3.0-only"
homepage="http://www.etesync.com"
distfiles="${PYPI_SITE}/e/etesync-dav/etesync-dav-${version}.tar.gz"
checksum=0f112d0ae98bfb5908d581e392cfba24e7f9f4ccac3109d21173e8c0ab5bc03f

do_check() {
	pytest3
}

post_install() {
	rm -r ${DESTDIR}/${py3_sitelib}/tests
}
