commit:     059114f3e08297558593cffe3bbf35231bd9fbd0
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 21:50:10 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 21:57:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=059114f3

x11-misc/screenkey: enable py3.12 compat

Closes: https://bugs.gentoo.org/929890
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ..._p20230109.ebuild => screenkey-1.5_p20230109-r1.ebuild} | 14 ++++++++------
 x11-misc/screenkey/screenkey-9999.ebuild                   | 10 ++++++----
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/x11-misc/screenkey/screenkey-1.5_p20230109.ebuild 
b/x11-misc/screenkey/screenkey-1.5_p20230109-r1.ebuild
similarity index 84%
rename from x11-misc/screenkey/screenkey-1.5_p20230109.ebuild
rename to x11-misc/screenkey/screenkey-1.5_p20230109-r1.ebuild
index d9ae207590c5..379af07f4cf6 100644
--- a/x11-misc/screenkey/screenkey-1.5_p20230109.ebuild
+++ b/x11-misc/screenkey/screenkey-1.5_p20230109-r1.ebuild
@@ -1,30 +1,32 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 xdg
 
 DESCRIPTION="A screencast tool to display your keys inspired by Screenflick"
 HOMEPAGE="https://www.thregr.org/~wavexx/software/screenkey/";
 
-if [[ ${PV} == *9999* ]]; then
+if [[ "${PV}" == *9999* ]]; then
        inherit git-r3
+
        EGIT_REPO_URI="https://gitlab.com/screenkey/${PN}.git";
 else
-       if [[ ${PV} == *_p20230109 ]] ; then
+       if [[ "${PV}" == *_p20230109 ]] ; then
                COMMIT=7bdba66574244061c6e1934c4f204d02d570f182
                
SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.bz2
                        -> ${P}.tar.bz2"
-               S="${WORKDIR}"/${PN}-${COMMIT}
+               S="${WORKDIR}/${PN}-${COMMIT}"
        else
                
SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
                        -> ${P}.tar.bz2"
-               S="${WORKDIR}"/${PN}-v${PV}
+               S="${WORKDIR}/${PN}-v${PV}"
        fi
+
        KEYWORDS="amd64"
 fi
 

diff --git a/x11-misc/screenkey/screenkey-9999.ebuild 
b/x11-misc/screenkey/screenkey-9999.ebuild
index dcc404244124..bbfbe5b4cae5 100644
--- a/x11-misc/screenkey/screenkey-9999.ebuild
+++ b/x11-misc/screenkey/screenkey-9999.ebuild
@@ -1,23 +1,25 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 xdg
 
 DESCRIPTION="A screencast tool to display your keys inspired by Screenflick"
 HOMEPAGE="https://www.thregr.org/~wavexx/software/screenkey/";
 
-if [[ ${PV} == *9999* ]]; then
+if [[ "${PV}" == *9999* ]]; then
        inherit git-r3
+
        EGIT_REPO_URI="https://gitlab.com/screenkey/${PN}.git";
 else
        
SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
                -> ${P}.tar.bz2"
-       S="${WORKDIR}"/${PN}-v${PV}
+       S="${WORKDIR}/${PN}-v${PV}"
+
        KEYWORDS="~amd64"
 fi
 

Reply via email to