28 lines
808 B
Bash
28 lines
808 B
Bash
# Template file for 'vdirsyncer'
|
|
pkgname=vdirsyncer
|
|
version=0.8.1
|
|
revision=1
|
|
noarch=yes
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools"
|
|
depends="python-atomicwrites python-click python-click-log python-click-threading
|
|
python-lxml python-setuptools python-requests-toolbelt"
|
|
pycompile_module="vdirsyncer"
|
|
short_desc="Synchronize calendars and addressbooks"
|
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
|
license="MIT"
|
|
homepage="https://vdirsyncer.readthedocs.org/"
|
|
distfiles="${PYPI_SITE}/v/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=e8602a5df862124351dec92515019b2875616cc90c15499b681d8c6e38a66ea9
|
|
|
|
pre_build() {
|
|
sed -e '/use_scm_version/,/setuptools_scm/ d' \
|
|
-e "/author=/ a\
|
|
version='${version}'," \
|
|
-i setup.py
|
|
}
|
|
post_install() {
|
|
vsconf config.example
|
|
vlicense LICENSE
|
|
}
|