diff --git a/srcpkgs/vdirsyncer/template b/srcpkgs/vdirsyncer/template index c1ab5e1f3b5..cac1c244022 100644 --- a/srcpkgs/vdirsyncer/template +++ b/srcpkgs/vdirsyncer/template @@ -1,6 +1,6 @@ # Template file for 'vdirsyncer' pkgname=vdirsyncer -version=0.11.3 +version=0.12.1 revision=1 noarch=yes build_style=python-module @@ -8,20 +8,21 @@ python_versions="3.4" pycompile_version="3.4" pycompile_module="vdirsyncer" hostmakedepends="python3.4-setuptools" -depends="python3.4-atomicwrites python3.4-click python3.4-click-log python3.4-click-threading - python3.4-setuptools python3.4-requests-toolbelt" +depends="python3.4-atomicwrites python3.4-click python3.4-click-log + python3.4-click-threading python3.4-setuptools python3.4-requests-toolbelt" short_desc="Synchronize calendars and addressbooks" maintainer="Oliver Kiddle " license="MIT" -homepage="https://vdirsyncer.readthedocs.org/" +homepage="https://vdirsyncer.pimutils.org/" distfiles="${PYPI_SITE}/v/vdirsyncer/vdirsyncer-${version}.tar.gz" -checksum=691a2c0380fecde16c571131c148de7baa43375dfc61d9da7afdb68d0a95aa82 +checksum=3fbba82d5c687238698799799521978bffe72f87b911a267a9c1933b10bd7df8 pre_build() { - sed -e '/use_scm_version/,/setuptools_scm/ d' \ + sed -i setup.py \ + -e '/setup_requires=/d' \ + -e '/use_scm_version/,+2d' \ -e "/author=/ a\ - version='${version}'," \ - -i setup.py + version='${version}'," } post_install() { vsconf config.example