From e2b00c4f2866bd5a1fcdb192af2127db9464dc92 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 23 Sep 2015 22:17:23 +0200 Subject: [PATCH] New package: vdirsyncer-0.6.0 --- srcpkgs/vdirsyncer/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/vdirsyncer/template diff --git a/srcpkgs/vdirsyncer/template b/srcpkgs/vdirsyncer/template new file mode 100644 index 00000000000..25f44021a0d --- /dev/null +++ b/srcpkgs/vdirsyncer/template @@ -0,0 +1,26 @@ +# Template file for 'vdirsyncer' +pkgname=vdirsyncer +version=0.6.0 +revision=1 +noarch=yes +build_style=python-module +hostmakedepends="python-setuptools" +depends="python-atomicwrites python-click python-icalendar python-keyring python-lxml python-setuptools python-requests python-requests-toolbelt" +pycompile_module="vdirsyncer" +short_desc="Synchronize calendars and addressbooks" +maintainer="Oliver Kiddle " +license="MIT" +homepage="https://vdirsyncer.readthedocs.org/" +distfiles="${PYPI_SITE}/v/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=0d2a9677b086cfbe5fe5e7cb5e55db4c1afab62cb5dc56aeaff6e95d34bf60d5 + +pre_build() { + sed -e '/use_scm_version/,/setuptools_scm/ d' \ + -e "/author=/ a\ + version='${version}'," \ + -i setup.py +} + +post_install() { + vlicense LICENSE +}