mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-23 01:27:02 +02:00
evemu: rebuild for Python 3.12
This commit is contained in:
parent
613d8c3836
commit
0bb5966706
1 changed files with 11 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'evemu'
|
||||
pkgname=evemu
|
||||
version=2.7.0
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config python3 asciidoc xmlto"
|
||||
makedepends="libevdev-devel"
|
||||
|
@ -12,6 +12,16 @@ homepage="https://freedesktop.org/wiki/Evemu/"
|
|||
distfiles=${FREEDESKTOP_SITE}/evemu/evemu-$version.tar.xz
|
||||
checksum=78c9400d55eeeb5ab75161360543f9376438c4da4934cb34cdda5b46021ae379
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
post_install() {
|
||||
sed -n '/Copyright/,/IN THE SOFTWARE/p' src/evemu.c >LICENSE
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Add table
Reference in a new issue