mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
redshift: rebuild for Python 3.12
This commit is contained in:
parent
1128954bc4
commit
c4bfdfa2cf
1 changed files with 11 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'redshift'
|
||||
pkgname=redshift
|
||||
version=1.12
|
||||
revision=7
|
||||
revision=8
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-gui --enable-geoclue2"
|
||||
hostmakedepends="gettext-devel intltool pkg-config python3-devel"
|
||||
|
@ -13,6 +13,16 @@ homepage="http://jonls.dk/redshift/"
|
|||
distfiles="https://github.com/jonls/redshift/releases/download/v${version}/redshift-${version}.tar.xz"
|
||||
checksum=d2f8c5300e3ce2a84fe6584d2f1483aa9eadc668ab1951b2c2b8a03ece3a22ba
|
||||
|
||||
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
|
||||
: > py-compile
|
||||
cat > py-compile <<-'EOF'
|
||||
#!/bin/sh
|
||||
: "$@"
|
||||
EOF
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vsconf redshift.conf.sample
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue