1 |
commit: 78bbbabb4d8ff9e2909636c1cfd50aedf3795c3c |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 28 08:01:16 2020 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 28 08:01:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78bbbabb |
7 |
|
8 |
dev-python/pyside2-tools: fixed installation by each python version |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
.../{pyside2-tools-5.15.1.ebuild => pyside2-tools-5.15.1-r1.ebuild} | 6 +++++- |
14 |
1 file changed, 5 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-python/pyside2-tools/pyside2-tools-5.15.1.ebuild b/dev-python/pyside2-tools/pyside2-tools-5.15.1-r1.ebuild |
17 |
similarity index 91% |
18 |
rename from dev-python/pyside2-tools/pyside2-tools-5.15.1.ebuild |
19 |
rename to dev-python/pyside2-tools/pyside2-tools-5.15.1-r1.ebuild |
20 |
index facd5629649..2097f07fd05 100644 |
21 |
--- a/dev-python/pyside2-tools/pyside2-tools-5.15.1.ebuild |
22 |
+++ b/dev-python/pyside2-tools/pyside2-tools-5.15.1-r1.ebuild |
23 |
@@ -30,6 +30,7 @@ DEPEND="${CDEPEND}" |
24 |
S=${WORKDIR}/${MY_P}/sources/${PN} |
25 |
DOCS=( README.md ) |
26 |
|
27 |
+# the tools conflict with tools from QT |
28 |
PATCHES=( |
29 |
"${FILESDIR}/${P}-dont-install-tools.patch" |
30 |
) |
31 |
@@ -67,8 +68,11 @@ src_compile() { |
32 |
|
33 |
src_install() { |
34 |
pyside-tools_install() { |
35 |
- CMAKE_USE_DIR="${BUILD_DIR}" cmake_src_install |
36 |
+ python_doexe "${BUILD_DIR}/pylupdate/pyside2-lupdate" |
37 |
+ doman pylupdate/pyside2-lupdate.1 |
38 |
} |
39 |
|
40 |
python_foreach_impl pyside-tools_install |
41 |
+ |
42 |
+ einstalldocs |
43 |
} |