1 |
commit: f9e2e10f27f71fddcb294d733e2d4b33077370a0 |
2 |
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net> |
3 |
AuthorDate: Fri Oct 28 09:48:53 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 7 10:18:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e2e10f |
7 |
|
8 |
dev-python/pyside6-tools: add 6.4.0 |
9 |
|
10 |
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/28000 |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
13 |
|
14 |
dev-python/pyside6-tools/Manifest | 1 + |
15 |
.../pyside6-tools/pyside6-tools-6.4.0.ebuild | 64 ++++++++++++++++++++++ |
16 |
2 files changed, 65 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/pyside6-tools/Manifest b/dev-python/pyside6-tools/Manifest |
19 |
index d775a81b0c8a..0e0ec12a5299 100644 |
20 |
--- a/dev-python/pyside6-tools/Manifest |
21 |
+++ b/dev-python/pyside6-tools/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST pyside-setup-opensource-src-6.3.2.tar.xz 7853068 BLAKE2B 5b39e2f98bca0155d3f6617be206b759b628d0126fd30d76d67352c5c78a385938ce61a3c42b75343b9fde708e9f66617122c687ea9ecffca9cd0ab3af91a2ff SHA512 8d25d20b64ac7874e9b7866f101b6bfd7b6fe1fffa602fec6113e1fdaa11608f14a58c2ae1d87b45ee3eac6a07bd55e66dbbd222727cfe6860d8f444bc2b1ff0 |
24 |
+DIST pyside-setup-opensource-src-6.4.0.tar.xz 8551772 BLAKE2B 180d9f2182b8df04394677bbcb0765764d9de1f34064fc688a3ccae8ec37174b4a01fa70c80d98c7ca7fe6b45239225bd801c552d332e2c6fc4a3726535e72e9 SHA512 0517408f110830b888f04777c60b29479831604877da13c5a41a710888ebe53064f06d9b7b61d5c6e6a483ac5ee1639a63bb7f9844301df53e3e9ca8eafcf9e9 |
25 |
|
26 |
diff --git a/dev-python/pyside6-tools/pyside6-tools-6.4.0.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.4.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..f44ca2a5e3a7 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pyside6-tools/pyside6-tools-6.4.0.ebuild |
31 |
@@ -0,0 +1,64 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+# TODO: Add PyPy once officially supported. See also: |
38 |
+# https://bugreports.qt.io/browse/PYSIDE-535 |
39 |
+PYTHON_COMPAT=( python3_{8..11} ) |
40 |
+CMAKE_IN_SOURCE_BUILD=1 |
41 |
+ |
42 |
+inherit cmake python-r1 |
43 |
+ |
44 |
+MY_P=pyside-setup-opensource-src-${PV} |
45 |
+ |
46 |
+DESCRIPTION="PySide development tools (pyside6-lupdate with support for Python)" |
47 |
+HOMEPAGE="https://wiki.qt.io/PySide6" |
48 |
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz" |
49 |
+S="${WORKDIR}/${MY_P}/sources/pyside-tools" |
50 |
+ |
51 |
+LICENSE="GPL-2" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64" |
54 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
55 |
+ |
56 |
+RDEPEND="${PYTHON_DEPS} |
57 |
+ >=dev-python/pyside6-${PV}[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+DEPEND="${RDEPEND}" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ cmake_src_prepare |
63 |
+ |
64 |
+ python_copy_sources |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ pyside-tools_configure() { |
69 |
+ local mycmakeargs=( |
70 |
+ # the tools conflict with tools from Qt |
71 |
+ -DNO_QT_TOOLS=yes |
72 |
+ ) |
73 |
+ CMAKE_USE_DIR="${BUILD_DIR}" cmake_src_configure |
74 |
+ } |
75 |
+ |
76 |
+ python_foreach_impl pyside-tools_configure |
77 |
+} |
78 |
+ |
79 |
+src_compile() { |
80 |
+ pyside-tools_compile() { |
81 |
+ CMAKE_USE_DIR="${BUILD_DIR}" cmake_src_compile |
82 |
+ } |
83 |
+ |
84 |
+ python_foreach_impl pyside-tools_compile |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ pyside-tools_install() { |
89 |
+ python_doexe "${BUILD_DIR}/"*.py |
90 |
+ } |
91 |
+ |
92 |
+ python_foreach_impl pyside-tools_install |
93 |
+ |
94 |
+ einstalldocs |
95 |
+} |