commit:     f2581accf1511bcaf956b483217d9d67d022c75c
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 10:21:07 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 10:23:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2581acc

dev-python/shiboken2: depend on clang-runtime

pyside2 fails to compile if we try to compile it with a
different version of clang then was present when shiboken2
was compiled. Even a change of the minor version triggers
this! We depend on clang-runtime as well as on clang,
because clang-PV pulls in clang-runtime-PV and the
clang-runtime ebuild defines different slots even for the
minor releases (which clang does not, it only has slots
for major releases). This should trigger a rebuild of
shiboken2 even for minor version changes of clang(-runtime)
and thus avoid any issues when compiling pyside2.

Closes: https://bugs.gentoo.org/796614
Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --force
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../shiboken2/{shiboken2-5.15.1.ebuild => shiboken2-5.15.1-r1.ebuild}  | 3 ++-
 .../shiboken2/{shiboken2-5.15.2.ebuild => shiboken2-5.15.2-r1.ebuild}  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/shiboken2/shiboken2-5.15.1.ebuild 
b/dev-python/shiboken2/shiboken2-5.15.1-r1.ebuild
similarity index 99%
rename from dev-python/shiboken2/shiboken2-5.15.1.ebuild
rename to dev-python/shiboken2/shiboken2-5.15.1-r1.ebuild
index 7acae0aa868..de2845464e8 100644
--- a/dev-python/shiboken2/shiboken2-5.15.1.ebuild
+++ b/dev-python/shiboken2/shiboken2-5.15.1-r1.ebuild
@@ -41,7 +41,8 @@ QT_PV="$(ver_cut 1-2):5"
 # Since Clang is required at both build- and runtime, BDEPEND is omitted here.
 RDEPEND="${PYTHON_DEPS}
        >=dev-qt/qtcore-${QT_PV}
-       >=sys-devel/clang-6:=
+       sys-devel/clang:=
+       sys-devel/clang-runtime:=
        docstrings? (
                >=dev-libs/libxml2-2.6.32
                >=dev-libs/libxslt-1.1.19

diff --git a/dev-python/shiboken2/shiboken2-5.15.2.ebuild 
b/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild
similarity index 99%
rename from dev-python/shiboken2/shiboken2-5.15.2.ebuild
rename to dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild
index 0f97bbc648a..cbfac4a28fb 100644
--- a/dev-python/shiboken2/shiboken2-5.15.2.ebuild
+++ b/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild
@@ -44,7 +44,8 @@ QT_PV="$(ver_cut 1-2):5"
 # Since Clang is required at both build- and runtime, BDEPEND is omitted here.
 RDEPEND="${PYTHON_DEPS}
        >=dev-qt/qtcore-${QT_PV}
-       >=sys-devel/clang-6:=
+       sys-devel/clang:=
+       sys-devel/clang-runtime:=
        docstrings? (
                >=dev-libs/libxml2-2.6.32
                >=dev-libs/libxslt-1.1.19

Reply via email to