commit:     956473014d5d8d9cf9c3f469df998fed16b408a9
Author:     Saki Xi <space_raccoon <AT> riseup <DOT> net>
AuthorDate: Sun Jan 15 20:43:19 2023 +0000
Commit:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Tue Jan 17 00:49:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=95647301

app-emulation/spice Update version, sync python

Signed-off-by: Saki Xi <space_raccoon <AT> riseup.net>
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>

 app-emulation/spice/Manifest                       |  1 +
 app-emulation/spice/spice-0.15.0.ebuild            |  4 +--
 ...{spice-0.15.0.ebuild => spice-0.15.1-r1.ebuild} | 32 ++++++++++------------
 3 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/app-emulation/spice/Manifest b/app-emulation/spice/Manifest
index 9fac0bc..cc57e34 100644
--- a/app-emulation/spice/Manifest
+++ b/app-emulation/spice/Manifest
@@ -1,2 +1,3 @@
 DIST spice-0.15.0-pthread-c5fe3df1.patch.bz2 7605 BLAKE2B 
86b8094a22a02080db038ef98972bf09f391d5344fee8df2aa7d2def0b50a581353cb0e3dd97f99bbd58b88a13ceac4b54be8086a9f4274f38d132b27b62e84d
 SHA512 
5075bd260b33c2dad8c3ce641372383871f7d69190a4f4697bd5e12af1bf5429310c592961de001d36c19a9cdd91143b8d6e8be0e08b3850b9700c2aef2ddd78
 DIST spice-0.15.0.tar.bz2 1537970 BLAKE2B 
98e8f55de81a86c6370e4a74c0fd90db78a9a8e8e3af536bccd6a2a75185194ac7b87521163090c4312e392d2ee10036c0283171c7796aea630e1307128a2d55
 SHA512 
0a776d191c395ce1f7ebbbac47956a00a2765327d3127aeca6e232bd56fd4ccd28750ae1599eb6eb2909ac909cda517d5511faa631166db16b8b75bd4e7b86d9
+DIST spice-0.15.1.tar.bz2 1623290 BLAKE2B 
19ddb3cac91be07a4a358ed89a5e4d1a5c406a9831b8c8a518764055354ecf6e09d129ae03ba65d876669da72f2cbf0c307261564097f60951711e9852eebb69
 SHA512 
362ab2f0b483911830693834515e1d331a6b929c5c63fd4522e843c42bbb7d8a52510d60f5f17d175dd2617c9621630f6a81f3ff7dce11dc28e6fb135e60fa86

diff --git a/app-emulation/spice/spice-0.15.0.ebuild 
b/app-emulation/spice/spice-0.15.0.ebuild
index c5d0f60..0913f84 100644
--- a/app-emulation/spice/spice-0.15.0.ebuild
+++ b/app-emulation/spice/spice-0.15.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9,10} )
+PYTHON_COMPAT=( python3_{9,10} )
 inherit autotools python-any-r1 readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="SPICE server"

diff --git a/app-emulation/spice/spice-0.15.0.ebuild 
b/app-emulation/spice/spice-0.15.1-r1.ebuild
similarity index 77%
copy from app-emulation/spice/spice-0.15.0.ebuild
copy to app-emulation/spice/spice-0.15.1-r1.ebuild
index c5d0f60..458abad 100644
--- a/app-emulation/spice/spice-0.15.0.ebuild
+++ b/app-emulation/spice/spice-0.15.1-r1.ebuild
@@ -1,32 +1,30 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8,9,10} )
+PYTHON_COMPAT=( python3_{9,10,11} )
 inherit autotools python-any-r1 readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="SPICE server"
 HOMEPAGE="https://www.spice-space.org/";
 
SRC_URI="https://www.spice-space.org/download/releases/spice-server/${P}.tar.bz2";
-SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-pthread-c5fe3df1.patch.bz2";
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
-IUSE="lz4 sasl smartcard static-libs gstreamer test"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="gstreamer lz4 sasl smartcard static-libs test"
 
 RESTRICT="!test? ( test )"
 
 # the libspice-server only uses the headers of libcacard
-RDEPEND="
-       dev-lang/orc[static-libs(+)?]
+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(+)?] )
@@ -47,13 +45,12 @@ BDEPEND="${PYTHON_DEPS}
        ')"
 
 PATCHES=(
-       "${FILESDIR}"/${P}-libressl.patch
-       "${WORKDIR}"/${P}-pthread-c5fe3df1.patch
+       "${FILESDIR}"/${PN}-0.15.0-libressl.patch
 )
 
 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() {
@@ -74,7 +71,7 @@ src_configure() {
 
        xdg_environment_reset
 
-       local myconf="
+       local myconf=(
                $(use_enable static-libs static)
                $(use_enable lz4)
                $(use_with sasl)
@@ -82,8 +79,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