mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
khal: rebuild for Python 3.11
This commit is contained in:
parent
378173f912
commit
3eb232b302
1 changed files with 9 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'khal'
|
# Template file for 'khal'
|
||||||
pkgname=khal
|
pkgname=khal
|
||||||
version=0.10.5
|
version=0.10.5
|
||||||
revision=1
|
revision=2
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools python3-Sphinx python3-sphinxcontrib
|
hostmakedepends="python3-setuptools python3-Sphinx python3-sphinxcontrib
|
||||||
python3-click python3-click-log python3-configobj python3-dateutil
|
python3-click python3-click-log python3-configobj python3-dateutil
|
||||||
|
@ -28,12 +28,18 @@ pre_build() {
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
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
|
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
|
vcompletion "khal.${sh}" $sh
|
||||||
done
|
done
|
||||||
vsconf khal.conf.sample
|
vsconf khal.conf.sample
|
||||||
cd doc/
|
cd doc/
|
||||||
PYTHONPATH=$DESTDIR/$py3_sitelib make man
|
PYTHONPATH="${_pypath}" make man
|
||||||
vman build/man/khal.1
|
vman build/man/khal.1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue