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'
|
||||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue