commit:     ceb9288990c464598cb9ac24ccb7d6bc3378b41a
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 03:08:21 2022 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 03:09:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceb92889

app-emulation/spice: ebuild tidying, python3_11

Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 .../{spice-0.15.1.ebuild => spice-0.15.1-r1.ebuild}     | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/app-emulation/spice/spice-0.15.1.ebuild 
b/app-emulation/spice/spice-0.15.1-r1.ebuild
similarity index 89%
rename from app-emulation/spice/spice-0.15.1.ebuild
rename to app-emulation/spice/spice-0.15.1-r1.ebuild
index 0c14ba831831..9e1e49242ce4 100644
--- a/app-emulation/spice/spice-0.15.1.ebuild
+++ b/app-emulation/spice/spice-0.15.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{8,9,10,11} )
 inherit autotools python-any-r1 readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="SPICE server"
@@ -20,11 +20,11 @@ RESTRICT="!test? ( test )"
 # the libspice-server only uses the headers of libcacard
 RDEPEND="dev-lang/orc[static-libs(+)?]
        >=dev-libs/glib-2.38:2[static-libs(+)?]
+       dev-libs/openssl:0=[static-libs(+)?]
        media-libs/opus[static-libs(+)?]
+       media-libs/libjpeg-turbo:0=[static-libs(+)?]
        sys-libs/zlib[static-libs(+)?]
-       virtual/jpeg:0=[static-libs(+)?]
        >=x11-libs/pixman-0.17.7[static-libs(+)?]
-       dev-libs/openssl:0=[static-libs(+)?]
        lz4? ( app-arch/lz4:0=[static-libs(+)?] )
        smartcard? ( >=app-emulation/libcacard-2.5.1 )
        sasl? ( dev-libs/cyrus-sasl[static-libs(+)?] )
@@ -45,8 +45,8 @@ BDEPEND="${PYTHON_DEPS}
        ')"
 
 python_check_deps() {
-       has_version -b ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
-       has_version -b "dev-python/six[${PYTHON_USEDEP}]"
+       python_has_version -b 
">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
+       python_has_version -b "dev-python/six[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {
@@ -67,7 +67,7 @@ src_configure() {
 
        xdg_environment_reset
 
-       local myconf="
+       local myconf=(
                $(use_enable static-libs static)
                $(use_enable lz4)
                $(use_with sasl)
@@ -75,8 +75,9 @@ src_configure() {
                $(use_enable test tests)
                --enable-gstreamer=$(usex gstreamer "1.0" "no")
                --disable-celt051
-               "
-       econf ${myconf}
+       )
+
+       econf "${myconf[@]}"
 }
 
 src_compile() {

Reply via email to