diff --git a/app-emulation/spice/spice-0.12.6.ebuild b/app-emulation/spice/spice-0.12.6-r1.ebuild similarity index 92% rename from app-emulation/spice/spice-0.12.6.ebuild rename to app-emulation/spice/spice-0.12.6-r1.ebuild index e108c83fd601f..02b6211dd9fa4 100644 --- a/app-emulation/spice/spice-0.12.6.ebuild +++ b/app-emulation/spice/spice-0.12.6-r1.ebuild @@ -43,13 +43,16 @@ RDEPEND=" DEPEND=" >=app-emulation/spice-protocol-0.12.10 virtual/pkgconfig - $(python_gen_any_dep \ - '>=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]') + $(python_gen_any_dep ' + >=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ') smartcard? ( app-emulation/qemu[smartcard] ) ${RDEPEND}" python_check_deps() { has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]" + has_version "dev-python/six[${PYTHON_USEDEP}]" } pkg_setup() { diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 5a9ea9f607813..1a508f119aafd 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1079,7 +1079,8 @@ unipatch() { # https://bugs.gentoo.org/show_bug.cgi?id=507656 # #################################################################### if [[ ${PN} == "git-sources" ]] ; then - if [[ ${KV_MAJOR}.${KV_PATCH} > 3.15 && ${RELEASETYPE} == -rc ]] ; then + if [[ ${KV_MAJOR} -gt 3 || ( ${KV_MAJOR} -eq 3 && ${KV_PATCH} -gt 15 ) && + ${RELEASETYPE} == -rc ]] ; then ebegin "Applying ${i/*\//} (-p1)" if [ $(patch -p1 --no-backup-if-mismatch -f < ${i} >> ${STDERR_T}) "$?" -le 2 ]; then eend 0