mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
khal: update to 0.11.2.
This commit is contained in:
parent
050c617a66
commit
f73dc68df2
1 changed files with 13 additions and 19 deletions
|
@ -1,31 +1,23 @@
|
||||||
# Template file for 'khal'
|
# Template file for 'khal'
|
||||||
pkgname=khal
|
pkgname=khal
|
||||||
version=0.10.5
|
version=0.11.2
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools python3-Sphinx python3-sphinxcontrib
|
_rundeps="python3-click python3-click-log python3-configobj python3-dateutil
|
||||||
python3-click python3-click-log python3-configobj python3-dateutil
|
|
||||||
python3-icalendar python3-pytz python3-tzlocal python3-urwid python3-xdg
|
python3-icalendar python3-pytz python3-tzlocal python3-urwid python3-xdg
|
||||||
python3-atomicwrites"
|
python3-atomicwrites"
|
||||||
depends="python3-click python3-click-log python3-configobj python3-dateutil
|
hostmakedepends="python3-setuptools_scm python3-Sphinx python3-sphinxcontrib $_rundeps"
|
||||||
python3-icalendar python3-pytz python3-tzlocal python3-urwid python3-xdg
|
depends="$_rundeps"
|
||||||
python3-atomicwrites"
|
checkdepends="python3-pytest python3-freezegun python3-hypothesis vdirsyncer $depends"
|
||||||
checkdepends="python3-pytest python3-freezegun vdirsyncer $depends"
|
|
||||||
short_desc="Command-line calendar build around CalDAV"
|
short_desc="Command-line calendar build around CalDAV"
|
||||||
maintainer="Anachron <gith@cron.world>"
|
maintainer="Anachron <gith@cron.world>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://lostpackets.de/khal/"
|
homepage="http://lostpackets.de/khal/"
|
||||||
changelog="https://raw.githubusercontent.com/pimutils/khal/master/CHANGELOG.rst"
|
changelog="https://raw.githubusercontent.com/pimutils/khal/master/CHANGELOG.rst"
|
||||||
distfiles="${PYPI_SITE}/k/khal/khal-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/k/khal/khal-${version}.tar.gz"
|
||||||
checksum=4eefb7ac302a26d8606db392817587a4ed94c27a15bf2ea211614a464fcf0c76
|
checksum=8fb8d89371e53e2235953a0765e41b97e174848a688d63768477576d03f899ba
|
||||||
make_check=ci-skip # some tests fail when running as root
|
make_check=ci-skip # some tests fail when running as root
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
vsed -i setup.py \
|
|
||||||
-e '/setup_requires=/d' \
|
|
||||||
-e "s|use_scm_version=.*|version='${version}',|"
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
||||||
|
@ -35,11 +27,13 @@ post_install() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for sh in bash fish zsh; do
|
for sh in bash fish zsh; do
|
||||||
PYTHONPATH="${_pypath}" _KHAL_COMPLETE="${sh}_source" $DESTDIR/usr/bin/khal > "khal.${sh}"
|
PYTHONPATH="${_pypath}" _KHAL_COMPLETE="${sh}_source" \
|
||||||
|
"${DESTDIR}/usr/bin/khal" > "khal.${sh}"
|
||||||
vcompletion "khal.${sh}" $sh
|
vcompletion "khal.${sh}" $sh
|
||||||
done
|
done
|
||||||
|
|
||||||
vsconf khal.conf.sample
|
vsconf khal.conf.sample
|
||||||
cd doc/
|
|
||||||
PYTHONPATH="${_pypath}" make man
|
PYTHONPATH="${_pypath}" make -C doc man
|
||||||
vman build/man/khal.1
|
vman doc/build/man/khal.1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue