commit:     29983acd332ec19887c285388467eb0c45393de2
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 18 21:38:45 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Sep 22 02:29:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29983acd

app-emulation/spice: Move some dependencies into BDEPEND for EAPI 7

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 app-emulation/spice/spice-0.14.2.ebuild | 10 +++++-----
 app-emulation/spice/spice-9999.ebuild   | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/app-emulation/spice/spice-0.14.2.ebuild 
b/app-emulation/spice/spice-0.14.2.ebuild
index 464cb7d9c62..58de3c67852 100644
--- a/app-emulation/spice/spice-0.14.2.ebuild
+++ b/app-emulation/spice/spice-0.14.2.ebuild
@@ -33,22 +33,22 @@ RDEPEND="
                media-libs/gst-plugins-base:1.0
        )"
 DEPEND="${RDEPEND}
-       ${PYTHON_DEPS}
        >=app-emulation/spice-protocol-0.14.0
+       smartcard? ( app-emulation/qemu[smartcard] )"
+BDEPEND="${PYTHON_DEPS}
        virtual/pkgconfig
        $(python_gen_any_dep '
                >=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]
                dev-python/six[${PYTHON_USEDEP}]
-       ')
-       smartcard? ( app-emulation/qemu[smartcard] )"
+       ')"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-0.14.0-openssl1.1_fix.patch
 )
 
 python_check_deps() {
-       has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
-       has_version "dev-python/six[${PYTHON_USEDEP}]"
+       has_version -b ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
+       has_version -b "dev-python/six[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {

diff --git a/app-emulation/spice/spice-9999.ebuild 
b/app-emulation/spice/spice-9999.ebuild
index 48cf0c3fa26..62dc9f95d49 100644
--- a/app-emulation/spice/spice-9999.ebuild
+++ b/app-emulation/spice/spice-9999.ebuild
@@ -34,18 +34,18 @@ RDEPEND="
                media-libs/gst-plugins-base:1.0
        )"
 DEPEND="${RDEPEND}
-       ${PYTHON_DEPS}
        ~app-emulation/spice-protocol-9999
+       smartcard? ( app-emulation/qemu[smartcard] )"
+BDEPEND="${PYTHON_DEPS}
        virtual/pkgconfig
        $(python_gen_any_dep '
                >=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]
                dev-python/six[${PYTHON_USEDEP}]
-       ')
-       smartcard? ( app-emulation/qemu[smartcard] )"
+       ')"
 
 python_check_deps() {
-       has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
-       has_version "dev-python/six[${PYTHON_USEDEP}]"
+       has_version -b ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
+       has_version -b "dev-python/six[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {

Reply via email to