[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-07-28 Thread Arthur Zamarin
commit: 07285851f5f20f55f3570b379a5d04d213bdca3a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul 28 17:39:11 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul 28 17:39:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07285851

dev-python/shiboken6: Stabilize 6.7.2 arm64, #936832

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/shiboken6/shiboken6-6.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/shiboken6/shiboken6-6.7.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.7.2.ebuild
index 20795abc25d1..aa0074264df0 100644
--- a/dev-python/shiboken6/shiboken6-6.7.2.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.7.2.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
 # arbitrarily relicensed. (TODO)
 LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
 SLOT="6/${PV}"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv ~x86"
 IUSE="+docstrings numpy test vulkan"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-07-22 Thread Eli Schwartz
commit: e09dde937c94a65cd6d040c755d0c3944088e2ea
Author: Eli Schwartz  gentoo  org>
AuthorDate: Mon Jul 22 23:49:48 2024 +
Commit: Eli Schwartz  gentoo  org>
CommitDate: Tue Jul 23 03:32:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e09dde93

dev-python/shiboken6: drop outdated LTO workaround

>From the commit message where I added this:

> (Note that there are other LTO issues with shiboken which are fixed in
> git dev, so we can't remove filter-lto yet.)

It has been released now, and the build passes with LTO.

Signed-off-by: Eli Schwartz  gentoo.org>

 dev-python/shiboken6/shiboken6-6.7.2.ebuild | 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/dev-python/shiboken6/shiboken6-6.7.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.7.2.ebuild
index 6447e869757e..20795abc25d1 100644
--- a/dev-python/shiboken6/shiboken6-6.7.2.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.7.2.ebuild
@@ -16,7 +16,7 @@ PYTHON_COMPAT=( python3_{10..13} )
 
 LLVM_COMPAT=( {15..18} )
 
-inherit cmake flag-o-matic llvm-r1 python-r1 toolchain-funcs
+inherit cmake llvm-r1 python-r1 toolchain-funcs
 
 MY_PN="pyside-setup-everywhere-src"
 
@@ -110,11 +110,6 @@ src_prepare() {
 }
 
 src_configure() {
-   # -Werror=odr
-   # https://bugs.gentoo.org/925479
-   # https://bugreports.qt.io/browse/PYSIDE-2619
-   filter-lto
-
# Minimal tests for now, 2 failing with the extended version
# FIXME Subscripted generics cannot be used with class and instance 
checks
local mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-06-25 Thread Jakov Smolić
commit: 71fad362615062201cf1ed699766f7e1310d76e7
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jun 25 16:48:43 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jun 25 16:48:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71fad362

dev-python/shiboken6: keyword 6.7.2 for ~riscv

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/shiboken6/shiboken6-6.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/shiboken6/shiboken6-6.7.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.7.2.ebuild
index 8cfc9f8a3cb7..2fe1eefc2fd0 100644
--- a/dev-python/shiboken6/shiboken6-6.7.2.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.7.2.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
 # arbitrarily relicensed. (TODO)
 LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
 SLOT="6/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
 IUSE="+docstrings numpy test vulkan"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-06-19 Thread Andrew Ammerlaan
commit: da14d9142ec720970a1f2dfa8b024a0cf86e0652
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Jun 19 16:37:44 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jun 19 16:38:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da14d914

dev-python/shiboken6: add 6.7.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.7.2.ebuild | 180 
 2 files changed, 181 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index be66ff5b4dac..a847fdbd896f 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-everywhere-src-6.7.1.tar.xz 14400976 BLAKE2B 
1f6e2705aedc4151147e259da2a8fbab19a1815f19f1a36ea46dbf0bf2282a453e85a33ea8c6862072bb22699be39ab8375b48cd6d5b879de8bed5fad8cf60cb
 SHA512 
6ca73f0b16ef43bc018aeb9e0f51d8ae91b13b79ebdfd71f5524bc0e8ef78322ba0aca81203cc5532e5096a55441fb4dabf3b628de3234b876b7a70327b714d4
+DIST pyside-setup-everywhere-src-6.7.2.tar.xz 14402156 BLAKE2B 
321717ba46c7ed29404ee326f852cd4032f93e23b6b32a16e4e05305ff04a00a2029ee7c1d50ad7191a836ffd9a3ae858483bac35e8254bdcaeb474e2c92df60
 SHA512 
4376aba85867b5a04dab9d8889f5e32cb503cb8010757c1e810e60d29755f15a002b582594d0737a4119c030b48ede26964e8b1392700a6c061d7d631cdfe73e

diff --git a/dev-python/shiboken6/shiboken6-6.7.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.7.2.ebuild
new file mode 100644
index ..8cfc9f8a3cb7
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.7.2.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{10..13} )
+
+LLVM_COMPAT=( {15..18} )
+
+inherit cmake flag-o-matic llvm-r1 python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="6/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-3)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   $(llvm_gen_dep '
+   sys-devel/clang:${LLVM_SLOT}
+   sys-devel/llvm:${LLVM_SLOT}
+   ')
+   docstrings? (
+   >=dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+   !dev-python/shiboken6:0
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
+   ApiExtractor/clangparser/compilersupport.cpp || die
+   fi
+
+   local clangver="$(CPP=clang clang-major-version)"
+
+   # Clang 15 and older used the full version as a directory name.
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-06-01 Thread Sam James
commit: 41f42a4d3ca6b0d59a57221f870e1d41928967a8
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun  2 01:45:58 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  2 01:45:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f42a4d

dev-python/shiboken6: Keyword 6.7.1 arm, #930059

Signed-off-by: Sam James  gentoo.org>

 dev-python/shiboken6/shiboken6-6.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/shiboken6/shiboken6-6.7.1.ebuild 
b/dev-python/shiboken6/shiboken6-6.7.1.ebuild
index 2368197dd550..4acb4c0bf890 100644
--- a/dev-python/shiboken6/shiboken6-6.7.1.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.7.1.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
 # arbitrarily relicensed. (TODO)
 LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
 SLOT="6/${PV}"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="~amd64 ~arm ~arm64"
 IUSE="+docstrings numpy test vulkan"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-06-01 Thread Sam James
commit: 37e350dc204d097c1ff72954d57e1aa906fa7f14
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun  2 00:13:38 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun  2 00:13:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37e350dc

dev-python/shiboken6: Keyword 6.7.1 arm64, #930059

Signed-off-by: Sam James  gentoo.org>

 dev-python/shiboken6/shiboken6-6.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/shiboken6/shiboken6-6.7.1.ebuild 
b/dev-python/shiboken6/shiboken6-6.7.1.ebuild
index 1a7764eeebec..2368197dd550 100644
--- a/dev-python/shiboken6/shiboken6-6.7.1.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.7.1.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
 # arbitrarily relicensed. (TODO)
 LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
 SLOT="6/${PV}"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
 IUSE="+docstrings numpy test vulkan"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/files/, dev-python/shiboken6/

2024-05-25 Thread Andrew Ammerlaan
commit: 4ec92a951439463492b82c805c70aa14098ab25b
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat May 25 17:55:28 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat May 25 17:56:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ec92a95

dev-python/shiboken6: add 6.7.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest  |   1 +
 .../shiboken6-6.7.1-add-missing-include.patch  |  13 ++
 dev-python/shiboken6/shiboken6-6.7.1.ebuild| 181 +
 3 files changed, 195 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index be987c7433ba..633d6cd6a8ec 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-everywhere-src-6.7.0.tar.xz 14382456 BLAKE2B 
607e496cdeb7e55166b4f0dc15662a8792c7d8925856e8edbb927dfdc33342d158f430e3433d3d4a78ea33740e333fb2422ea1f4332408c3c6214f92d31bdd0d
 SHA512 
7801d564d8d359edec431dc0e6f170538b9fc6f834cb7ab8eff41c1989bffb619c446d4d62d65db2a5b7592c0bff5d450d42de2797726658fe1a8f53df8a4c14
+DIST pyside-setup-everywhere-src-6.7.1.tar.xz 14400976 BLAKE2B 
1f6e2705aedc4151147e259da2a8fbab19a1815f19f1a36ea46dbf0bf2282a453e85a33ea8c6862072bb22699be39ab8375b48cd6d5b879de8bed5fad8cf60cb
 SHA512 
6ca73f0b16ef43bc018aeb9e0f51d8ae91b13b79ebdfd71f5524bc0e8ef78322ba0aca81203cc5532e5096a55441fb4dabf3b628de3234b876b7a70327b714d4

diff --git 
a/dev-python/shiboken6/files/shiboken6-6.7.1-add-missing-include.patch 
b/dev-python/shiboken6/files/shiboken6-6.7.1-add-missing-include.patch
new file mode 100644
index ..8516809e6253
--- /dev/null
+++ b/dev-python/shiboken6/files/shiboken6-6.7.1-add-missing-include.patch
@@ -0,0 +1,13 @@
+https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2765?filter=allopenissues
+diff --git a/libshiboken/sbkmodule.cpp b/libshiboken/sbkmodule.cpp
+index 47977d747..c45bf391f 100644
+--- a/libshiboken/sbkmodule.cpp
 b/libshiboken/sbkmodule.cpp
+@@ -7,6 +7,7 @@
+ #include "bindingmanager.h"
+ #include "sbkstring.h"
+ #include "sbkcppstring.h"
++#include "sbkconverter_p.h"
+ 
+ #include 
+ #include 

diff --git a/dev-python/shiboken6/shiboken6-6.7.1.ebuild 
b/dev-python/shiboken6/shiboken6-6.7.1.ebuild
new file mode 100644
index ..1a7764eeebec
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.7.1.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{10..13} )
+
+LLVM_COMPAT=( {15..18} )
+
+inherit cmake flag-o-matic llvm-r1 python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="6/${PV}"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-3)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   $(llvm_gen_dep '
+   sys-devel/clang:${LLVM_SLOT}
+   sys-devel/llvm:${LLVM_SLOT}
+   ')
+   docstrings? (
+   >=dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+   !dev-python/shiboken6:0
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+   "${FILESDIR}/${PN}-6.7.1-add-missing-include.patch"
+)
+

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-05-21 Thread Andrew Ammerlaan
commit: 145a0d466aace275e459475d1dcc657fea7c66cb
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue May 21 15:37:21 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue May 21 15:59:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=145a0d46

dev-python/shiboken6: enable py3.13

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/shiboken6-6.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/shiboken6/shiboken6-6.7.0.ebuild 
b/dev-python/shiboken6/shiboken6-6.7.0.ebuild
index faac009c177a..ea7ae3564713 100644
--- a/dev-python/shiboken6/shiboken6-6.7.0.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.7.0.ebuild
@@ -12,7 +12,7 @@ EAPI=8
 # "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
 # TODO: Add PyPy once officially supported. See also:
 # https://bugreports.qt.io/browse/PYSIDE-535
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 LLVM_COMPAT=( {15..18} )
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-04-17 Thread Sam James
commit: 56225db78bf84e72d91119f1f07017450fc06edd
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 17 21:59:29 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 17 21:59:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56225db7

dev-python/shiboken6: Stabilize 6.7.0 amd64, #930062

Signed-off-by: Sam James  gentoo.org>

 dev-python/shiboken6/shiboken6-6.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/shiboken6/shiboken6-6.7.0.ebuild 
b/dev-python/shiboken6/shiboken6-6.7.0.ebuild
index 1ef71d57974f..faac009c177a 100644
--- a/dev-python/shiboken6/shiboken6-6.7.0.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.7.0.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
 # arbitrarily relicensed. (TODO)
 LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="+docstrings numpy test vulkan"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-04-12 Thread Andrew Ammerlaan
commit: f5dadcdc9320798ce24b9b8ebf7edbb830df962f
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Apr 12 15:23:28 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Apr 12 15:32:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5dadcdc

dev-python/shiboken6: add 6.7.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.7.0.ebuild | 179 
 2 files changed, 180 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 298f1ca3db15..c66692a09951 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-everywhere-src-6.6.2.tar.xz 13975896 BLAKE2B 
b4572e58613e5446692e8c4cef28156fd0126ecda0c6334652ce49c6c7ce4614dbf2400c693addaa38e9b6cca9e331b9fe84c83ddb26e7014b8603afe2c54ad6
 SHA512 
1d23d27a4cbe74434ec5d391172416d324b4c92181401444821b456b4e27dabbdb3dcaad685a22b62c09f750555a4e626bbb6406a2fbde1cf4ec5c8bbb64cda5
+DIST pyside-setup-everywhere-src-6.7.0.tar.xz 14382456 BLAKE2B 
607e496cdeb7e55166b4f0dc15662a8792c7d8925856e8edbb927dfdc33342d158f430e3433d3d4a78ea33740e333fb2422ea1f4332408c3c6214f92d31bdd0d
 SHA512 
7801d564d8d359edec431dc0e6f170538b9fc6f834cb7ab8eff41c1989bffb619c446d4d62d65db2a5b7592c0bff5d450d42de2797726658fe1a8f53df8a4c14

diff --git a/dev-python/shiboken6/shiboken6-6.7.0.ebuild 
b/dev-python/shiboken6/shiboken6-6.7.0.ebuild
new file mode 100644
index ..1ef71d57974f
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.7.0.ebuild
@@ -0,0 +1,179 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{10..12} )
+
+LLVM_COMPAT=( {15..18} )
+
+inherit cmake flag-o-matic llvm-r1 python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-3)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   $(llvm_gen_dep '
+   sys-devel/clang:${LLVM_SLOT}
+   sys-devel/llvm:${LLVM_SLOT}
+   ')
+   docstrings? (
+   >=dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
+   ApiExtractor/clangparser/compilersupport.cpp || die
+   fi
+
+   local clangver="$(CPP=clang clang-major-version)"
+
+   # Clang 15 and older used the full version as a directory name.
+   if [[ ${clangver} -lt 16 ]]; then
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-03-02 Thread Sam James
commit: b6bfb7ce52d2f05ed2deda2aa94bf46e51d56844
Author: Eli Schwartz  gmail  com>
AuthorDate: Fri Mar  1 07:43:58 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  3 04:00:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6bfb7ce

dev-python/shiboken6: disable terrible default of forcing limited API

The python Limited API allows you to compile a native extension once for
e.g. python 3.8, create a wheel package, and then install that on any
version of python 3.8+. This is inherently non-useful to distros, which
compile the extensions for each build regardless.

The Limited API is slower than the internal API, and benefits nothing at
all for our use case. But shiboken defaults to creating one. Manually
pass the option to disable it.

The Limited API builds of shiboken also have LTO issues that the regular
builds do not. Odd. See comments at https://bugreports.qt.io/browse/PYSIDE-2619

(Note that there are other LTO issues with shiboken which are fixed in
git dev, so we can't remove filter-lto yet.)

Bug: https://bugs.gentoo.org/925479
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../shiboken6/{shiboken6-6.6.2.ebuild => shiboken6-6.6.2-r1.ebuild}  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/shiboken6/shiboken6-6.6.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.6.2-r1.ebuild
similarity index 99%
rename from dev-python/shiboken6/shiboken6-6.6.2.ebuild
rename to dev-python/shiboken6/shiboken6-6.6.2-r1.ebuild
index 4187835e2818..181ab1d02922 100644
--- a/dev-python/shiboken6/shiboken6-6.6.2.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.6.2-r1.ebuild
@@ -127,6 +127,7 @@ src_configure() {
-DPYTHON_CONFIG_SUFFIX="-${EPYTHON}"
-DPYTHON_EXECUTABLE="${PYTHON}"
-DUSE_PYTHON_VERSION="${EPYTHON#python}"
+   -DFORCE_LIMITED_API=OFF
)
# CMakeLists.txt expects LLVM_INSTALL_DIR as an environment 
variable.
local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)"



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-02-28 Thread Sam James
commit: d76a2cff990028e249d92d195f002174df3f58d3
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Feb 28 21:48:25 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 28 22:57:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d76a2cff

dev-python/shiboken6: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/925479
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-python/shiboken6/shiboken6-6.6.2.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/shiboken6/shiboken6-6.6.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.6.2.ebuild
index 428293079631..4187835e2818 100644
--- a/dev-python/shiboken6/shiboken6-6.6.2.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.6.2.ebuild
@@ -16,7 +16,7 @@ PYTHON_COMPAT=( python3_{10..12} )
 
 LLVM_COMPAT=( {15..17} )
 
-inherit cmake llvm-r1 python-r1 toolchain-funcs
+inherit cmake flag-o-matic llvm-r1 python-r1 toolchain-funcs
 
 MY_PN="pyside-setup-everywhere-src"
 
@@ -109,6 +109,11 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=odr
+   # https://bugs.gentoo.org/925479
+   # https://bugreports.qt.io/browse/PYSIDE-2619
+   filter-lto
+
# Minimal tests for now, 2 failing with the extended version
# FIXME Subscripted generics cannot be used with class and instance 
checks
local mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-02-16 Thread Andrew Ammerlaan
commit: eece08bfc7839dec39810762a59d2aa1fff7dfa7
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Feb 16 08:45:33 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Feb 16 08:58:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eece08bf

dev-python/shiboken6: add 6.6.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.6.2.ebuild | 174 
 2 files changed, 175 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 7e173a3c10b3..6e0eca01cd41 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-everywhere-src-6.6.1.tar.xz 13887704 BLAKE2B 
14a75cb6d20dced9b1edf79b8bb40ce44ecb7642f45743e59bc2d55b3e6fa5a742a0a0e5712b8f8cd4d908cc0f5103ac823390db968f42d0782818242c6f77e5
 SHA512 
3516f3e4595f1ba4ebbc680c5a94f9f939e04c0a3257720ebdd7ed12307bb007d1c73824029f51ec71c41a335268f34834250a5e87b3c4356d9e0a6f1d6b1f71
+DIST pyside-setup-everywhere-src-6.6.2.tar.xz 13975896 BLAKE2B 
b4572e58613e5446692e8c4cef28156fd0126ecda0c6334652ce49c6c7ce4614dbf2400c693addaa38e9b6cca9e331b9fe84c83ddb26e7014b8603afe2c54ad6
 SHA512 
1d23d27a4cbe74434ec5d391172416d324b4c92181401444821b456b4e27dabbdb3dcaad685a22b62c09f750555a4e626bbb6406a2fbde1cf4ec5c8bbb64cda5

diff --git a/dev-python/shiboken6/shiboken6-6.6.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.6.2.ebuild
new file mode 100644
index ..428293079631
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.6.2.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{10..12} )
+
+LLVM_COMPAT=( {15..17} )
+
+inherit cmake llvm-r1 python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-3)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   $(llvm_gen_dep '
+   sys-devel/clang:${LLVM_SLOT}
+   sys-devel/llvm:${LLVM_SLOT}
+   ')
+   docstrings? (
+   >=dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
+   ApiExtractor/clangparser/compilersupport.cpp || die
+   fi
+
+   local clangver="$(CPP=clang clang-major-version)"
+
+   # Clang 15 and older used the full version as a directory name.
+   if [[ ${clangver} -lt 16 ]]; then
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2024-02-11 Thread Andrew Ammerlaan
commit: 9afa8df73220596495f2caaa68c9b681e5f0a467
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Feb 11 14:23:18 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Feb 11 14:38:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9afa8df7

dev-python/shiboken6: migrate to llvm-r1.eclass

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/shiboken6-6.6.1.ebuild | 20 +---
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/dev-python/shiboken6/shiboken6-6.6.1.ebuild 
b/dev-python/shiboken6/shiboken6-6.6.1.ebuild
index 0cc981aa5bf8..428293079631 100644
--- a/dev-python/shiboken6/shiboken6-6.6.1.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,9 @@ EAPI=8
 # https://bugreports.qt.io/browse/PYSIDE-535
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit cmake llvm python-r1 toolchain-funcs
+LLVM_COMPAT=( {15..17} )
+
+inherit cmake llvm-r1 python-r1 toolchain-funcs
 
 MY_PN="pyside-setup-everywhere-src"
 
@@ -40,11 +42,12 @@ RESTRICT="test"
 QT_PV="$(ver_cut 1-3)*:6"
 
 # Since Clang is required at both build- and runtime, BDEPEND is omitted here.
-LLVM_MAX_SLOT=17
 RDEPEND="${PYTHON_DEPS}
=dev-qt/qtbase-${QT_PV}
-   =dev-libs/libxml2-2.6.32
>=dev-libs/libxslt-1.1.19
@@ -63,11 +66,6 @@ PATCHES=(
"${FILESDIR}/${PN}-6.3.1-no-strip.patch"
 )
 
-# Ensure the path returned by get_llvm_prefix() contains clang as well.
-llvm_check_deps() {
-   has_version "sys-devel/clang:${LLVM_SLOT}"
-}
-
 src_prepare() {
# TODO: File upstream issue requesting a sane way to disable NumPy 
support.
if ! use numpy; then
@@ -126,7 +124,7 @@ src_configure() {
-DUSE_PYTHON_VERSION="${EPYTHON#python}"
)
# CMakeLists.txt expects LLVM_INSTALL_DIR as an environment 
variable.
-   local -x LLVM_INSTALL_DIR="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")"
+   local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)"
cmake_src_configure
}
python_foreach_impl shiboken6_configure



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-12-07 Thread Andrew Ammerlaan
commit: 01307a6baeea52131d40d2303a207c671bb83518
Author: Huang Rui  gmail  com>
AuthorDate: Thu Dec  7 07:16:17 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Dec  7 18:44:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01307a6b

dev-python/shiboken6: add 6.6.1

Signed-off-by: Huang Rui  gmail.com>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.6.1.ebuild | 176 
 2 files changed, 177 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index b0efde9d5fa7..910384986a82 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1,2 +1,3 @@
 DIST pyside-setup-everywhere-src-6.5.3.tar.xz 13577208 BLAKE2B 
7a26302d17163e3fd7478571d99116d7eec01ee3ce369c58870fed565258419f8c6cdf88b4cd2b9b48a21ab1e40d5b85ed912e3cd2210cf22707da88c42ad277
 SHA512 
3fbcc0bb340d5b02616df061d1c1bf08494db5d35297db47ebb2f965efd347bf8412236bb43952b65b787d08d29adf5998cd92c3ff359f728a9006e07a278519
 DIST pyside-setup-everywhere-src-6.6.0.tar.xz 14054860 BLAKE2B 
3d01707796c8711de6c5bfc39bb677ee1f5c24014f8f61d9cccb5ec58982e9765e69b0a623e93276f1336975cf18a228d8397f6c8fce051875962e25ba64ac2f
 SHA512 
58463e9b08ee6264d05293d25aa6e41b091016489abf513fc8303e5cccde26af1a24bf9520a94fad4fdc679bf367eb8c6b3d84a21c6c175dd1382cd1ca32b8ae
+DIST pyside-setup-everywhere-src-6.6.1.tar.xz 13887704 BLAKE2B 
14a75cb6d20dced9b1edf79b8bb40ce44ecb7642f45743e59bc2d55b3e6fa5a742a0a0e5712b8f8cd4d908cc0f5103ac823390db968f42d0782818242c6f77e5
 SHA512 
3516f3e4595f1ba4ebbc680c5a94f9f939e04c0a3257720ebdd7ed12307bb007d1c73824029f51ec71c41a335268f34834250a5e87b3c4356d9e0a6f1d6b1f71

diff --git a/dev-python/shiboken6/shiboken6-6.6.1.ebuild 
b/dev-python/shiboken6/shiboken6-6.6.1.ebuild
new file mode 100644
index ..0cc981aa5bf8
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.6.1.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-3)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=17
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   =dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+# Ensure the path returned by get_llvm_prefix() contains clang as well.
+llvm_check_deps() {
+   has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-10-18 Thread Andrew Ammerlaan
commit: 66ec6b6dd842ef60a088d2664198f77a391fdc78
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Oct 18 08:53:42 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Oct 18 08:54:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ec6b6d

dev-python/shiboken6: add 6.6.0

Bug: https://bugs.gentoo.org/915587
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.6.0.ebuild | 176 
 2 files changed, 177 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 4c50c086ea14..eef970f04a73 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1,2 +1,3 @@
 DIST pyside-setup-everywhere-src-6.5.2.tar.xz 13576204 BLAKE2B 
3e1d62e6d877140137896552184c8fe56fd62056a1ea506ab474256ee0e2f16d3e10ddb84965602650bb466f3563555c3c344698b6877a45f9130d1e919aba21
 SHA512 
ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403
 DIST pyside-setup-everywhere-src-6.5.3.tar.xz 13577208 BLAKE2B 
7a26302d17163e3fd7478571d99116d7eec01ee3ce369c58870fed565258419f8c6cdf88b4cd2b9b48a21ab1e40d5b85ed912e3cd2210cf22707da88c42ad277
 SHA512 
3fbcc0bb340d5b02616df061d1c1bf08494db5d35297db47ebb2f965efd347bf8412236bb43952b65b787d08d29adf5998cd92c3ff359f728a9006e07a278519
+DIST pyside-setup-everywhere-src-6.6.0.tar.xz 14054860 BLAKE2B 
3d01707796c8711de6c5bfc39bb677ee1f5c24014f8f61d9cccb5ec58982e9765e69b0a623e93276f1336975cf18a228d8397f6c8fce051875962e25ba64ac2f
 SHA512 
58463e9b08ee6264d05293d25aa6e41b091016489abf513fc8303e5cccde26af1a24bf9520a94fad4fdc679bf367eb8c6b3d84a21c6c175dd1382cd1ca32b8ae

diff --git a/dev-python/shiboken6/shiboken6-6.6.0.ebuild 
b/dev-python/shiboken6/shiboken6-6.6.0.ebuild
new file mode 100644
index ..ac303102afad
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.6.0.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-$(ver_cut 1-2)/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-3)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=17
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   =dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+# Ensure the path returned by get_llvm_prefix() contains clang as well.
+llvm_check_deps() {
+   has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-10-09 Thread Andrew Ammerlaan
commit: 3f4f60338c4f1269d4138a031039b97de721154d
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Oct  9 10:11:43 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Oct  9 10:40:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f4f6033

dev-python/shiboken6: add 6.5.3

Co-authored-by: Huang Rui  gmail.com>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.5.3.ebuild | 176 
 2 files changed, 177 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 94251ca94c20..4c50c086ea14 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-everywhere-src-6.5.2.tar.xz 13576204 BLAKE2B 
3e1d62e6d877140137896552184c8fe56fd62056a1ea506ab474256ee0e2f16d3e10ddb84965602650bb466f3563555c3c344698b6877a45f9130d1e919aba21
 SHA512 
ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403
+DIST pyside-setup-everywhere-src-6.5.3.tar.xz 13577208 BLAKE2B 
7a26302d17163e3fd7478571d99116d7eec01ee3ce369c58870fed565258419f8c6cdf88b4cd2b9b48a21ab1e40d5b85ed912e3cd2210cf22707da88c42ad277
 SHA512 
3fbcc0bb340d5b02616df061d1c1bf08494db5d35297db47ebb2f965efd347bf8412236bb43952b65b787d08d29adf5998cd92c3ff359f728a9006e07a278519

diff --git a/dev-python/shiboken6/shiboken6-6.5.3.ebuild 
b/dev-python/shiboken6/shiboken6-6.5.3.ebuild
new file mode 100644
index ..de8b2922641f
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.5.3.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-$(ver_cut 1-3)/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-3)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=17
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   =dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+# Ensure the path returned by get_llvm_prefix() contains clang as well.
+llvm_check_deps() {
+   has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
+   ApiExtractor/clangparser/compilersupport.cpp || die
+   fi
+
+   local clangver="$(CPP=clang clang-major-version)"
+
+   # Clang 15 and older used the full version as a directory name.
+   if [[ ${clangver} -lt 16 ]]; 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-10-06 Thread Andrew Ammerlaan
commit: 8375a791a485e2169fed9c164a4e2d83b0bcb01a
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue Oct  3 13:55:39 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Oct  6 07:43:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8375a791

dev-python/shiboken6: bump LLVM_MAX_SLOT to 16

Clang-16 has been supported since 6.5.1

* https://github.com/pyside/pyside-setup/blob/dev/doc/changelogs/changes-6.5.1
* 
https://github.com/pyside/pyside-setup/commit/44ef1859214c66861a251d4a0faf5c38dc050850

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33167
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 ...hiboken6-6.5.2-r1.ebuild => shiboken6-6.5.2-r2.ebuild} | 15 +++
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/dev-python/shiboken6/shiboken6-6.5.2-r1.ebuild 
b/dev-python/shiboken6/shiboken6-6.5.2-r2.ebuild
similarity index 95%
rename from dev-python/shiboken6/shiboken6-6.5.2-r1.ebuild
rename to dev-python/shiboken6/shiboken6-6.5.2-r2.ebuild
index 365771516fcd..359316a52fac 100644
--- a/dev-python/shiboken6/shiboken6-6.5.2-r1.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.5.2-r2.ebuild
@@ -40,11 +40,11 @@ RESTRICT="test"
 QT_PV="$(ver_cut 1-3)*:6"
 
 # Since Clang is required at both build- and runtime, BDEPEND is omitted here.
-LLVM_MAX_SLOT=15
+LLVM_MAX_SLOT=16
 RDEPEND="${PYTHON_DEPS}
=dev-qt/qtbase-${QT_PV}
-   =dev-libs/libxml2-2.6.32
>=dev-libs/libxslt-1.1.19
@@ -82,6 +82,13 @@ src_prepare() {
ApiExtractor/clangparser/compilersupport.cpp || die
fi
 
+   local clangver="$(CPP=clang clang-major-version)"
+
+   # Clang 15 and older used the full version as a directory name.
+   if [[ ${clangver} -lt 16 ]]; then
+   clangver="$(CPP=clang clang-fullversion)"
+   fi
+
# Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
# subdirectory provides Clang builtin includes (e.g., "stddef.h") for 
the
# currently installed version of Clang, where ${CLANG_NEWEST_VERSION} is
@@ -97,7 +104,7 @@ src_prepare() {
# PySide6 does *NOT* care whether the end user has done so or not, as
# PySide6 unconditionally requires Clang in either case. See also:
# https://bugs.gentoo.org/619490
-   sed -i -e 
's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'$(CPP=clang
 clang-fullversion)'/include"))~' \
+   sed -i -e 
's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${clangver}"'/include"))~'
 \
ApiExtractor/clangparser/compilersupport.cpp || die
 
cmake_src_prepare



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-10-03 Thread Andrew Ammerlaan
commit: 23a5cf864bc9a9d02dc48a161d9648f3b394168d
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Oct  3 15:24:51 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Oct  3 15:26:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a5cf86

dev-python/shiboken6: further pin down dev-qt/* deps

Closes: https://bugs.gentoo.org/914919
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 .../shiboken6/{shiboken6-6.5.2.ebuild => shiboken6-6.5.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/shiboken6/shiboken6-6.5.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.5.2-r1.ebuild
similarity index 99%
rename from dev-python/shiboken6/shiboken6-6.5.2.ebuild
rename to dev-python/shiboken6/shiboken6-6.5.2-r1.ebuild
index b5ec49a76c68..365771516fcd 100644
--- a/dev-python/shiboken6/shiboken6-6.5.2.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.5.2-r1.ebuild
@@ -37,7 +37,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="test"
 
 # Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-2)*:6"
+QT_PV="$(ver_cut 1-3)*:6"
 
 # Since Clang is required at both build- and runtime, BDEPEND is omitted here.
 LLVM_MAX_SLOT=15



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-10-03 Thread Andrew Ammerlaan
commit: f281c884e101e22d6d36a0c782fcf2f5380c62ea
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Oct  3 14:26:45 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Oct  3 14:26:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f281c884

dev-python/shiboken6: drop 6.5.1.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest |   1 -
 dev-python/shiboken6/shiboken6-6.5.1.1.ebuild | 169 --
 2 files changed, 170 deletions(-)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 4e27687b1364..94251ca94c20 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1,2 +1 @@
-DIST pyside-setup-everywhere-src-6.5.1.1.tar.xz 13565304 BLAKE2B 
55b221142f5e112a39c0b5df7f7b200f65cfd30da2884340b9bef5e7cb1bcfe2e8ed7aeb0cf7ef5f894f43f6ad582b35e649b7c6430bdba8719e70cca3c29c2d
 SHA512 
fe99ad09b4e0b238175594bbff94453a84c56f21b004477fdab2a2435b4b4148b0b99b26e1b1e1671b71656f4cfb03c3913aa6d85084e3eb8200ff906535a5eb
 DIST pyside-setup-everywhere-src-6.5.2.tar.xz 13576204 BLAKE2B 
3e1d62e6d877140137896552184c8fe56fd62056a1ea506ab474256ee0e2f16d3e10ddb84965602650bb466f3563555c3c344698b6877a45f9130d1e919aba21
 SHA512 
ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403

diff --git a/dev-python/shiboken6/shiboken6-6.5.1.1.ebuild 
b/dev-python/shiboken6/shiboken6-6.5.1.1.ebuild
deleted file mode 100644
index d7d5a598c11e..
--- a/dev-python/shiboken6/shiboken6-6.5.1.1.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: Split the "/usr/bin/shiboken6" binding generator from the
-# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
-# requires everything (including Clang) at runtime; the latter only requires
-# Qt and Python at runtime. Note that "pip" separates these two as well. See:
-# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
-# Once split, the PySide6 ebuild should be revised to require
-# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
-# TODO: Add PyPy once officially supported. See also:
-# https://bugreports.qt.io/browse/PYSIDE-535
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake llvm python-r1 toolchain-funcs
-
-MY_PN="pyside-setup-everywhere-src"
-
-DESCRIPTION="Python binding generator for C++ libraries"
-HOMEPAGE="https://wiki.qt.io/PySide6;
-SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
-S="${WORKDIR}/${MY_PN}-$(ver_cut 1-3)/sources/shiboken6"
-
-# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
-# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
-# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
-# arbitrarily relicensed. (TODO)
-LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+docstrings numpy test vulkan"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests fail pretty bad and I'm not fixing them right now
-RESTRICT="test"
-
-# Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-2)*:6"
-
-# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
-LLVM_MAX_SLOT=15
-RDEPEND="${PYTHON_DEPS}
-   =dev-qt/qtbase-${QT_PV}
-   =dev-libs/libxml2-2.6.32
-   >=dev-libs/libxslt-1.1.19
-   )
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   vulkan? ( dev-util/vulkan-headers )
-"
-DEPEND="${RDEPEND}
-   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
-"
-# testlib is toggled by the gui flag on qtbase
-
-DOCS=( AUTHORS )
-
-PATCHES=(
-   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
-)
-
-# Ensure the path returned by get_llvm_prefix() contains clang as well.
-llvm_check_deps() {
-   has_version "sys-devel/clang:${LLVM_SLOT}"
-}
-
-src_prepare() {
-   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
-   if ! use numpy; then
-   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
-   libshiboken/CMakeLists.txt || die
-   fi
-
-   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
-   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
-   if use vulkan; then
-   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
-   ApiExtractor/clangparser/compilersupport.cpp || die
-   fi
-
-   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
-   # subdirectory provides Clang builtin includes (e.g., "stddef.h") for 
the
-   # currently installed 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-08-17 Thread Andrew Ammerlaan
commit: 9e6ffedb2e56bfbfeced494f1314e36fd95abec1
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Aug 17 07:35:29 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Aug 17 07:48:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e6ffedb

dev-python/shiboken6: add 6.5.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.5.2.ebuild | 169 
 2 files changed, 170 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 28b38f9a7892..4e27687b1364 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-everywhere-src-6.5.1.1.tar.xz 13565304 BLAKE2B 
55b221142f5e112a39c0b5df7f7b200f65cfd30da2884340b9bef5e7cb1bcfe2e8ed7aeb0cf7ef5f894f43f6ad582b35e649b7c6430bdba8719e70cca3c29c2d
 SHA512 
fe99ad09b4e0b238175594bbff94453a84c56f21b004477fdab2a2435b4b4148b0b99b26e1b1e1671b71656f4cfb03c3913aa6d85084e3eb8200ff906535a5eb
+DIST pyside-setup-everywhere-src-6.5.2.tar.xz 13576204 BLAKE2B 
3e1d62e6d877140137896552184c8fe56fd62056a1ea506ab474256ee0e2f16d3e10ddb84965602650bb466f3563555c3c344698b6877a45f9130d1e919aba21
 SHA512 
ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403

diff --git a/dev-python/shiboken6/shiboken6-6.5.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.5.2.ebuild
new file mode 100644
index ..b5ec49a76c68
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.5.2.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-$(ver_cut 1-3)/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-2)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=15
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   =dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+# Ensure the path returned by get_llvm_prefix() contains clang as well.
+llvm_check_deps() {
+   has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
+   ApiExtractor/clangparser/compilersupport.cpp || die
+   fi
+
+   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
+   # subdirectory provides Clang builtin includes (e.g., "stddef.h") for 
the
+   # currently installed version of 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-07-24 Thread Michał Górny
commit: b934af80ebc94864e33752436753d4c55fd5a570
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 24 11:19:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 24 11:34:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b934af80

dev-python/shiboken6: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 -
 dev-python/shiboken6/shiboken6-6.5.0.ebuild | 169 
 2 files changed, 170 deletions(-)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 5be15ccd0598..28b38f9a7892 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1,2 +1 @@
-DIST pyside-setup-everywhere-src-6.5.0.tar.xz 13566572 BLAKE2B 
2eb038b08755ced2dee34a309bbb18d47b40ef0b19bbf42901695bfdd4fccf35e09bb939ae9d7049e6477436c11dc1424376d8f1cbbd8fdaa2cd978114eedb9e
 SHA512 
4a1f88d18d7276182c83b6deff8d57c4c40914292b61dcea76975de5506d7fffa4db7b783161373585ff90dc96a2acc6fed98d06a6a35fff6e92864f2699ea7f
 DIST pyside-setup-everywhere-src-6.5.1.1.tar.xz 13565304 BLAKE2B 
55b221142f5e112a39c0b5df7f7b200f65cfd30da2884340b9bef5e7cb1bcfe2e8ed7aeb0cf7ef5f894f43f6ad582b35e649b7c6430bdba8719e70cca3c29c2d
 SHA512 
fe99ad09b4e0b238175594bbff94453a84c56f21b004477fdab2a2435b4b4148b0b99b26e1b1e1671b71656f4cfb03c3913aa6d85084e3eb8200ff906535a5eb

diff --git a/dev-python/shiboken6/shiboken6-6.5.0.ebuild 
b/dev-python/shiboken6/shiboken6-6.5.0.ebuild
deleted file mode 100644
index 6db14e7d7cbc..
--- a/dev-python/shiboken6/shiboken6-6.5.0.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: Split the "/usr/bin/shiboken6" binding generator from the
-# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
-# requires everything (including Clang) at runtime; the latter only requires
-# Qt and Python at runtime. Note that "pip" separates these two as well. See:
-# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
-# Once split, the PySide6 ebuild should be revised to require
-# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
-# TODO: Add PyPy once officially supported. See also:
-# https://bugreports.qt.io/browse/PYSIDE-535
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake llvm python-r1 toolchain-funcs
-
-MY_PN="pyside-setup-everywhere-src"
-
-DESCRIPTION="Python binding generator for C++ libraries"
-HOMEPAGE="https://wiki.qt.io/PySide6;
-SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
-S="${WORKDIR}/${MY_PN}-$(ver_cut 1-2)/sources/shiboken6"
-
-# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
-# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
-# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
-# arbitrarily relicensed. (TODO)
-LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+docstrings numpy test vulkan"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests fail pretty bad and I'm not fixing them right now
-RESTRICT="test"
-
-# Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-2)*:6"
-
-# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
-LLVM_MAX_SLOT=15
-RDEPEND="${PYTHON_DEPS}
-   =dev-qt/qtbase-${QT_PV}
-   =dev-libs/libxml2-2.6.32
-   >=dev-libs/libxslt-1.1.19
-   )
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   vulkan? ( dev-util/vulkan-headers )
-"
-DEPEND="${RDEPEND}
-   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
-"
-# testlib is toggled by the gui flag on qtbase
-
-DOCS=( AUTHORS )
-
-PATCHES=(
-   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
-)
-
-# Ensure the path returned by get_llvm_prefix() contains clang as well.
-llvm_check_deps() {
-   has_version "sys-devel/clang:${LLVM_SLOT}"
-}
-
-src_prepare() {
-   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
-   if ! use numpy; then
-   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
-   libshiboken/CMakeLists.txt || die
-   fi
-
-   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
-   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
-   if use vulkan; then
-   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
-   ApiExtractor/clangparser/compilersupport.cpp || die
-   fi
-
-   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
-   # subdirectory provides Clang builtin includes (e.g., "stddef.h") for 
the
-   # currently installed version of Clang, 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-06-14 Thread Andrew Ammerlaan
commit: 5b01c60ac7fbe5fd9a64a22d633ec134b6df9ce6
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Jun 14 19:45:59 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jun 14 19:59:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b01c60a

dev-python/shiboken6: add 6.5.1.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest |   1 +
 dev-python/shiboken6/shiboken6-6.5.1.1.ebuild | 169 ++
 2 files changed, 170 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 5f966b66aac0..5be15ccd0598 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-everywhere-src-6.5.0.tar.xz 13566572 BLAKE2B 
2eb038b08755ced2dee34a309bbb18d47b40ef0b19bbf42901695bfdd4fccf35e09bb939ae9d7049e6477436c11dc1424376d8f1cbbd8fdaa2cd978114eedb9e
 SHA512 
4a1f88d18d7276182c83b6deff8d57c4c40914292b61dcea76975de5506d7fffa4db7b783161373585ff90dc96a2acc6fed98d06a6a35fff6e92864f2699ea7f
+DIST pyside-setup-everywhere-src-6.5.1.1.tar.xz 13565304 BLAKE2B 
55b221142f5e112a39c0b5df7f7b200f65cfd30da2884340b9bef5e7cb1bcfe2e8ed7aeb0cf7ef5f894f43f6ad582b35e649b7c6430bdba8719e70cca3c29c2d
 SHA512 
fe99ad09b4e0b238175594bbff94453a84c56f21b004477fdab2a2435b4b4148b0b99b26e1b1e1671b71656f4cfb03c3913aa6d85084e3eb8200ff906535a5eb

diff --git a/dev-python/shiboken6/shiboken6-6.5.1.1.ebuild 
b/dev-python/shiboken6/shiboken6-6.5.1.1.ebuild
new file mode 100644
index ..d7d5a598c11e
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.5.1.1.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-$(ver_cut 1-3)/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-2)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=15
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   =dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+# Ensure the path returned by get_llvm_prefix() contains clang as well.
+llvm_check_deps() {
+   has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
+   ApiExtractor/clangparser/compilersupport.cpp || die
+   fi
+
+   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
+   # subdirectory provides Clang builtin includes (e.g., "stddef.h") for 
the
+   # currently installed 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-06-11 Thread Andrew Ammerlaan
commit: 83b6643406d8305c6decf0650b5e38925a2c16bb
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Jun 11 14:12:53 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jun 11 14:16:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b66434

dev-python/shiboken6: drop 6.4.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 -
 dev-python/shiboken6/shiboken6-6.4.3.ebuild | 169 
 2 files changed, 170 deletions(-)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 01828516a1f9..5f966b66aac0 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1,2 +1 @@
-DIST pyside-setup-everywhere-src-6.4.3.tar.xz 8789448 BLAKE2B 
d9083bd636d3ccf2636b58385fffbc1499db0cbd80e199581e68a440c01b16acd440d7fdbaf41d8b4caa9974d31e457372ed7a80f1525929777d2265fe1297fe
 SHA512 
cc8051d52240b9aca531e3163523274334bfa339f2815ed46c4b4d09be2419f1f4cc6ebfc1e591658b5caccf840f8791333ea119c72a1e53591f1d8ca2e08baa
 DIST pyside-setup-everywhere-src-6.5.0.tar.xz 13566572 BLAKE2B 
2eb038b08755ced2dee34a309bbb18d47b40ef0b19bbf42901695bfdd4fccf35e09bb939ae9d7049e6477436c11dc1424376d8f1cbbd8fdaa2cd978114eedb9e
 SHA512 
4a1f88d18d7276182c83b6deff8d57c4c40914292b61dcea76975de5506d7fffa4db7b783161373585ff90dc96a2acc6fed98d06a6a35fff6e92864f2699ea7f

diff --git a/dev-python/shiboken6/shiboken6-6.4.3.ebuild 
b/dev-python/shiboken6/shiboken6-6.4.3.ebuild
deleted file mode 100644
index 08626cfcf034..
--- a/dev-python/shiboken6/shiboken6-6.4.3.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: Split the "/usr/bin/shiboken6" binding generator from the
-# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
-# requires everything (including Clang) at runtime; the latter only requires
-# Qt and Python at runtime. Note that "pip" separates these two as well. See:
-# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
-# Once split, the PySide6 ebuild should be revised to require
-# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
-# TODO: Add PyPy once officially supported. See also:
-# https://bugreports.qt.io/browse/PYSIDE-535
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake llvm python-r1 toolchain-funcs
-
-MY_PN="pyside-setup-everywhere-src"
-
-DESCRIPTION="Python binding generator for C++ libraries"
-HOMEPAGE="https://wiki.qt.io/PySide6;
-SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
-S="${WORKDIR}/${MY_PN}-$(ver_cut 1-2)/sources/shiboken6"
-
-# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
-# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
-# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
-# arbitrarily relicensed. (TODO)
-LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+docstrings numpy test vulkan"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests fail pretty bad and I'm not fixing them right now
-RESTRICT="test"
-
-# Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-2)*:6"
-
-# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
-LLVM_MAX_SLOT=15
-RDEPEND="${PYTHON_DEPS}
-   =dev-qt/qtbase-${QT_PV}
-   =dev-libs/libxml2-2.6.32
-   >=dev-libs/libxslt-1.1.19
-   )
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   vulkan? ( dev-util/vulkan-headers )
-"
-DEPEND="${RDEPEND}
-   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
-"
-# testlib is toggled by the gui flag on qtbase
-
-DOCS=( AUTHORS )
-
-PATCHES=(
-   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
-)
-
-# Ensure the path returned by get_llvm_prefix() contains clang as well.
-llvm_check_deps() {
-   has_version "sys-devel/clang:${LLVM_SLOT}"
-}
-
-src_prepare() {
-   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
-   if ! use numpy; then
-   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
-   libshiboken/CMakeLists.txt || die
-   fi
-
-   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
-   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
-   if use vulkan; then
-   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
-   ApiExtractor/clangparser/compilersupport.cpp || die
-   fi
-
-   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
-   # subdirectory provides Clang builtin includes (e.g., "stddef.h") for 
the
-   # currently installed version of 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-04-19 Thread Andrew Ammerlaan
commit: c53d46387398f9aee253f0061321f17d3aa0
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Apr 19 16:53:26 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Apr 19 16:54:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c53d46bb

dev-python/shiboken6: add 6.5.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.5.0.ebuild | 169 
 2 files changed, 170 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 7b370b18da6c..01828516a1f9 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-everywhere-src-6.4.3.tar.xz 8789448 BLAKE2B 
d9083bd636d3ccf2636b58385fffbc1499db0cbd80e199581e68a440c01b16acd440d7fdbaf41d8b4caa9974d31e457372ed7a80f1525929777d2265fe1297fe
 SHA512 
cc8051d52240b9aca531e3163523274334bfa339f2815ed46c4b4d09be2419f1f4cc6ebfc1e591658b5caccf840f8791333ea119c72a1e53591f1d8ca2e08baa
+DIST pyside-setup-everywhere-src-6.5.0.tar.xz 13566572 BLAKE2B 
2eb038b08755ced2dee34a309bbb18d47b40ef0b19bbf42901695bfdd4fccf35e09bb939ae9d7049e6477436c11dc1424376d8f1cbbd8fdaa2cd978114eedb9e
 SHA512 
4a1f88d18d7276182c83b6deff8d57c4c40914292b61dcea76975de5506d7fffa4db7b783161373585ff90dc96a2acc6fed98d06a6a35fff6e92864f2699ea7f

diff --git a/dev-python/shiboken6/shiboken6-6.5.0.ebuild 
b/dev-python/shiboken6/shiboken6-6.5.0.ebuild
new file mode 100644
index ..6db14e7d7cbc
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.5.0.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-$(ver_cut 1-2)/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-2)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=15
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   =dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+# Ensure the path returned by get_llvm_prefix() contains clang as well.
+llvm_check_deps() {
+   has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
+   ApiExtractor/clangparser/compilersupport.cpp || die
+   fi
+
+   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
+   # subdirectory provides Clang builtin includes (e.g., "stddef.h") for 
the
+   # currently installed version of 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-04-08 Thread Michał Górny
commit: 8590ce16948de60d089ebddedc770cf84113acd8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  8 06:02:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  8 06:07:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8590ce16

dev-python/shiboken6: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 -
 dev-python/shiboken6/shiboken6-6.4.2.ebuild | 169 
 2 files changed, 170 deletions(-)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 4626254b1a9d..7b370b18da6c 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1,2 +1 @@
 DIST pyside-setup-everywhere-src-6.4.3.tar.xz 8789448 BLAKE2B 
d9083bd636d3ccf2636b58385fffbc1499db0cbd80e199581e68a440c01b16acd440d7fdbaf41d8b4caa9974d31e457372ed7a80f1525929777d2265fe1297fe
 SHA512 
cc8051d52240b9aca531e3163523274334bfa339f2815ed46c4b4d09be2419f1f4cc6ebfc1e591658b5caccf840f8791333ea119c72a1e53591f1d8ca2e08baa
-DIST pyside-setup-opensource-src-6.4.2.tar.xz 8759528 BLAKE2B 
cc1a18e9dc81eb02bbfffd38816da68f053337f94c485fdd2f99488ae7ade2e899be1d98518def8f39a4eeaeaff6018ff09402bfe55b3484d78d8c4d9796b4e7
 SHA512 
129ea42fceef9726fab9e0320e8286a34aa0855fc4bd369adc0020b76909b3a5ac8c3fa622b73da1561b39dcaeb8ac121f634918e2c0460a9ebaccb0f659

diff --git a/dev-python/shiboken6/shiboken6-6.4.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.4.2.ebuild
deleted file mode 100644
index 48247772bd81..
--- a/dev-python/shiboken6/shiboken6-6.4.2.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: Split the "/usr/bin/shiboken6" binding generator from the
-# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
-# requires everything (including Clang) at runtime; the latter only requires
-# Qt and Python at runtime. Note that "pip" separates these two as well. See:
-# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
-# Once split, the PySide6 ebuild should be revised to require
-# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
-# TODO: Add PyPy once officially supported. See also:
-# https://bugreports.qt.io/browse/PYSIDE-535
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake llvm python-r1 toolchain-funcs
-
-MY_P=pyside-setup-opensource-src-${PV}
-
-DESCRIPTION="Python binding generator for C++ libraries"
-HOMEPAGE="https://wiki.qt.io/PySide6;
-SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz;
-S="${WORKDIR}/${MY_P}/sources/shiboken6"
-
-# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
-# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
-# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
-# arbitrarily relicensed. (TODO)
-LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+docstrings numpy test vulkan"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests fail pretty bad and I'm not fixing them right now
-RESTRICT="test"
-
-# Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-2)*:6"
-
-# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
-LLVM_MAX_SLOT=15
-RDEPEND="${PYTHON_DEPS}
-   =dev-qt/qtbase-${QT_PV}
-   =dev-libs/libxml2-2.6.32
-   >=dev-libs/libxslt-1.1.19
-   )
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   vulkan? ( dev-util/vulkan-headers )
-"
-DEPEND="${RDEPEND}
-   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
-"
-# testlib is toggled by the gui flag on qtbase
-
-DOCS=( AUTHORS )
-
-PATCHES=(
-   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
-)
-
-# Ensure the path returned by get_llvm_prefix() contains clang as well.
-llvm_check_deps() {
-   has_version "sys-devel/clang:${LLVM_SLOT}"
-}
-
-src_prepare() {
-   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
-   if ! use numpy; then
-   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
-   libshiboken/CMakeLists.txt || die
-   fi
-
-   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
-   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
-   if use vulkan; then
-   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
-   ApiExtractor/clangparser/compilersupport.cpp || die
-   fi
-
-   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
-   # subdirectory provides Clang builtin includes (e.g., "stddef.h") for 
the
-   # currently installed version of Clang, where 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-04-01 Thread Andrew Ammerlaan
commit: 2edee4fe46bba8564962607cd1bdde14b201fd72
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat Apr  1 14:50:51 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Apr  1 14:51:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2edee4fe

dev-python/shiboken6: add 6.4.3

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.4.3.ebuild | 169 
 2 files changed, 170 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 1f656317eec9..4626254b1a9d 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
+DIST pyside-setup-everywhere-src-6.4.3.tar.xz 8789448 BLAKE2B 
d9083bd636d3ccf2636b58385fffbc1499db0cbd80e199581e68a440c01b16acd440d7fdbaf41d8b4caa9974d31e457372ed7a80f1525929777d2265fe1297fe
 SHA512 
cc8051d52240b9aca531e3163523274334bfa339f2815ed46c4b4d09be2419f1f4cc6ebfc1e591658b5caccf840f8791333ea119c72a1e53591f1d8ca2e08baa
 DIST pyside-setup-opensource-src-6.4.2.tar.xz 8759528 BLAKE2B 
cc1a18e9dc81eb02bbfffd38816da68f053337f94c485fdd2f99488ae7ade2e899be1d98518def8f39a4eeaeaff6018ff09402bfe55b3484d78d8c4d9796b4e7
 SHA512 
129ea42fceef9726fab9e0320e8286a34aa0855fc4bd369adc0020b76909b3a5ac8c3fa622b73da1561b39dcaeb8ac121f634918e2c0460a9ebaccb0f659

diff --git a/dev-python/shiboken6/shiboken6-6.4.3.ebuild 
b/dev-python/shiboken6/shiboken6-6.4.3.ebuild
new file mode 100644
index ..08626cfcf034
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.4.3.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_PN="pyside-setup-everywhere-src"
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz;
+S="${WORKDIR}/${MY_PN}-$(ver_cut 1-2)/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-2)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=15
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   =dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+# Ensure the path returned by get_llvm_prefix() contains clang as well.
+llvm_check_deps() {
+   has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
+   ApiExtractor/clangparser/compilersupport.cpp || die
+   fi
+
+   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
+   # subdirectory provides Clang builtin includes (e.g., "stddef.h") for 
the
+   # currently installed version of Clang, 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/files/, dev-python/shiboken6/

2023-01-27 Thread Michał Górny
commit: 39009af803eabd0fa0e0c1480996b0dcb952f2fd
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan 27 20:06:12 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 27 20:09:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39009af8

dev-python/shiboken6: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/shiboken6/Manifest  |   2 -
 .../shiboken6/files/shiboken6-6.4.1-bug2127.patch  |  15 --
 dev-python/shiboken6/shiboken6-6.4.0.ebuild| 169 
 dev-python/shiboken6/shiboken6-6.4.1.ebuild| 170 -
 4 files changed, 356 deletions(-)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 05fa7cc67441..1f656317eec9 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1,3 +1 @@
-DIST pyside-setup-opensource-src-6.4.0.tar.xz 8551772 BLAKE2B 
180d9f2182b8df04394677bbcb0765764d9de1f34064fc688a3ccae8ec37174b4a01fa70c80d98c7ca7fe6b45239225bd801c552d332e2c6fc4a3726535e72e9
 SHA512 
0517408f110830b888f04777c60b29479831604877da13c5a41a710888ebe53064f06d9b7b61d5c6e6a483ac5ee1639a63bb7f9844301df53e3e9ca8eafcf9e9
-DIST pyside-setup-opensource-src-6.4.1.tar.xz 8755436 BLAKE2B 
9b88115374eb690282397fbf33fa6698043c77c8defd40fd0d711dee39aa4cd56af94533cf1703b87084e8755758fe636b877071a29043ee7f4c8e406e47cf38
 SHA512 
330eef5d63c5225e0d3ee8be1229e81ac04ec39772766fd2dfe197291a8153c00a2cd548ce6e49a0a198b3081535c79a7e649a6e9f03dfe67df68790543ea023
 DIST pyside-setup-opensource-src-6.4.2.tar.xz 8759528 BLAKE2B 
cc1a18e9dc81eb02bbfffd38816da68f053337f94c485fdd2f99488ae7ade2e899be1d98518def8f39a4eeaeaff6018ff09402bfe55b3484d78d8c4d9796b4e7
 SHA512 
129ea42fceef9726fab9e0320e8286a34aa0855fc4bd369adc0020b76909b3a5ac8c3fa622b73da1561b39dcaeb8ac121f634918e2c0460a9ebaccb0f659

diff --git a/dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch 
b/dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch
deleted file mode 100644
index 80007f621604..
--- a/dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/shibokenmodule/files.dir/shibokensupport/signature/parser.py 
b/shibokenmodule/files.dir/shibokensupport/signature/parser.py
-index be82a4f92..66d79ad27 100644
 a/shibokenmodule/files.dir/shibokensupport/signature/parser.py
-+++ b/shibokenmodule/files.dir/shibokensupport/signature/parser.py
-@@ -69,7 +69,7 @@ def _get_flag_enum_option():
- flag = getattr(sys, sysname)
- if not isinstance(flag, int):
- flag = True
--p = f"\n*** Python is at version {'.'.join(map(str, pyminver))} now."
-+p = f"\n*** Python is at version {'.'.join(map(str, pyminver or 
(0,)))} now."
- # PYSIDE-1797: Emit a warning when we may remove pep384_issue33738.cpp
- if pyminver and pyminver >= (3, 8):
- warnings.warn(f"{p} The file pep384_issue33738.cpp should be removed 
ASAP! ***")
--- 
-cgit v1.2.1

diff --git a/dev-python/shiboken6/shiboken6-6.4.0.ebuild 
b/dev-python/shiboken6/shiboken6-6.4.0.ebuild
deleted file mode 100644
index 48247772bd81..
--- a/dev-python/shiboken6/shiboken6-6.4.0.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: Split the "/usr/bin/shiboken6" binding generator from the
-# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
-# requires everything (including Clang) at runtime; the latter only requires
-# Qt and Python at runtime. Note that "pip" separates these two as well. See:
-# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
-# Once split, the PySide6 ebuild should be revised to require
-# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
-# TODO: Add PyPy once officially supported. See also:
-# https://bugreports.qt.io/browse/PYSIDE-535
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake llvm python-r1 toolchain-funcs
-
-MY_P=pyside-setup-opensource-src-${PV}
-
-DESCRIPTION="Python binding generator for C++ libraries"
-HOMEPAGE="https://wiki.qt.io/PySide6;
-SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz;
-S="${WORKDIR}/${MY_P}/sources/shiboken6"
-
-# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
-# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
-# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
-# arbitrarily relicensed. (TODO)
-LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+docstrings numpy test vulkan"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests fail pretty bad and I'm not fixing them right now
-RESTRICT="test"
-
-# Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-2)*:6"
-
-# Since Clang is required 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2023-01-12 Thread Andrew Ammerlaan
commit: a1f14e46fe70d8854e8dc28cac7ee50e942dc977
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Jan 12 15:03:19 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Jan 12 15:13:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f14e46

dev-python/shiboken6: add 6.4.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.4.2.ebuild | 169 
 2 files changed, 170 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 7d24903ef481..05fa7cc67441 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1,2 +1,3 @@
 DIST pyside-setup-opensource-src-6.4.0.tar.xz 8551772 BLAKE2B 
180d9f2182b8df04394677bbcb0765764d9de1f34064fc688a3ccae8ec37174b4a01fa70c80d98c7ca7fe6b45239225bd801c552d332e2c6fc4a3726535e72e9
 SHA512 
0517408f110830b888f04777c60b29479831604877da13c5a41a710888ebe53064f06d9b7b61d5c6e6a483ac5ee1639a63bb7f9844301df53e3e9ca8eafcf9e9
 DIST pyside-setup-opensource-src-6.4.1.tar.xz 8755436 BLAKE2B 
9b88115374eb690282397fbf33fa6698043c77c8defd40fd0d711dee39aa4cd56af94533cf1703b87084e8755758fe636b877071a29043ee7f4c8e406e47cf38
 SHA512 
330eef5d63c5225e0d3ee8be1229e81ac04ec39772766fd2dfe197291a8153c00a2cd548ce6e49a0a198b3081535c79a7e649a6e9f03dfe67df68790543ea023
+DIST pyside-setup-opensource-src-6.4.2.tar.xz 8759528 BLAKE2B 
cc1a18e9dc81eb02bbfffd38816da68f053337f94c485fdd2f99488ae7ade2e899be1d98518def8f39a4eeaeaff6018ff09402bfe55b3484d78d8c4d9796b4e7
 SHA512 
129ea42fceef9726fab9e0320e8286a34aa0855fc4bd369adc0020b76909b3a5ac8c3fa622b73da1561b39dcaeb8ac121f634918e2c0460a9ebaccb0f659

diff --git a/dev-python/shiboken6/shiboken6-6.4.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.4.2.ebuild
new file mode 100644
index ..385027e5689b
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.4.2.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_P=pyside-setup-opensource-src-${PV}
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz;
+S="${WORKDIR}/${MY_P}/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-2)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=15
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   =dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+# Ensure the path returned by get_llvm_prefix() contains clang as well.
+llvm_check_deps() {
+   has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/files/, dev-python/shiboken6/

2022-12-13 Thread Andrew Ammerlaan
commit: 35d74706cde6504cf07c5158940c968bb8f84dff
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Dec 13 12:43:31 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Dec 13 13:08:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d74706

dev-python/shiboken6: add 6.4.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest  |   1 +
 .../shiboken6/files/shiboken6-6.4.1-bug2127.patch  |  15 ++
 dev-python/shiboken6/shiboken6-6.4.1.ebuild| 170 +
 3 files changed, 186 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 7ec686b25ee3..7d24903ef481 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-opensource-src-6.4.0.tar.xz 8551772 BLAKE2B 
180d9f2182b8df04394677bbcb0765764d9de1f34064fc688a3ccae8ec37174b4a01fa70c80d98c7ca7fe6b45239225bd801c552d332e2c6fc4a3726535e72e9
 SHA512 
0517408f110830b888f04777c60b29479831604877da13c5a41a710888ebe53064f06d9b7b61d5c6e6a483ac5ee1639a63bb7f9844301df53e3e9ca8eafcf9e9
+DIST pyside-setup-opensource-src-6.4.1.tar.xz 8755436 BLAKE2B 
9b88115374eb690282397fbf33fa6698043c77c8defd40fd0d711dee39aa4cd56af94533cf1703b87084e8755758fe636b877071a29043ee7f4c8e406e47cf38
 SHA512 
330eef5d63c5225e0d3ee8be1229e81ac04ec39772766fd2dfe197291a8153c00a2cd548ce6e49a0a198b3081535c79a7e649a6e9f03dfe67df68790543ea023

diff --git a/dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch 
b/dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch
new file mode 100644
index ..80007f621604
--- /dev/null
+++ b/dev-python/shiboken6/files/shiboken6-6.4.1-bug2127.patch
@@ -0,0 +1,15 @@
+diff --git a/shibokenmodule/files.dir/shibokensupport/signature/parser.py 
b/shibokenmodule/files.dir/shibokensupport/signature/parser.py
+index be82a4f92..66d79ad27 100644
+--- a/shibokenmodule/files.dir/shibokensupport/signature/parser.py
 b/shibokenmodule/files.dir/shibokensupport/signature/parser.py
+@@ -69,7 +69,7 @@ def _get_flag_enum_option():
+ flag = getattr(sys, sysname)
+ if not isinstance(flag, int):
+ flag = True
+-p = f"\n*** Python is at version {'.'.join(map(str, pyminver))} now."
++p = f"\n*** Python is at version {'.'.join(map(str, pyminver or 
(0,)))} now."
+ # PYSIDE-1797: Emit a warning when we may remove pep384_issue33738.cpp
+ if pyminver and pyminver >= (3, 8):
+ warnings.warn(f"{p} The file pep384_issue33738.cpp should be removed 
ASAP! ***")
+-- 
+cgit v1.2.1

diff --git a/dev-python/shiboken6/shiboken6-6.4.1.ebuild 
b/dev-python/shiboken6/shiboken6-6.4.1.ebuild
new file mode 100644
index ..d57f4b7a2956
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.4.1.ebuild
@@ -0,0 +1,170 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_P=pyside-setup-opensource-src-${PV}
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz;
+S="${WORKDIR}/${MY_P}/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-2)*:6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=15
+RDEPEND="${PYTHON_DEPS}
+   =dev-qt/qtbase-${QT_PV}
+   =dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2022-11-07 Thread Andrew Ammerlaan
commit: 6b62d2c141d0583c2c39faad907cb4551ce2e75e
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Nov  7 10:19:13 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Nov  7 10:20:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b62d2c1

dev-python/shiboken6: restrict to  gentoo.org>

 dev-python/shiboken6/shiboken6-6.3.2-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/shiboken6/shiboken6-6.3.2-r1.ebuild 
b/dev-python/shiboken6/shiboken6-6.3.2-r1.ebuild
index f1a1020b53d9..edd8012b5441 100644
--- a/dev-python/shiboken6/shiboken6-6.3.2-r1.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.3.2-r1.ebuild
@@ -40,10 +40,11 @@ RESTRICT="test"
 QT_PV="$(ver_cut 1-2)*:6"
 
 # Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=15
 RDEPEND="${PYTHON_DEPS}
=dev-qt/qtbase-${QT_PV}
-   sys-devel/clang:=
-   sys-devel/clang-runtime:=
+   =dev-libs/libxml2-2.6.32
>=dev-libs/libxslt-1.1.19



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2022-11-07 Thread Andrew Ammerlaan
commit: 0f3f7efba853dbf095731fedea3d47f290a5f596
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Oct 27 22:43:38 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Nov  7 10:18:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f3f7efb

dev-python/shiboken6: add 6.4.0

Need to restrict to https://bugs.gentoo.org/873391
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.4.0.ebuild | 169 
 2 files changed, 170 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index d775a81b0c8a..0e0ec12a5299 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-opensource-src-6.3.2.tar.xz 7853068 BLAKE2B 
5b39e2f98bca0155d3f6617be206b759b628d0126fd30d76d67352c5c78a385938ce61a3c42b75343b9fde708e9f66617122c687ea9ecffca9cd0ab3af91a2ff
 SHA512 
8d25d20b64ac7874e9b7866f101b6bfd7b6fe1fffa602fec6113e1fdaa11608f14a58c2ae1d87b45ee3eac6a07bd55e66dbbd222727cfe6860d8f444bc2b1ff0
+DIST pyside-setup-opensource-src-6.4.0.tar.xz 8551772 BLAKE2B 
180d9f2182b8df04394677bbcb0765764d9de1f34064fc688a3ccae8ec37174b4a01fa70c80d98c7ca7fe6b45239225bd801c552d332e2c6fc4a3726535e72e9
 SHA512 
0517408f110830b888f04777c60b29479831604877da13c5a41a710888ebe53064f06d9b7b61d5c6e6a483ac5ee1639a63bb7f9844301df53e3e9ca8eafcf9e9

diff --git a/dev-python/shiboken6/shiboken6-6.4.0.ebuild 
b/dev-python/shiboken6/shiboken6-6.4.0.ebuild
new file mode 100644
index ..4d5e47200b4c
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.4.0.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_P=pyside-setup-opensource-src-${PV}
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz;
+S="${WORKDIR}/${MY_P}/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-2):6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=15
+RDEPEND="${PYTHON_DEPS}
+   >=dev-qt/qtbase-${QT_PV}
+   =dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( >=dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+# Ensure the path returned by get_llvm_prefix() contains clang as well.
+llvm_check_deps() {
+   has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
+   ApiExtractor/clangparser/compilersupport.cpp || die
+   fi
+
+   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
+   # subdirectory provides Clang builtin includes (e.g., 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2022-11-07 Thread Andrew Ammerlaan
commit: c515eddfd55ceec873a9252cd675fd46a90d6869
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Nov  7 10:13:47 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Nov  7 10:18:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c515eddf

dev-python/shiboken6: further restrict dependencies on qt packages

6.3.2 for example fails to build with qt 6.4.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 .../shiboken6/{shiboken6-6.3.2.ebuild => shiboken6-6.3.2-r1.ebuild} | 6 +++---
 dev-python/shiboken6/shiboken6-6.4.0.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-python/shiboken6/shiboken6-6.3.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.3.2-r1.ebuild
similarity index 98%
rename from dev-python/shiboken6/shiboken6-6.3.2.ebuild
rename to dev-python/shiboken6/shiboken6-6.3.2-r1.ebuild
index 9db9451fc19c..f1a1020b53d9 100644
--- a/dev-python/shiboken6/shiboken6-6.3.2.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.3.2-r1.ebuild
@@ -37,11 +37,11 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="test"
 
 # Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-2):6"
+QT_PV="$(ver_cut 1-2)*:6"
 
 # Since Clang is required at both build- and runtime, BDEPEND is omitted here.
 RDEPEND="${PYTHON_DEPS}
-   >=dev-qt/qtbase-${QT_PV}
+   =dev-qt/qtbase-${QT_PV}
sys-devel/clang:=
sys-devel/clang-runtime:=
docstrings? (
@@ -52,7 +52,7 @@ RDEPEND="${PYTHON_DEPS}
vulkan? ( dev-util/vulkan-headers )
 "
 DEPEND="${RDEPEND}
-   test? ( >=dev-qt/qtbase-${QT_PV}[gui] )
+   test? ( =dev-qt/qtbase-${QT_PV}[gui] )
 "
 # testlib is toggled by the gui flag on qtbase
 

diff --git a/dev-python/shiboken6/shiboken6-6.4.0.ebuild 
b/dev-python/shiboken6/shiboken6-6.4.0.ebuild
index 4d5e47200b4c..6a98db403cb8 100644
--- a/dev-python/shiboken6/shiboken6-6.4.0.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.4.0.ebuild
@@ -37,12 +37,12 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="test"
 
 # Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-2):6"
+QT_PV="$(ver_cut 1-2)*:6"
 
 # Since Clang is required at both build- and runtime, BDEPEND is omitted here.
 LLVM_MAX_SLOT=15
 RDEPEND="${PYTHON_DEPS}
-   >=dev-qt/qtbase-${QT_PV}
+   =dev-qt/qtbase-${QT_PV}


[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2022-09-27 Thread Andrew Ammerlaan
commit: 79eff6c32adcccecd0ed7b99e18b6a6edf87cb40
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Sep 27 12:09:48 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Sep 27 12:15:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79eff6c3

dev-python/shiboken6: drop 6.3.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 -
 dev-python/shiboken6/shiboken6-6.3.1.ebuild | 168 
 2 files changed, 169 deletions(-)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 7d68dcdf8809..d775a81b0c8a 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1,2 +1 @@
-DIST pyside-setup-opensource-src-6.3.1.tar.xz 7685896 BLAKE2B 
66eb9ced1899fabea2be1b6471fcaa3eca4c74e989e7eab47dc44db623eb6242a713e1e7c7e2a6daad36994d3766cf7adc79e3601bfc3908a051fdc97b52522f
 SHA512 
81751fa9e2c492ceae42b3cb1f871d3f95f56cc07c382f02574899f3eab8db52453b0b636e63d53e0d2195f1686a01ad2bee20953aa0a8237719ec06d2b6e321
 DIST pyside-setup-opensource-src-6.3.2.tar.xz 7853068 BLAKE2B 
5b39e2f98bca0155d3f6617be206b759b628d0126fd30d76d67352c5c78a385938ce61a3c42b75343b9fde708e9f66617122c687ea9ecffca9cd0ab3af91a2ff
 SHA512 
8d25d20b64ac7874e9b7866f101b6bfd7b6fe1fffa602fec6113e1fdaa11608f14a58c2ae1d87b45ee3eac6a07bd55e66dbbd222727cfe6860d8f444bc2b1ff0

diff --git a/dev-python/shiboken6/shiboken6-6.3.1.ebuild 
b/dev-python/shiboken6/shiboken6-6.3.1.ebuild
deleted file mode 100644
index b44de045d9ad..
--- a/dev-python/shiboken6/shiboken6-6.3.1.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# TODO: Split the "/usr/bin/shiboken6" binding generator from the
-# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
-# requires everything (including Clang) at runtime; the latter only requires
-# Qt and Python at runtime. Note that "pip" separates these two as well. See:
-# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
-# Once split, the PySide6 ebuild should be revised to require
-# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
-# TODO: Add PyPy once officially supported. See also:
-# https://bugreports.qt.io/browse/PYSIDE-535
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit cmake llvm python-r1 toolchain-funcs
-
-MY_P=pyside-setup-opensource-src-${PV}
-
-DESCRIPTION="Python binding generator for C++ libraries"
-HOMEPAGE="https://wiki.qt.io/PySide6;
-SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz;
-S="${WORKDIR}/${MY_P}/sources/shiboken6"
-
-# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
-# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
-# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
-# arbitrarily relicensed. (TODO)
-LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+docstrings numpy test vulkan"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Tests fail pretty bad and I'm not fixing them right now
-RESTRICT="test"
-
-# Minimal supported version of Qt.
-QT_PV="$(ver_cut 1-2):6"
-
-# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
-RDEPEND="${PYTHON_DEPS}
-   >=dev-qt/qtbase-${QT_PV}
-   sys-devel/clang:=
-   sys-devel/clang-runtime:=
-   docstrings? (
-   >=dev-libs/libxml2-2.6.32
-   >=dev-libs/libxslt-1.1.19
-   )
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   vulkan? ( dev-util/vulkan-headers )
-"
-DEPEND="${RDEPEND}
-   test? ( >=dev-qt/qtbase-${QT_PV}[gui] )
-"
-# testlib is toggled by the gui flag on qtbase
-
-DOCS=( AUTHORS )
-
-PATCHES=(
-   "${FILESDIR}/${P}-no-strip.patch"
-)
-
-# Ensure the path returned by get_llvm_prefix() contains clang as well.
-llvm_check_deps() {
-   has_version "sys-devel/clang:${LLVM_SLOT}"
-}
-
-src_prepare() {
-   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
-   if ! use numpy; then
-   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
-   libshiboken/CMakeLists.txt || die
-   fi
-
-   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
-   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
-   if use vulkan; then
-   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
-   ApiExtractor/clangparser/compilersupport.cpp || die
-   fi
-
-   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
-   # subdirectory provides Clang builtin includes (e.g., "stddef.h") for 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2022-09-27 Thread Andrew Ammerlaan
commit: a3befd4e506007be66d4ba44b6d80bc4f8e062a9
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Sep 27 12:08:21 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Sep 27 12:15:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3befd4e

dev-python/shiboken6: add 6.3.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest   |   1 +
 dev-python/shiboken6/shiboken6-6.3.2.ebuild | 168 
 2 files changed, 169 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
index 92c9648ed03b..7d68dcdf8809 100644
--- a/dev-python/shiboken6/Manifest
+++ b/dev-python/shiboken6/Manifest
@@ -1 +1,2 @@
 DIST pyside-setup-opensource-src-6.3.1.tar.xz 7685896 BLAKE2B 
66eb9ced1899fabea2be1b6471fcaa3eca4c74e989e7eab47dc44db623eb6242a713e1e7c7e2a6daad36994d3766cf7adc79e3601bfc3908a051fdc97b52522f
 SHA512 
81751fa9e2c492ceae42b3cb1f871d3f95f56cc07c382f02574899f3eab8db52453b0b636e63d53e0d2195f1686a01ad2bee20953aa0a8237719ec06d2b6e321
+DIST pyside-setup-opensource-src-6.3.2.tar.xz 7853068 BLAKE2B 
5b39e2f98bca0155d3f6617be206b759b628d0126fd30d76d67352c5c78a385938ce61a3c42b75343b9fde708e9f66617122c687ea9ecffca9cd0ab3af91a2ff
 SHA512 
8d25d20b64ac7874e9b7866f101b6bfd7b6fe1fffa602fec6113e1fdaa11608f14a58c2ae1d87b45ee3eac6a07bd55e66dbbd222727cfe6860d8f444bc2b1ff0

diff --git a/dev-python/shiboken6/shiboken6-6.3.2.ebuild 
b/dev-python/shiboken6/shiboken6-6.3.2.ebuild
new file mode 100644
index ..9db9451fc19c
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.3.2.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_P=pyside-setup-opensource-src-${PV}
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz;
+S="${WORKDIR}/${MY_P}/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them right now
+RESTRICT="test"
+
+# Minimal supported version of Qt.
+QT_PV="$(ver_cut 1-2):6"
+
+# Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+RDEPEND="${PYTHON_DEPS}
+   >=dev-qt/qtbase-${QT_PV}
+   sys-devel/clang:=
+   sys-devel/clang-runtime:=
+   docstrings? (
+   >=dev-libs/libxml2-2.6.32
+   >=dev-libs/libxslt-1.1.19
+   )
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   vulkan? ( dev-util/vulkan-headers )
+"
+DEPEND="${RDEPEND}
+   test? ( >=dev-qt/qtbase-${QT_PV}[gui] )
+"
+# testlib is toggled by the gui flag on qtbase
+
+DOCS=( AUTHORS )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-6.3.1-no-strip.patch"
+)
+
+# Ensure the path returned by get_llvm_prefix() contains clang as well.
+llvm_check_deps() {
+   has_version "sys-devel/clang:${LLVM_SLOT}"
+}
+
+src_prepare() {
+   # TODO: File upstream issue requesting a sane way to disable NumPy 
support.
+   if ! use numpy; then
+   sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \
+   libshiboken/CMakeLists.txt || die
+   fi
+
+   # Shiboken6 assumes Vulkan headers live under either 
"$VULKAN_SDK/include"
+   # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan".
+   if use vulkan; then
+   sed -i -e 
"s~\bdetectVulkan();~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"),
 HeaderType::System});~" \
+   ApiExtractor/clangparser/compilersupport.cpp || die
+   fi
+
+   # Shiboken6 assumes the 
"/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/"
+   # subdirectory provides Clang builtin includes (e.g., "stddef.h") 

[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/

2022-08-13 Thread Andrew Ammerlaan
commit: 9d27bfa9d0a27979b88a4609e53fc0187c6442e5
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat Aug 13 13:27:29 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Aug 13 14:18:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d27bfa9

dev-python/shiboken6: add Bernd Waibel as maintainer

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/metadata.xml | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/shiboken6/metadata.xml 
b/dev-python/shiboken6/metadata.xml
index 5885bcbca714..e9260d23bd94 100644
--- a/dev-python/shiboken6/metadata.xml
+++ b/dev-python/shiboken6/metadata.xml
@@ -1,10 +1,14 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
andrewammerl...@gentoo.org
Andrew Ammerlaan

+   
+   waebbl-gen...@posteo.net
+   Bernd Waibel
+   

Expose documentation as Python 
docstrings (recommended)
Implicitly convert passed NumPy arrays to Qt 
lists



[gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/files/, dev-python/shiboken6/

2022-08-12 Thread Andrew Ammerlaan
commit: 15108f9b532bd2a35194aec8ea38f1dbd51bfac3
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Aug 12 15:09:51 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Aug 12 15:13:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15108f9b

dev-python/shiboken6: new package, add 6.3.1

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/shiboken6/Manifest  |   1 +
 .../shiboken6/files/shiboken6-6.3.1-no-strip.patch |  26 
 dev-python/shiboken6/metadata.xml  |  16 ++
 dev-python/shiboken6/shiboken6-6.3.1.ebuild| 168 +
 4 files changed, 211 insertions(+)

diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest
new file mode 100644
index ..92c9648ed03b
--- /dev/null
+++ b/dev-python/shiboken6/Manifest
@@ -0,0 +1 @@
+DIST pyside-setup-opensource-src-6.3.1.tar.xz 7685896 BLAKE2B 
66eb9ced1899fabea2be1b6471fcaa3eca4c74e989e7eab47dc44db623eb6242a713e1e7c7e2a6daad36994d3766cf7adc79e3601bfc3908a051fdc97b52522f
 SHA512 
81751fa9e2c492ceae42b3cb1f871d3f95f56cc07c382f02574899f3eab8db52453b0b636e63d53e0d2195f1686a01ad2bee20953aa0a8237719ec06d2b6e321

diff --git a/dev-python/shiboken6/files/shiboken6-6.3.1-no-strip.patch 
b/dev-python/shiboken6/files/shiboken6-6.3.1-no-strip.patch
new file mode 100644
index ..c43f945964d1
--- /dev/null
+++ b/dev-python/shiboken6/files/shiboken6-6.3.1-no-strip.patch
@@ -0,0 +1,26 @@
+diff --git a/libshiboken/CMakeLists.txt b/libshiboken/CMakeLists.txt
+index c65dcdb..f27287f 100644
+--- a/libshiboken/CMakeLists.txt
 b/libshiboken/CMakeLists.txt
+@@ -140,8 +140,6 @@ set_target_properties(libshiboken PROPERTIES OUTPUT_NAME 
"shiboken6${shiboken6_S
+  SOVERSION 
${libshiboken_SOVERSION}
+  DEFINE_SYMBOL BUILD_LIBSHIBOKEN)
+ 
+-qfp_strip_library("libshiboken")
+-
+ install(FILES
+ autodecref.h
+ basewrapper.h
+diff --git a/shibokenmodule/CMakeLists.txt b/shibokenmodule/CMakeLists.txt
+index 2d52766..8defd5d 100644
+--- a/shibokenmodule/CMakeLists.txt
 b/shibokenmodule/CMakeLists.txt
+@@ -34,8 +34,6 @@ target_link_libraries(shibokenmodule PUBLIC libshiboken)
+ 
+ create_generator_target(shibokenmodule)
+ 
+-qfp_strip_library("shibokenmodule")
+-
+ install(TARGETS shibokenmodule DESTINATION ${PYTHON_SITE_PACKAGES}/shiboken6)
+ 
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/_config.py.in"

diff --git a/dev-python/shiboken6/metadata.xml 
b/dev-python/shiboken6/metadata.xml
new file mode 100644
index ..5885bcbca714
--- /dev/null
+++ b/dev-python/shiboken6/metadata.xml
@@ -0,0 +1,16 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   andrewammerl...@gentoo.org
+   Andrew Ammerlaan
+   
+   
+   Expose documentation as Python 
docstrings (recommended)
+   Implicitly convert passed NumPy arrays to Qt 
lists
+   Generate "QSurface::VulkanSurface" 
bindings
+   
+   
+   shiboken6
+   
+

diff --git a/dev-python/shiboken6/shiboken6-6.3.1.ebuild 
b/dev-python/shiboken6/shiboken6-6.3.1.ebuild
new file mode 100644
index ..b44de045d9ad
--- /dev/null
+++ b/dev-python/shiboken6/shiboken6-6.3.1.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: Split the "/usr/bin/shiboken6" binding generator from the
+# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former
+# requires everything (including Clang) at runtime; the latter only requires
+# Qt and Python at runtime. Note that "pip" separates these two as well. See:
+# 
https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding
+# Once split, the PySide6 ebuild should be revised to require
+# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime.
+# TODO: Add PyPy once officially supported. See also:
+# https://bugreports.qt.io/browse/PYSIDE-535
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake llvm python-r1 toolchain-funcs
+
+MY_P=pyside-setup-opensource-src-${PV}
+
+DESCRIPTION="Python binding generator for C++ libraries"
+HOMEPAGE="https://wiki.qt.io/PySide6;
+SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_P}.tar.xz;
+S="${WORKDIR}/${MY_P}/sources/shiboken6"
+
+# The "sources/shiboken6/libshiboken" directory is triple-licensed under the
+# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3
+# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be
+# arbitrarily relicensed. (TODO)
+LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+docstrings numpy test vulkan"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests fail pretty bad and I'm not fixing them