diff --git a/srcpkgs/khal/template b/srcpkgs/khal/template index ba9138fc5d..c501a5a3d4 100644 --- a/srcpkgs/khal/template +++ b/srcpkgs/khal/template @@ -1,6 +1,6 @@ # Template file for 'khal' pkgname=khal -version=0.8.2 +version=0.8.3 revision=1 noarch=yes build_style=python-module @@ -16,13 +16,14 @@ maintainer="Oliver Kiddle " license="MIT" homepage="http://lostpackets.de/khal/" distfiles="${PYPI_SITE}/k/khal/khal-${version}.tar.gz" -checksum=f2ff3cf58ea4de55b42e6f3cd61818be1ebaf86fabb7f7d5c11b762d07a40c46 +checksum=1ec6940a9fbd207c41428b103bac1d1555129b9b4eca2b843c544bd48ac63ee3 pre_build() { - sed -e '/setuptools_scm/d' \ - -e '/pkginfo/d' \ - -e "s/use_scm_version=True,/version=\"${version}\",/" \ - -i setup.py + sed -i setup.py \ + -e '/setup_requires/d' \ + -e '/use_scm_version/d' \ + -e "/name=/ a\ + version='${version}'," } post_install() { vlicense COPYING