commit:     88f14a18afb9867e38902c690cb0e725914dc526
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon May  1 08:50:50 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon May  1 09:11:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88f14a18

x11-misc/fbpanel: EAPI7->8, enable py3.11

Not really tested but python is only used for building and
that still looks fine.

Closes: https://bugs.gentoo.org/897346
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../{fbpanel-7.0-r2.ebuild => fbpanel-7.0-r3.ebuild}    | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/x11-misc/fbpanel/fbpanel-7.0-r2.ebuild 
b/x11-misc/fbpanel/fbpanel-7.0-r3.ebuild
similarity index 86%
rename from x11-misc/fbpanel/fbpanel-7.0-r2.ebuild
rename to x11-misc/fbpanel/fbpanel-7.0-r3.ebuild
index be22542d46ae..ded711fabf0b 100644
--- a/x11-misc/fbpanel/fbpanel-7.0-r2.ebuild
+++ b/x11-misc/fbpanel/fbpanel-7.0-r3.ebuild
@@ -1,13 +1,13 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
-inherit python-any-r1 toolchain-funcs
+inherit edo python-any-r1 toolchain-funcs
 
-DESCRIPTION="light-weight X11 desktop panel"
+DESCRIPTION="Light-weight X11 desktop panel"
 HOMEPAGE="https://aanatoly.github.io/fbpanel/";
 SRC_URI="https://aanatoly.github.io/fbpanel/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
@@ -49,17 +49,18 @@ src_prepare() {
 
 src_configure() {
        tc-export CC
+
        # not autotools based
-       local myconfigure=(
-               ./configure V=1
+       local confargs=(
+               V=1
                --mandir="${EPREFIX}"/usr/share/man/man1
                --datadir="${EPREFIX}"/usr/share/${PN}
                --prefix="${EPREFIX}"/usr
                --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN}
                $(usex alsa --sound --no-sound)
        )
-       echo ${myconfigure[@]} || die
-       ${myconfigure[@]} || die
+
+       edo ./configure "${confargs[@]}"
 }
 
 pkg_postinst() {

Reply via email to