2015-09-23 22:17:23 +02:00
|
|
|
# Template file for 'vdirsyncer'
|
|
|
|
pkgname=vdirsyncer
|
2015-10-29 21:53:54 +01:00
|
|
|
version=0.7.0
|
2015-09-23 22:17:23 +02:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
build_style=python-module
|
|
|
|
hostmakedepends="python-setuptools"
|
2015-10-29 21:53:54 +01:00
|
|
|
depends="python-atomicwrites python-click python-click-log python-click-threading python-icalendar python-keyring python-lxml python-setuptools python-requests python-requests-toolbelt"
|
2015-09-23 22:17:23 +02:00
|
|
|
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"
|
2015-10-29 21:53:54 +01:00
|
|
|
checksum=ddf9e20b085f97c7bae97ed4cd5e8a78f472ee0b1cae3be537809ae98589172a
|
2015-09-23 22:17:23 +02:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -e '/use_scm_version/,/setuptools_scm/ d' \
|
|
|
|
-e "/author=/ a\
|
|
|
|
version='${version}'," \
|
|
|
|
-i setup.py
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|