khal: update to commit 7932721 (fix for dateutil>=2.7)

See https://github.com/pimutils/khal/pull/798.

Closes #495.
This commit is contained in:
Alessio Sergi 2018-09-29 11:13:59 +02:00
parent 8394fd1c75
commit b20b5f8f58
1 changed files with 11 additions and 9 deletions

View File

@ -1,26 +1,28 @@
# Template file for 'khal'
pkgname=khal
version=0.9.9
version=0.9.9.20180918
revision=1
noarch=yes
_commit=793272111d7512069b8fad336cfb22ef979c6899
wrksrc="khal-${_commit}"
build_style=python3-module
pycompile_module="khal"
hostmakedepends="python3-setuptools"
depends="python3-atomicwrites python3-click python3-configobj python3-icalendar
python3-setuptools python3-tzlocal python3-urwid python3-xdg"
depends="python3-setuptools python3-click python3-click-log python3-configobj
python3-dateutil python3-icalendar python3-pytz python3-tzlocal
python3-urwid python3-xdg python3-atomicwrites"
short_desc="Command-line calendar build around CalDAV"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="MIT"
homepage="http://lostpackets.de/khal/"
distfiles="${PYPI_SITE}/k/khal/khal-${version}.tar.gz"
checksum=50e7c40028c37d4ec76a3ef80e99af5f837ad6857590e76cc64ee29b16560937
#distfiles="${PYPI_SITE}/k/khal/khal-${version}.tar.gz"
distfiles="https://github.com/pimutils/khal/archive/${_commit}.tar.gz"
checksum=7402494b076ff45893ea84981323b33760843197abf94286021f4e53fb434e44
pre_build() {
sed -i setup.py \
-e '/setup_requires/d' \
-e '/use_scm_version/d' \
-e "/name=/ a\
version='${version}',"
-e '/setup_requires=/d' \
-e "s|use_scm_version=.*|version='${version}',|"
}
post_install() {
vlicense COPYING