mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +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'
|
# Template file for 'evemu'
|
||||||
pkgname=evemu
|
pkgname=evemu
|
||||||
version=2.7.0
|
version=2.7.0
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config python3 asciidoc xmlto"
|
hostmakedepends="pkg-config python3 asciidoc xmlto"
|
||||||
makedepends="libevdev-devel"
|
makedepends="libevdev-devel"
|
||||||
|
@ -12,6 +12,16 @@ homepage="https://freedesktop.org/wiki/Evemu/"
|
||||||
distfiles=${FREEDESKTOP_SITE}/evemu/evemu-$version.tar.xz
|
distfiles=${FREEDESKTOP_SITE}/evemu/evemu-$version.tar.xz
|
||||||
checksum=78c9400d55eeeb5ab75161360543f9376438c4da4934cb34cdda5b46021ae379
|
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() {
|
post_install() {
|
||||||
sed -n '/Copyright/,/IN THE SOFTWARE/p' src/evemu.c >LICENSE
|
sed -n '/Copyright/,/IN THE SOFTWARE/p' src/evemu.c >LICENSE
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue