khal: update to 0.8.1

Python2 is no longer supported by khal.
This commit is contained in:
Alessio Sergi 2016-04-17 00:24:24 +02:00
parent 2cde21c4e0
commit a6e8c30198
1 changed files with 10 additions and 6 deletions

View File

@ -1,18 +1,22 @@
# Template file for 'khal'
pkgname=khal
version=0.7.0
version=0.8.1
revision=1
noarch=yes
build_style=python-module
python_versions="2.7"
python_versions="3.4"
pycompile_version="3.4"
pycompile_module="khal"
hostmakedepends="python-setuptools"
depends="python-click python-configobj python-dateutil python-icalendar python-pytz python-setproctitle python-sqlite python-tzlocal python-urwid python-xdg vdirsyncer"
hostmakedepends="python3.4-setuptools"
depends="python3.4-setuptools python3.4-click python3.4-configobj
python3.4-dateutil python3.4-icalendar python3.4-pytz python3.4-tzlocal
python3.4-urwid python3.4-xdg vdirsyncer"
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=c6b0c81df56133e4592f02d8e9b60702079da2affd1b09ba96358ccd8eec9402
checksum=9d352e4aa6256e493d5aea69540f642158bdcab75d2383e1e43506bf89982094
pre_build() {
sed -e '/setuptools_scm/d' \
@ -20,8 +24,8 @@ pre_build() {
-e "s/use_scm_version=True,/version=\"${version}\",/" \
-i setup.py
}
post_install() {
vlicense COPYING
vinstall misc/__khal 644 usr/share/zsh/site-functions
vsconf khal.conf.sample
}