27 lines
783 B
Bash
27 lines
783 B
Bash
# Template file for 'vdirsyncer'
|
|
pkgname=vdirsyncer
|
|
version=0.16.8
|
|
revision=3
|
|
build_style=python3-module
|
|
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="BSD-3-Clause"
|
|
homepage="https://vdirsyncer.pimutils.org/"
|
|
distfiles="${PYPI_SITE}/v/vdirsyncer/vdirsyncer-${version}.tar.gz"
|
|
checksum=bfdb422f52e1d4d60bd0635d203fb59fa7f613397d079661eb48e79464ba13c5
|
|
|
|
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
|
|
}
|