commit: 0acccf502267e74b578035511adaf2d53e1eaf67 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Mon Sep 23 06:42:56 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Mon Sep 23 06:47:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0acccf50
x11-misc/autorandr: fix non-systemd udev rule, enable python 3.13 Thanks to wolfwood for digging into the root cause and suggesting the used fix. Closes: https://bugs.gentoo.org/912692 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> .../autorandr/{autorandr-9999.ebuild => autorandr-1.15-r1.ebuild} | 4 ++-- x11-misc/autorandr/autorandr-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/x11-misc/autorandr/autorandr-9999.ebuild b/x11-misc/autorandr/autorandr-1.15-r1.ebuild similarity index 92% copy from x11-misc/autorandr/autorandr-9999.ebuild copy to x11-misc/autorandr/autorandr-1.15-r1.ebuild index 0011c189d5ca..73aa409173d5 100644 --- a/x11-misc/autorandr/autorandr-9999.ebuild +++ b/x11-misc/autorandr/autorandr-1.15-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit bash-completion-r1 distutils-r1 systemd udev @@ -58,7 +58,7 @@ src_install() { emake DESTDIR="${D}" \ BASH_COMPLETIONS_DIR="$(get_bashcompdir)" \ - SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" \ + SYSTEMD_UNIT_DIR=$(usex systemd "$(systemd_get_systemunitdir)" "") \ UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ $(printf "install_%s " "${targets[@]}") } diff --git a/x11-misc/autorandr/autorandr-9999.ebuild b/x11-misc/autorandr/autorandr-9999.ebuild index 0011c189d5ca..73aa409173d5 100644 --- a/x11-misc/autorandr/autorandr-9999.ebuild +++ b/x11-misc/autorandr/autorandr-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit bash-completion-r1 distutils-r1 systemd udev @@ -58,7 +58,7 @@ src_install() { emake DESTDIR="${D}" \ BASH_COMPLETIONS_DIR="$(get_bashcompdir)" \ - SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" \ + SYSTEMD_UNIT_DIR=$(usex systemd "$(systemd_get_systemunitdir)" "") \ UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ $(printf "install_%s " "${targets[@]}") }
