1 |
commit: f2581accf1511bcaf956b483217d9d67d022c75c |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 18 10:21:07 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 18 10:23:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2581acc |
7 |
|
8 |
dev-python/shiboken2: depend on clang-runtime |
9 |
|
10 |
pyside2 fails to compile if we try to compile it with a |
11 |
different version of clang then was present when shiboken2 |
12 |
was compiled. Even a change of the minor version triggers |
13 |
this! We depend on clang-runtime as well as on clang, |
14 |
because clang-PV pulls in clang-runtime-PV and the |
15 |
clang-runtime ebuild defines different slots even for the |
16 |
minor releases (which clang does not, it only has slots |
17 |
for major releases). This should trigger a rebuild of |
18 |
shiboken2 even for minor version changes of clang(-runtime) |
19 |
and thus avoid any issues when compiling pyside2. |
20 |
|
21 |
Closes: https://bugs.gentoo.org/796614 |
22 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
23 |
RepoMan-Options: --force |
24 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
25 |
|
26 |
.../shiboken2/{shiboken2-5.15.1.ebuild => shiboken2-5.15.1-r1.ebuild} | 3 ++- |
27 |
.../shiboken2/{shiboken2-5.15.2.ebuild => shiboken2-5.15.2-r1.ebuild} | 3 ++- |
28 |
2 files changed, 4 insertions(+), 2 deletions(-) |
29 |
|
30 |
diff --git a/dev-python/shiboken2/shiboken2-5.15.1.ebuild b/dev-python/shiboken2/shiboken2-5.15.1-r1.ebuild |
31 |
similarity index 99% |
32 |
rename from dev-python/shiboken2/shiboken2-5.15.1.ebuild |
33 |
rename to dev-python/shiboken2/shiboken2-5.15.1-r1.ebuild |
34 |
index 7acae0aa868..de2845464e8 100644 |
35 |
--- a/dev-python/shiboken2/shiboken2-5.15.1.ebuild |
36 |
+++ b/dev-python/shiboken2/shiboken2-5.15.1-r1.ebuild |
37 |
@@ -41,7 +41,8 @@ QT_PV="$(ver_cut 1-2):5" |
38 |
# Since Clang is required at both build- and runtime, BDEPEND is omitted here. |
39 |
RDEPEND="${PYTHON_DEPS} |
40 |
>=dev-qt/qtcore-${QT_PV} |
41 |
- >=sys-devel/clang-6:= |
42 |
+ sys-devel/clang:= |
43 |
+ sys-devel/clang-runtime:= |
44 |
docstrings? ( |
45 |
>=dev-libs/libxml2-2.6.32 |
46 |
>=dev-libs/libxslt-1.1.19 |
47 |
|
48 |
diff --git a/dev-python/shiboken2/shiboken2-5.15.2.ebuild b/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild |
49 |
similarity index 99% |
50 |
rename from dev-python/shiboken2/shiboken2-5.15.2.ebuild |
51 |
rename to dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild |
52 |
index 0f97bbc648a..cbfac4a28fb 100644 |
53 |
--- a/dev-python/shiboken2/shiboken2-5.15.2.ebuild |
54 |
+++ b/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild |
55 |
@@ -44,7 +44,8 @@ QT_PV="$(ver_cut 1-2):5" |
56 |
# Since Clang is required at both build- and runtime, BDEPEND is omitted here. |
57 |
RDEPEND="${PYTHON_DEPS} |
58 |
>=dev-qt/qtcore-${QT_PV} |
59 |
- >=sys-devel/clang-6:= |
60 |
+ sys-devel/clang:= |
61 |
+ sys-devel/clang-runtime:= |
62 |
docstrings? ( |
63 |
>=dev-libs/libxml2-2.6.32 |
64 |
>=dev-libs/libxslt-1.1.19 |