diff --git a/srcpkgs/geis/template b/srcpkgs/geis/template index 8c41cbc940b..abfa9539434 100644 --- a/srcpkgs/geis/template +++ b/srcpkgs/geis/template @@ -1,7 +1,7 @@ # Template file for 'geis' pkgname=geis version=2.2.17 -revision=11 +revision=12 build_style="gnu-configure" configure_args="--disable-static" hostmakedepends="pkg-config python3-devel" @@ -17,6 +17,16 @@ if [ -n "$CROSS_BUILD" ]; then configure_args+=" --enable-integration-tests=no" 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() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"