mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
geis: rebuild for Python 3.12
This commit is contained in:
parent
2585630029
commit
ef430578be
1 changed files with 11 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'geis'
|
# Template file for 'geis'
|
||||||
pkgname=geis
|
pkgname=geis
|
||||||
version=2.2.17
|
version=2.2.17
|
||||||
revision=11
|
revision=12
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
hostmakedepends="pkg-config python3-devel"
|
hostmakedepends="pkg-config python3-devel"
|
||||||
|
@ -17,6 +17,16 @@ if [ -n "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" --enable-integration-tests=no"
|
configure_args+=" --enable-integration-tests=no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
# The py-compile helper uses the imp module, removed in Python 3.12;
|
||||||
|
# besides, we don't want the module pre-compiled anyway, so just drop it
|
||||||
|
: > config.aux/py-compile
|
||||||
|
cat > config.aux/py-compile <<-'EOF'
|
||||||
|
#!/bin/sh
|
||||||
|
: "$@"
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
geis-devel_package() {
|
geis-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue