khal: rebuild for Python 3.11
This commit is contained in:
parent
378173f912
commit
3eb232b302
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'khal'
|
||||
pkgname=khal
|
||||
version=0.10.5
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools python3-Sphinx python3-sphinxcontrib
|
||||
python3-click python3-click-log python3-configobj python3-dateutil
|
||||
|
@ -28,12 +28,18 @@ pre_build() {
|
|||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
|
||||
local _pypath="${DESTDIR}/${py3_sitelib}"
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
_pypath="${_pypath}:${XBPS_CROSS_BASE}/${py3_lib}"
|
||||
fi
|
||||
|
||||
for sh in bash fish zsh; do
|
||||
env PYTHONPATH=$DESTDIR/$py3_sitelib _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
|
||||
done
|
||||
vsconf khal.conf.sample
|
||||
cd doc/
|
||||
PYTHONPATH=$DESTDIR/$py3_sitelib make man
|
||||
PYTHONPATH="${_pypath}" make man
|
||||
vman build/man/khal.1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user