28 lines
926 B
Bash
28 lines
926 B
Bash
# Template file for 'vdirsyncer'
|
|
pkgname=vdirsyncer
|
|
version=0.18.0
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools_scm"
|
|
depends="python3-atomicwrites python3-click python3-click-log
|
|
python3-click-threading python3-requests-toolbelt"
|
|
checkdepends="python3-pytest python3-hypothesis $depends"
|
|
short_desc="Synchronize calendars and addressbooks"
|
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://vdirsyncer.pimutils.org/"
|
|
distfiles="${PYPI_SITE}/v/vdirsyncer/vdirsyncer-${version}.tar.gz"
|
|
checksum=27bc3ed51f774935fbba392915c8c8d4cf639ae51a44b674686b49a1025fc201
|
|
|
|
do_check() {
|
|
# Disable coverage checks and those requiring unpackaged pytest-localserver
|
|
vsed -e 's/^addopts/noaddopts/' -i setup.cfg
|
|
PYTHONPATH="$(cd build/lib* && pwd)" \
|
|
python3 -m pytest -k 'not test_request_ssl_fingerprints'
|
|
}
|
|
|
|
post_install() {
|
|
vsconf config.example
|
|
vlicense LICENSE
|
|
}
|