Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New packages: python3-pyside6 + shiboken6 (Qt for python)
@ 2023-01-30 11:38 fanyx
  2023-01-30 14:34 ` [PR PATCH] [Updated] " fanyx
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: fanyx @ 2023-01-30 11:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

There is a new pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages python3-pyside6
https://github.com/void-linux/void-packages/pull/41957

New packages: python3-pyside6 + shiboken6 (Qt for python)
#### General
- [x] This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements)

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Package requests
Closes #39975 

A patch file from https://github.com/void-linux/void-packages/pull/41957.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-pyside6-41957.patch --]
[-- Type: text/x-diff, Size: 16551 bytes --]

From c2f1dfa7f7fcb9f41b933235dea4ca762884514e Mon Sep 17 00:00:00 2001
From: fanyx <fanyx+github@posteo.net>
Date: Mon, 30 Jan 2023 10:33:34 +0100
Subject: [PATCH 1/2] New package: shiboken6 6.4.2

---
 common/shlibs                                 |  1 +
 srcpkgs/libshiboken6                          |  1 +
 srcpkgs/libshiboken6-devel                    |  1 +
 srcpkgs/python3-shiboken6                     |  1 +
 .../shiboken6/patches/no-python-suffix.patch  | 38 +++++++++++
 .../patches/tests-need-python-modules.patch   | 15 +++++
 srcpkgs/shiboken6/template                    | 65 +++++++++++++++++++
 srcpkgs/shiboken6/update                      |  3 +
 8 files changed, 125 insertions(+)
 create mode 120000 srcpkgs/libshiboken6
 create mode 120000 srcpkgs/libshiboken6-devel
 create mode 120000 srcpkgs/python3-shiboken6
 create mode 100644 srcpkgs/shiboken6/patches/no-python-suffix.patch
 create mode 100644 srcpkgs/shiboken6/patches/tests-need-python-modules.patch
 create mode 100644 srcpkgs/shiboken6/template
 create mode 100644 srcpkgs/shiboken6/update

diff --git a/common/shlibs b/common/shlibs
index edb8a2c5dd73..90a3becae669 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1669,6 +1669,7 @@ libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
+libshiboken6.so.6.4 libshiboken6-6.4.2_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
 libnutclient.so.2 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libshiboken6 b/srcpkgs/libshiboken6
new file mode 120000
index 000000000000..5ac67303bf0d
--- /dev/null
+++ b/srcpkgs/libshiboken6
@@ -0,0 +1 @@
+shiboken6
\ No newline at end of file
diff --git a/srcpkgs/libshiboken6-devel b/srcpkgs/libshiboken6-devel
new file mode 120000
index 000000000000..5ac67303bf0d
--- /dev/null
+++ b/srcpkgs/libshiboken6-devel
@@ -0,0 +1 @@
+shiboken6
\ No newline at end of file
diff --git a/srcpkgs/python3-shiboken6 b/srcpkgs/python3-shiboken6
new file mode 120000
index 000000000000..5ac67303bf0d
--- /dev/null
+++ b/srcpkgs/python3-shiboken6
@@ -0,0 +1 @@
+shiboken6
\ No newline at end of file
diff --git a/srcpkgs/shiboken6/patches/no-python-suffix.patch b/srcpkgs/shiboken6/patches/no-python-suffix.patch
new file mode 100644
index 000000000000..d9878a255e41
--- /dev/null
+++ b/srcpkgs/shiboken6/patches/no-python-suffix.patch
@@ -0,0 +1,38 @@
+no python suffix like ".cpython-36m-x86_64-linux-gnu": provides a consistent
+naming across architecture.
+
+Also don't overwrite the "real" cmake file with the generic wrapper's one: they
+have the same name if no python suffix.
+
+--- a/sources/shiboken6/cmake/ShibokenSetup.cmake.ORIG
++++ b/sources/shiboken6/cmake/ShibokenSetup.cmake
+@@ -73,6 +73,11 @@
+         "PYTHON_CONFIG_SUFFIX is empty. It should never be empty. Please file a bug report.")
+ endif()
+ 
++# no suffix like '.cpython-36m-x86_64-linux-gnu'
++set(PYTHON_EXTENSION_SUFFIX "")
++set(PYTHON_CONFIG_SUFFIX "")
++set(PYTHON_SHARED_LIBRARY_SUFFIX "")
++
+ message(STATUS "PYTHON_EXTENSION_SUFFIX:      ${PYTHON_EXTENSION_SUFFIX}")
+ message(STATUS "PYTHON_CONFIG_SUFFIX:         ${PYTHON_CONFIG_SUFFIX}")
+ message(STATUS "PYTHON_SHARED_LIBRARY_SUFFIX: ${PYTHON_SHARED_LIBRARY_SUFFIX}")
+--- a/sources/shiboken6/data/CMakeLists.txt.ORIG
++++ b/sources/shiboken6/data/CMakeLists.txt
+@@ -37,15 +37,11 @@
+      PATH_VARS SHIBOKEN_PYTHON_MODULE_DIR SHIBOKEN_SHARED_LIBRARY_DIR
+ )
+ 
+-configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Shiboken6Config.cmake.in"
+-               "${CMAKE_CURRENT_BINARY_DIR}/Shiboken6Config.cmake" @ONLY)
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Shiboken6ConfigVersion.cmake.in"
+                "${CMAKE_CURRENT_BINARY_DIR}/Shiboken6ConfigVersion.cmake" @ONLY)
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/shiboken6.pc.in"
+                "${CMAKE_CURRENT_BINARY_DIR}/shiboken6${shiboken6_SUFFIX}.pc" @ONLY)
+ 
+-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Shiboken6Config.cmake"
+-        DESTINATION "${LIB_INSTALL_DIR}/cmake/Shiboken6-${shiboken6_VERSION}")
+ 
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/install/Shiboken6Config${PYTHON_CONFIG_SUFFIX}.cmake"
+         DESTINATION "${LIB_INSTALL_DIR}/cmake/Shiboken6-${shiboken6_VERSION}")
diff --git a/srcpkgs/shiboken6/patches/tests-need-python-modules.patch b/srcpkgs/shiboken6/patches/tests-need-python-modules.patch
new file mode 100644
index 000000000000..42b343713a75
--- /dev/null
+++ b/srcpkgs/shiboken6/patches/tests-need-python-modules.patch
@@ -0,0 +1,15 @@
+tests need python modules that are not yet installed, so point the built ones.
+Reported upstream: https://bugreports.qt.io/browse/PYSIDE-1429 (shiboken2)
+Updated for shiboken6 : use a shiboken6's temporary python module.
+
+--- a/sources/shiboken6/tests/CMakeLists.txt.ORIG	2021-05-05 08:27:28.000000000 +0200
++++ b/sources/shiboken6/tests/CMakeLists.txt	2021-05-14 17:37:25.572549382 +0200
+@@ -52,7 +52,7 @@
+     set(test_name "${CMAKE_MATCH_1}_${CMAKE_MATCH_3}")
+     list(FIND test_blacklist ${test_name} expect_fail)
+     add_test(${test_name} ${PYTHON_EXECUTABLE} ${test_file})
+-    set_tests_properties(${test_name} PROPERTIES ENVIRONMENT "BUILD_DIR=${BUILD_DIR}")
++    set_tests_properties(${test_name} PROPERTIES ENVIRONMENT "BUILD_DIR=${BUILD_DIR};PYTHONPATH=${minimal_BINARY_DIR}/../../tmpmodule:${minimal_BINARY_DIR}:${sample_BINARY_DIR}:${other_BINARY_DIR}:${smart_BINARY_DIR}")
+     set_tests_properties(${test_name} PROPERTIES TIMEOUT ${CTEST_TESTING_TIMEOUT})
+     if (${expect_fail} GREATER -1)
+         set_tests_properties(${test_name} PROPERTIES WILL_FAIL TRUE)
diff --git a/srcpkgs/shiboken6/template b/srcpkgs/shiboken6/template
new file mode 100644
index 000000000000..be030b769311
--- /dev/null
+++ b/srcpkgs/shiboken6/template
@@ -0,0 +1,65 @@
+# Template file for 'shiboken6'
+pkgname=shiboken6
+version=6.4.2
+revision=1
+_pkgname="pyside-setup-opensource-src-${version}"
+wrksrc="${_pkgname}"
+build_wrksrc="sources/shiboken6"
+build_style=cmake
+configure_args="-DNUMPY_INCLUDE_DIR=${XBPS_CROSS_BASE}/${py3_sitelib}/numpy/core/include"
+hostmakedepends="python3-devel"
+makedepends="qt6-base-devel python3-devel clang-tools-extra llvm libxslt-devel python3-numpy"
+depends="clang"
+short_desc="Python binding generator of Qt6 C++ API"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="GPL-3.0-only WITH Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
+homepage="https://doc.qt.io/qtforpython/shiboken6/"
+distfiles="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${version}-src/${_pkgname}.tar.xz"
+checksum=1ec9d0936332efd229650cf10fed36cadddff7a613a2ea6e897de4d504c1b505
+conflicts="shiboken2"
+python_version=3
+
+export CLANG_INSTALL_DIR=${XBPS_CROSS_BASE}/usr
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" qt6-base-devel shiboken6"
+	# use host's automoc
+	configure_args+=" -DQT_HOST_PATH=/usr"
+fi
+
+pre_check() {
+	# create a temporary shiboken6 python module for testing.
+	# Needed since 6.1 and the reorg of generated stuff
+	# (see https://bugreports.qt.io/browse/PYSIDE-1497)
+	# related with tests-need-python-modules.patch
+	local _tmpmodule="${cmake_builddir:=build}/tmpmodule/shiboken6"
+	mkdir -p ${_tmpmodule}
+	cp -p ${cmake_builddir}/__init__.py ${_tmpmodule}/.
+	cp -p ${cmake_builddir}/Shiboken.so ${_tmpmodule}/.
+}
+
+libshiboken6-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}
+	 libshiboken6-${version}_${revision} python3-shiboken6-${version}_${revision}"
+	short_desc+=" - common development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+libshiboken6_package() {
+	short_desc="Python3 shiboken6 bindings - shared library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+python3-shiboken6_package() {
+	short_desc="Python3 shiboken6 bindings"
+	pkg_install() {
+		vmove ${py3_sitelib}
+	}
+}
diff --git a/srcpkgs/shiboken6/update b/srcpkgs/shiboken6/update
new file mode 100644
index 000000000000..f83a7c336c30
--- /dev/null
+++ b/srcpkgs/shiboken6/update
@@ -0,0 +1,3 @@
+pkgname=pyside-setup-opensource-src
+vdprefix=PySide6-
+vdsuffix=-src

From 6c2b9af04ffdf2c313b0425b2caca741ddcd5da1 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx+github@posteo.net>
Date: Mon, 30 Jan 2023 11:58:37 +0100
Subject: [PATCH 2/2] New package: python3-pyside6 6.4.2

---
 common/shlibs                                 |  2 +
 srcpkgs/libpyside6-python3                    |  1 +
 srcpkgs/libpyside6-python3-devel              |  1 +
 .../patches/tests-disable-invalid-tests.patch | 27 +++++++++++
 ...tests-find-python-modules-from-build.patch | 24 ++++++++++
 .../patches/tests-fix-build_dir.patch         | 16 +++++++
 srcpkgs/python3-pyside6/template              | 47 +++++++++++++++++++
 srcpkgs/python3-pyside6/update                |  3 ++
 8 files changed, 121 insertions(+)
 create mode 120000 srcpkgs/libpyside6-python3
 create mode 120000 srcpkgs/libpyside6-python3-devel
 create mode 100644 srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch
 create mode 100644 srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch
 create mode 100644 srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch
 create mode 100644 srcpkgs/python3-pyside6/template
 create mode 100644 srcpkgs/python3-pyside6/update

diff --git a/common/shlibs b/common/shlibs
index 90a3becae669..57538c1a064b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1671,6 +1671,8 @@ libXaw3d.so.8 libXaw3d-1.6.2_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libshiboken6.so.6.4 libshiboken6-6.4.2_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
+libpyside6.so.6.4 libpyside6-python3-6.4.2_1
+libpyside6qml.so.6.4 libpyside6-python3-6.4.2_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
 libnutclient.so.2 libnetwork-ups-tools-2.8.0_1
 libnutscan.so.2 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libpyside6-python3 b/srcpkgs/libpyside6-python3
new file mode 120000
index 000000000000..6491748d6ac6
--- /dev/null
+++ b/srcpkgs/libpyside6-python3
@@ -0,0 +1 @@
+python3-pyside6
\ No newline at end of file
diff --git a/srcpkgs/libpyside6-python3-devel b/srcpkgs/libpyside6-python3-devel
new file mode 120000
index 000000000000..6491748d6ac6
--- /dev/null
+++ b/srcpkgs/libpyside6-python3-devel
@@ -0,0 +1 @@
+python3-pyside6
\ No newline at end of file
diff --git a/srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch b/srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch
new file mode 100644
index 000000000000..819fcfedb105
--- /dev/null
+++ b/srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch
@@ -0,0 +1,27 @@
+Disable failing tests for various reasons.
+pyside 6.1.0: about 5 tests out of 447 with "offline" backend display.
+
+--- a/sources/pyside6/tests/registry/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/registry/CMakeLists.txt	2021-05-08 13:41:06.980088190 +0200
+@@ -3,2 +3,1 @@
+ 
+-PYSIDE_TEST(existence_test.py)
+--- a/sources/pyside6/tests/QtWidgets/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/QtWidgets/CMakeLists.txt	2021-05-08 20:57:01.609450094 +0200
+@@ -119,7 +119,6 @@
+ PYSIDE_TEST(qtoolbox_test.py)
+ PYSIDE_TEST(qvariant_test.py)
+ PYSIDE_TEST(qwidget_setlayout_test.py)
+-PYSIDE_TEST(qwidget_test.py)
+ PYSIDE_TEST(qcolormap_test.py)
+ PYSIDE_TEST(reference_count_test.py)
+ PYSIDE_TEST(signature_test.py)
+# --- a/sources/pyside6/tests/QtOpenGL/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
+# +++ b/sources/pyside6/tests/QtOpenGL/CMakeLists.txt	2021-05-08 20:59:14.970903599 +0200
+# @@ -1,2 +1 @@
+# -PYSIDE_TEST(qopenglbuffer_test.py)
+#  PYSIDE_TEST(qopenglwindow_test.py)
+# --- a/sources/pyside6/tests/Qt3DExtras/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
+# +++ b/sources/pyside6/tests/Qt3DExtras/CMakeLists.txt	2021-05-09 00:43:00.059103014 +0200
+# @@ -1 +0,0 @@
+# -PYSIDE_TEST(qt3dextras_test.py)
diff --git a/srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch b/srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch
new file mode 100644
index 000000000000..3ae22735d651
--- /dev/null
+++ b/srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch
@@ -0,0 +1,24 @@
+Use pyside python modules from build since they are not installed yet.
+Reported upstream: https://bugreports.qt.io/browse/PYSIDE-1430 (pyside2)
+Additional fix for pyside6
+
+--- a/sources/pyside6/tests/init_paths.py.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/init_paths.py	2021-05-08 09:55:33.560511618 +0200
+@@ -48,13 +48,12 @@
+ 
+     python_dirs = [os.path.join(src_dir, 'util')]  # Helper module
+ 
+-    pyside_build_dir = os.path.join(get_build_dir(), 'pyside6')
+-    python_dirs.append(pyside_build_dir)   # for PySide6
+-    lib_dirs = [os.path.join(pyside_build_dir, 'libpyside'),
+-                os.path.join(pyside_build_dir, 'libpysideqml')]
++    python_dirs.append(get_build_dir())    # for PySide6
++    lib_dirs = [os.path.join(get_build_dir(), 'libpyside'),
++                os.path.join(get_build_dir(), 'libpysideqml')]
+ 
+     if testbindings_module:
+-        python_dirs.append(os.path.join(pyside_build_dir,
++        python_dirs.append(os.path.join(get_build_dir(),
+                                         'tests', 'pysidetest'))
+         lib_dirs.append(_get_qt_lib_dir())
+ 
diff --git a/srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch b/srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch
new file mode 100644
index 000000000000..e98bea498dde
--- /dev/null
+++ b/srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch
@@ -0,0 +1,16 @@
+Reported upstream: https://bugreports.qt.io/browse/PYSIDE-1430 (pyside2)
+Additional fix for qt6
+
+--- a/sources/pyside6/tests/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/CMakeLists.txt	2021-05-08 10:09:53.745441190 +0200
+@@ -4,8 +4,7 @@
+ 
+ # BUILD_DIR and QT_DIR are used by init_paths.py for setting
+ # the path to the testbinding module
+-get_filename_component(BUILD_DIR "${CMAKE_BINARY_DIR}" DIRECTORY)
+-get_filename_component(BUILD_DIR "${CMAKE_BINARY_DIR}" DIRECTORY)
+-set(QT_DIR "${_qt5Core_install_prefix}")
++set(BUILD_DIR "${CMAKE_BINARY_DIR}")
++set(QT_DIR "${QT6_INSTALL_PREFIX}")
+ 
+ macro(TEST_QT_MODULE var name)
diff --git a/srcpkgs/python3-pyside6/template b/srcpkgs/python3-pyside6/template
new file mode 100644
index 000000000000..e4ef3fda91f6
--- /dev/null
+++ b/srcpkgs/python3-pyside6/template
@@ -0,0 +1,47 @@
+# Template file for 'python3-pyside6'
+pkgname=python3-pyside6
+version=6.4.2
+revision=1
+_pkgname="pyside-setup-opensource-src-${version}"
+wrksrc="${_pkgname}"
+build_wrksrc="sources/pyside6"
+build_style=cmake
+configure_args="-DPYTHON_EXECUTABLE=/usr/bin/python -DQT_HOST_PATH=/usr"
+hostmakedepends="python3 shiboken6 qt6-base-devel"
+makedepends="libshiboken6-devel python3-devel qt6-base-devel qt6-tools-devel
+ qt6-declarative-devel qt6-scxml-devel qt6-svg-devel qt6-networkauth-devel
+ qt6-3d-devel qt6-charts-devel"
+checkdepends="tzdata qt6-plugin-sqlite"
+short_desc="Python3 bindings for the Qt6 toolkit"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="GPL-3.0-only WITH Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
+homepage="https://doc.qt.io/qtforpython/"
+distfiles="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${version}-src/${_pkgname}.tar.xz"
+checksum=1ec9d0936332efd229650cf10fed36cadddff7a613a2ea6e897de4d504c1b505
+
+# needed by shiboken6 runtime
+export CLANG_INSTALL_DIR=/usr
+
+pre_check() {
+	export QT_QPA_PLATFORM=offscreen
+}
+
+libpyside6-python3-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}
+	 libpyside6-python3-${version}_${revision}"
+	short_desc+=" - shared library (development files)"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove usr/share
+	}
+}
+
+libpyside6-python3_package() {
+	short_desc+=" - shared library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
diff --git a/srcpkgs/python3-pyside6/update b/srcpkgs/python3-pyside6/update
new file mode 100644
index 000000000000..f83a7c336c30
--- /dev/null
+++ b/srcpkgs/python3-pyside6/update
@@ -0,0 +1,3 @@
+pkgname=pyside-setup-opensource-src
+vdprefix=PySide6-
+vdsuffix=-src

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New packages: python3-pyside6 + shiboken6 (Qt for python)
  2023-01-30 11:38 [PR PATCH] New packages: python3-pyside6 + shiboken6 (Qt for python) fanyx
@ 2023-01-30 14:34 ` fanyx
  2023-04-26 10:21 ` fanyx
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: fanyx @ 2023-01-30 14:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages python3-pyside6
https://github.com/void-linux/void-packages/pull/41957

New packages: python3-pyside6 + shiboken6 (Qt for python)
#### General
- [x] This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements)

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Package requests
Closes #39975 

A patch file from https://github.com/void-linux/void-packages/pull/41957.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-pyside6-41957.patch --]
[-- Type: text/x-diff, Size: 16537 bytes --]

From 04b66d41cf925adfa6b69af757eac9df7b5476d9 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx+github@posteo.net>
Date: Mon, 30 Jan 2023 10:33:34 +0100
Subject: [PATCH 1/2] New package: shiboken6 6.4.2

---
 common/shlibs                                 |  1 +
 srcpkgs/libshiboken6                          |  1 +
 srcpkgs/libshiboken6-devel                    |  1 +
 srcpkgs/python3-shiboken6                     |  1 +
 .../shiboken6/patches/no-python-suffix.patch  | 38 +++++++++++
 .../patches/tests-need-python-modules.patch   | 15 +++++
 srcpkgs/shiboken6/template                    | 65 +++++++++++++++++++
 srcpkgs/shiboken6/update                      |  3 +
 8 files changed, 125 insertions(+)
 create mode 120000 srcpkgs/libshiboken6
 create mode 120000 srcpkgs/libshiboken6-devel
 create mode 120000 srcpkgs/python3-shiboken6
 create mode 100644 srcpkgs/shiboken6/patches/no-python-suffix.patch
 create mode 100644 srcpkgs/shiboken6/patches/tests-need-python-modules.patch
 create mode 100644 srcpkgs/shiboken6/template
 create mode 100644 srcpkgs/shiboken6/update

diff --git a/common/shlibs b/common/shlibs
index edb8a2c5dd73..90a3becae669 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1669,6 +1669,7 @@ libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
+libshiboken6.so.6.4 libshiboken6-6.4.2_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
 libnutclient.so.2 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libshiboken6 b/srcpkgs/libshiboken6
new file mode 120000
index 000000000000..5ac67303bf0d
--- /dev/null
+++ b/srcpkgs/libshiboken6
@@ -0,0 +1 @@
+shiboken6
\ No newline at end of file
diff --git a/srcpkgs/libshiboken6-devel b/srcpkgs/libshiboken6-devel
new file mode 120000
index 000000000000..5ac67303bf0d
--- /dev/null
+++ b/srcpkgs/libshiboken6-devel
@@ -0,0 +1 @@
+shiboken6
\ No newline at end of file
diff --git a/srcpkgs/python3-shiboken6 b/srcpkgs/python3-shiboken6
new file mode 120000
index 000000000000..5ac67303bf0d
--- /dev/null
+++ b/srcpkgs/python3-shiboken6
@@ -0,0 +1 @@
+shiboken6
\ No newline at end of file
diff --git a/srcpkgs/shiboken6/patches/no-python-suffix.patch b/srcpkgs/shiboken6/patches/no-python-suffix.patch
new file mode 100644
index 000000000000..d9878a255e41
--- /dev/null
+++ b/srcpkgs/shiboken6/patches/no-python-suffix.patch
@@ -0,0 +1,38 @@
+no python suffix like ".cpython-36m-x86_64-linux-gnu": provides a consistent
+naming across architecture.
+
+Also don't overwrite the "real" cmake file with the generic wrapper's one: they
+have the same name if no python suffix.
+
+--- a/sources/shiboken6/cmake/ShibokenSetup.cmake.ORIG
++++ b/sources/shiboken6/cmake/ShibokenSetup.cmake
+@@ -73,6 +73,11 @@
+         "PYTHON_CONFIG_SUFFIX is empty. It should never be empty. Please file a bug report.")
+ endif()
+ 
++# no suffix like '.cpython-36m-x86_64-linux-gnu'
++set(PYTHON_EXTENSION_SUFFIX "")
++set(PYTHON_CONFIG_SUFFIX "")
++set(PYTHON_SHARED_LIBRARY_SUFFIX "")
++
+ message(STATUS "PYTHON_EXTENSION_SUFFIX:      ${PYTHON_EXTENSION_SUFFIX}")
+ message(STATUS "PYTHON_CONFIG_SUFFIX:         ${PYTHON_CONFIG_SUFFIX}")
+ message(STATUS "PYTHON_SHARED_LIBRARY_SUFFIX: ${PYTHON_SHARED_LIBRARY_SUFFIX}")
+--- a/sources/shiboken6/data/CMakeLists.txt.ORIG
++++ b/sources/shiboken6/data/CMakeLists.txt
+@@ -37,15 +37,11 @@
+      PATH_VARS SHIBOKEN_PYTHON_MODULE_DIR SHIBOKEN_SHARED_LIBRARY_DIR
+ )
+ 
+-configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Shiboken6Config.cmake.in"
+-               "${CMAKE_CURRENT_BINARY_DIR}/Shiboken6Config.cmake" @ONLY)
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Shiboken6ConfigVersion.cmake.in"
+                "${CMAKE_CURRENT_BINARY_DIR}/Shiboken6ConfigVersion.cmake" @ONLY)
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/shiboken6.pc.in"
+                "${CMAKE_CURRENT_BINARY_DIR}/shiboken6${shiboken6_SUFFIX}.pc" @ONLY)
+ 
+-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Shiboken6Config.cmake"
+-        DESTINATION "${LIB_INSTALL_DIR}/cmake/Shiboken6-${shiboken6_VERSION}")
+ 
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/install/Shiboken6Config${PYTHON_CONFIG_SUFFIX}.cmake"
+         DESTINATION "${LIB_INSTALL_DIR}/cmake/Shiboken6-${shiboken6_VERSION}")
diff --git a/srcpkgs/shiboken6/patches/tests-need-python-modules.patch b/srcpkgs/shiboken6/patches/tests-need-python-modules.patch
new file mode 100644
index 000000000000..42b343713a75
--- /dev/null
+++ b/srcpkgs/shiboken6/patches/tests-need-python-modules.patch
@@ -0,0 +1,15 @@
+tests need python modules that are not yet installed, so point the built ones.
+Reported upstream: https://bugreports.qt.io/browse/PYSIDE-1429 (shiboken2)
+Updated for shiboken6 : use a shiboken6's temporary python module.
+
+--- a/sources/shiboken6/tests/CMakeLists.txt.ORIG	2021-05-05 08:27:28.000000000 +0200
++++ b/sources/shiboken6/tests/CMakeLists.txt	2021-05-14 17:37:25.572549382 +0200
+@@ -52,7 +52,7 @@
+     set(test_name "${CMAKE_MATCH_1}_${CMAKE_MATCH_3}")
+     list(FIND test_blacklist ${test_name} expect_fail)
+     add_test(${test_name} ${PYTHON_EXECUTABLE} ${test_file})
+-    set_tests_properties(${test_name} PROPERTIES ENVIRONMENT "BUILD_DIR=${BUILD_DIR}")
++    set_tests_properties(${test_name} PROPERTIES ENVIRONMENT "BUILD_DIR=${BUILD_DIR};PYTHONPATH=${minimal_BINARY_DIR}/../../tmpmodule:${minimal_BINARY_DIR}:${sample_BINARY_DIR}:${other_BINARY_DIR}:${smart_BINARY_DIR}")
+     set_tests_properties(${test_name} PROPERTIES TIMEOUT ${CTEST_TESTING_TIMEOUT})
+     if (${expect_fail} GREATER -1)
+         set_tests_properties(${test_name} PROPERTIES WILL_FAIL TRUE)
diff --git a/srcpkgs/shiboken6/template b/srcpkgs/shiboken6/template
new file mode 100644
index 000000000000..9aa64a8eac35
--- /dev/null
+++ b/srcpkgs/shiboken6/template
@@ -0,0 +1,65 @@
+# Template file for 'shiboken6'
+pkgname=shiboken6
+version=6.4.2
+revision=1
+_pkgname="pyside-setup-opensource-src-${version}"
+# wrksrc="${_pkgname}"
+build_wrksrc="sources/shiboken6"
+build_style=cmake
+configure_args="-DNUMPY_INCLUDE_DIR=${XBPS_CROSS_BASE}/${py3_sitelib}/numpy/core/include"
+hostmakedepends="python3-devel"
+makedepends="qt6-base-devel python3-devel clang-tools-extra llvm libxslt-devel python3-numpy"
+depends="clang"
+short_desc="Python binding generator of Qt6 C++ API"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="GPL-3.0-only WITH Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
+homepage="https://doc.qt.io/qtforpython/shiboken6/"
+distfiles="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${version}-src/${_pkgname}.tar.xz"
+checksum=1ec9d0936332efd229650cf10fed36cadddff7a613a2ea6e897de4d504c1b505
+conflicts="shiboken2"
+python_version=3
+
+export CLANG_INSTALL_DIR=${XBPS_CROSS_BASE}/usr
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" qt6-base-devel shiboken6"
+	# use host's automoc
+	configure_args+=" -DQT_HOST_PATH=/usr"
+fi
+
+pre_check() {
+	# create a temporary shiboken6 python module for testing.
+	# Needed since 6.1 and the reorg of generated stuff
+	# (see https://bugreports.qt.io/browse/PYSIDE-1497)
+	# related with tests-need-python-modules.patch
+	local _tmpmodule="${cmake_builddir:=build}/tmpmodule/shiboken6"
+	mkdir -p ${_tmpmodule}
+	cp -p ${cmake_builddir}/__init__.py ${_tmpmodule}/.
+	cp -p ${cmake_builddir}/Shiboken.so ${_tmpmodule}/.
+}
+
+libshiboken6-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}
+	 libshiboken6-${version}_${revision} python3-shiboken6-${version}_${revision}"
+	short_desc+=" - common development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+libshiboken6_package() {
+	short_desc="Python3 shiboken6 bindings - shared library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+python3-shiboken6_package() {
+	short_desc="Python3 shiboken6 bindings"
+	pkg_install() {
+		vmove ${py3_sitelib}
+	}
+}
diff --git a/srcpkgs/shiboken6/update b/srcpkgs/shiboken6/update
new file mode 100644
index 000000000000..f83a7c336c30
--- /dev/null
+++ b/srcpkgs/shiboken6/update
@@ -0,0 +1,3 @@
+pkgname=pyside-setup-opensource-src
+vdprefix=PySide6-
+vdsuffix=-src

From 5deab22e0782001b2c9911706b4188e3e316f953 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx+github@posteo.net>
Date: Mon, 30 Jan 2023 11:58:37 +0100
Subject: [PATCH 2/2] New package: python3-pyside6 6.4.2

---
 common/shlibs                                 |  2 +
 srcpkgs/libpyside6-python3                    |  1 +
 srcpkgs/libpyside6-python3-devel              |  1 +
 .../patches/tests-disable-invalid-tests.patch | 27 +++++++++++
 ...tests-find-python-modules-from-build.patch | 24 ++++++++++
 .../patches/tests-fix-build_dir.patch         | 16 +++++++
 srcpkgs/python3-pyside6/template              | 47 +++++++++++++++++++
 srcpkgs/python3-pyside6/update                |  3 ++
 8 files changed, 121 insertions(+)
 create mode 120000 srcpkgs/libpyside6-python3
 create mode 120000 srcpkgs/libpyside6-python3-devel
 create mode 100644 srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch
 create mode 100644 srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch
 create mode 100644 srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch
 create mode 100644 srcpkgs/python3-pyside6/template
 create mode 100644 srcpkgs/python3-pyside6/update

diff --git a/common/shlibs b/common/shlibs
index 90a3becae669..57538c1a064b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1671,6 +1671,8 @@ libXaw3d.so.8 libXaw3d-1.6.2_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libshiboken6.so.6.4 libshiboken6-6.4.2_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
+libpyside6.so.6.4 libpyside6-python3-6.4.2_1
+libpyside6qml.so.6.4 libpyside6-python3-6.4.2_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
 libnutclient.so.2 libnetwork-ups-tools-2.8.0_1
 libnutscan.so.2 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libpyside6-python3 b/srcpkgs/libpyside6-python3
new file mode 120000
index 000000000000..6491748d6ac6
--- /dev/null
+++ b/srcpkgs/libpyside6-python3
@@ -0,0 +1 @@
+python3-pyside6
\ No newline at end of file
diff --git a/srcpkgs/libpyside6-python3-devel b/srcpkgs/libpyside6-python3-devel
new file mode 120000
index 000000000000..6491748d6ac6
--- /dev/null
+++ b/srcpkgs/libpyside6-python3-devel
@@ -0,0 +1 @@
+python3-pyside6
\ No newline at end of file
diff --git a/srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch b/srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch
new file mode 100644
index 000000000000..d22c7a04c0ee
--- /dev/null
+++ b/srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch
@@ -0,0 +1,27 @@
+Disable failing tests for various reasons.
+pyside 6.1.0: about 5 tests out of 447 with "offline" backend display.
+
+--- a/sources/pyside6/tests/registry/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/registry/CMakeLists.txt	2021-05-08 13:41:06.980088190 +0200
+@@ -3,2 +3,1 @@
+ 
+-PYSIDE_TEST(existence_test.py)
+--- a/sources/pyside6/tests/QtWidgets/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/QtWidgets/CMakeLists.txt	2021-05-08 20:57:01.609450094 +0200
+@@ -119,7 +119,6 @@
+ PYSIDE_TEST(qtoolbox_test.py)
+ PYSIDE_TEST(qvariant_test.py)
+ PYSIDE_TEST(qwidget_setlayout_test.py)
+-PYSIDE_TEST(qwidget_test.py)
+ PYSIDE_TEST(qcolormap_test.py)
+ PYSIDE_TEST(reference_count_test.py)
+ PYSIDE_TEST(signature_test.py)
+--- a/sources/pyside6/tests/QtOpenGL/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/QtOpenGL/CMakeLists.txt	2021-05-08 20:59:14.970903599 +0200
+@@ -1,2 +1 @@
+-PYSIDE_TEST(qopenglbuffer_test.py)
+ PYSIDE_TEST(qopenglwindow_test.py)
+--- a/sources/pyside6/tests/Qt3DExtras/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/Qt3DExtras/CMakeLists.txt	2021-05-09 00:43:00.059103014 +0200
+@@ -1 +0,0 @@
+-PYSIDE_TEST(qt3dextras_test.py)
diff --git a/srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch b/srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch
new file mode 100644
index 000000000000..3ae22735d651
--- /dev/null
+++ b/srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch
@@ -0,0 +1,24 @@
+Use pyside python modules from build since they are not installed yet.
+Reported upstream: https://bugreports.qt.io/browse/PYSIDE-1430 (pyside2)
+Additional fix for pyside6
+
+--- a/sources/pyside6/tests/init_paths.py.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/init_paths.py	2021-05-08 09:55:33.560511618 +0200
+@@ -48,13 +48,12 @@
+ 
+     python_dirs = [os.path.join(src_dir, 'util')]  # Helper module
+ 
+-    pyside_build_dir = os.path.join(get_build_dir(), 'pyside6')
+-    python_dirs.append(pyside_build_dir)   # for PySide6
+-    lib_dirs = [os.path.join(pyside_build_dir, 'libpyside'),
+-                os.path.join(pyside_build_dir, 'libpysideqml')]
++    python_dirs.append(get_build_dir())    # for PySide6
++    lib_dirs = [os.path.join(get_build_dir(), 'libpyside'),
++                os.path.join(get_build_dir(), 'libpysideqml')]
+ 
+     if testbindings_module:
+-        python_dirs.append(os.path.join(pyside_build_dir,
++        python_dirs.append(os.path.join(get_build_dir(),
+                                         'tests', 'pysidetest'))
+         lib_dirs.append(_get_qt_lib_dir())
+ 
diff --git a/srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch b/srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch
new file mode 100644
index 000000000000..e98bea498dde
--- /dev/null
+++ b/srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch
@@ -0,0 +1,16 @@
+Reported upstream: https://bugreports.qt.io/browse/PYSIDE-1430 (pyside2)
+Additional fix for qt6
+
+--- a/sources/pyside6/tests/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/CMakeLists.txt	2021-05-08 10:09:53.745441190 +0200
+@@ -4,8 +4,7 @@
+ 
+ # BUILD_DIR and QT_DIR are used by init_paths.py for setting
+ # the path to the testbinding module
+-get_filename_component(BUILD_DIR "${CMAKE_BINARY_DIR}" DIRECTORY)
+-get_filename_component(BUILD_DIR "${CMAKE_BINARY_DIR}" DIRECTORY)
+-set(QT_DIR "${_qt5Core_install_prefix}")
++set(BUILD_DIR "${CMAKE_BINARY_DIR}")
++set(QT_DIR "${QT6_INSTALL_PREFIX}")
+ 
+ macro(TEST_QT_MODULE var name)
diff --git a/srcpkgs/python3-pyside6/template b/srcpkgs/python3-pyside6/template
new file mode 100644
index 000000000000..6e0ffb3024bb
--- /dev/null
+++ b/srcpkgs/python3-pyside6/template
@@ -0,0 +1,47 @@
+# Template file for 'python3-pyside6'
+pkgname=python3-pyside6
+version=6.4.2
+revision=1
+_pkgname="pyside-setup-opensource-src-${version}"
+# wrksrc="${_pkgname}"
+build_wrksrc="sources/pyside6"
+build_style=cmake
+configure_args="-DPYTHON_EXECUTABLE=/usr/bin/python -DQT_HOST_PATH=/usr"
+hostmakedepends="python3 shiboken6 qt6-base-devel"
+makedepends="libshiboken6-devel python3-devel qt6-base-devel qt6-tools-devel
+ qt6-declarative-devel qt6-scxml-devel qt6-svg-devel qt6-networkauth-devel
+ qt6-3d-devel qt6-charts-devel"
+checkdepends="tzdata qt6-plugin-sqlite"
+short_desc="Python3 bindings for the Qt6 toolkit"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="GPL-3.0-only WITH Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
+homepage="https://doc.qt.io/qtforpython/"
+distfiles="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${version}-src/${_pkgname}.tar.xz"
+checksum=1ec9d0936332efd229650cf10fed36cadddff7a613a2ea6e897de4d504c1b505
+
+# needed by shiboken6 runtime
+export CLANG_INSTALL_DIR=/usr
+
+pre_check() {
+	export QT_QPA_PLATFORM=offscreen
+}
+
+libpyside6-python3-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}
+	 libpyside6-python3-${version}_${revision}"
+	short_desc+=" - shared library (development files)"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove usr/share
+	}
+}
+
+libpyside6-python3_package() {
+	short_desc+=" - shared library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
diff --git a/srcpkgs/python3-pyside6/update b/srcpkgs/python3-pyside6/update
new file mode 100644
index 000000000000..f83a7c336c30
--- /dev/null
+++ b/srcpkgs/python3-pyside6/update
@@ -0,0 +1,3 @@
+pkgname=pyside-setup-opensource-src
+vdprefix=PySide6-
+vdsuffix=-src

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New packages: python3-pyside6 + shiboken6 (Qt for python)
  2023-01-30 11:38 [PR PATCH] New packages: python3-pyside6 + shiboken6 (Qt for python) fanyx
  2023-01-30 14:34 ` [PR PATCH] [Updated] " fanyx
@ 2023-04-26 10:21 ` fanyx
  2023-05-25 21:02 ` chrysos349
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: fanyx @ 2023-04-26 10:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages python3-pyside6
https://github.com/void-linux/void-packages/pull/41957

New packages: python3-pyside6 + shiboken6 (Qt for python)
#### General
- [x] This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements)

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Package requests
Closes #39975 

A patch file from https://github.com/void-linux/void-packages/pull/41957.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-pyside6-41957.patch --]
[-- Type: text/x-diff, Size: 16537 bytes --]

From 4a23c89364cc7e4c50551d8cbb5177eea193d65a Mon Sep 17 00:00:00 2001
From: fanyx <fanyx+github@posteo.net>
Date: Mon, 30 Jan 2023 10:33:34 +0100
Subject: [PATCH 1/2] New package: shiboken6 6.5.0

---
 common/shlibs                                 |  1 +
 srcpkgs/libshiboken6                          |  1 +
 srcpkgs/libshiboken6-devel                    |  1 +
 srcpkgs/python3-shiboken6                     |  1 +
 .../shiboken6/patches/no-python-suffix.patch  | 38 +++++++++++
 .../patches/tests-need-python-modules.patch   | 15 +++++
 srcpkgs/shiboken6/template                    | 65 +++++++++++++++++++
 srcpkgs/shiboken6/update                      |  3 +
 8 files changed, 125 insertions(+)
 create mode 120000 srcpkgs/libshiboken6
 create mode 120000 srcpkgs/libshiboken6-devel
 create mode 120000 srcpkgs/python3-shiboken6
 create mode 100644 srcpkgs/shiboken6/patches/no-python-suffix.patch
 create mode 100644 srcpkgs/shiboken6/patches/tests-need-python-modules.patch
 create mode 100644 srcpkgs/shiboken6/template
 create mode 100644 srcpkgs/shiboken6/update

diff --git a/common/shlibs b/common/shlibs
index 3f37bcd7614e..70326d68f9bf 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1677,6 +1677,7 @@ libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
+libshiboken6.so.6.4 libshiboken6-6.4.2_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
 libnutclient.so.2 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libshiboken6 b/srcpkgs/libshiboken6
new file mode 120000
index 000000000000..5ac67303bf0d
--- /dev/null
+++ b/srcpkgs/libshiboken6
@@ -0,0 +1 @@
+shiboken6
\ No newline at end of file
diff --git a/srcpkgs/libshiboken6-devel b/srcpkgs/libshiboken6-devel
new file mode 120000
index 000000000000..5ac67303bf0d
--- /dev/null
+++ b/srcpkgs/libshiboken6-devel
@@ -0,0 +1 @@
+shiboken6
\ No newline at end of file
diff --git a/srcpkgs/python3-shiboken6 b/srcpkgs/python3-shiboken6
new file mode 120000
index 000000000000..5ac67303bf0d
--- /dev/null
+++ b/srcpkgs/python3-shiboken6
@@ -0,0 +1 @@
+shiboken6
\ No newline at end of file
diff --git a/srcpkgs/shiboken6/patches/no-python-suffix.patch b/srcpkgs/shiboken6/patches/no-python-suffix.patch
new file mode 100644
index 000000000000..d9878a255e41
--- /dev/null
+++ b/srcpkgs/shiboken6/patches/no-python-suffix.patch
@@ -0,0 +1,38 @@
+no python suffix like ".cpython-36m-x86_64-linux-gnu": provides a consistent
+naming across architecture.
+
+Also don't overwrite the "real" cmake file with the generic wrapper's one: they
+have the same name if no python suffix.
+
+--- a/sources/shiboken6/cmake/ShibokenSetup.cmake.ORIG
++++ b/sources/shiboken6/cmake/ShibokenSetup.cmake
+@@ -73,6 +73,11 @@
+         "PYTHON_CONFIG_SUFFIX is empty. It should never be empty. Please file a bug report.")
+ endif()
+ 
++# no suffix like '.cpython-36m-x86_64-linux-gnu'
++set(PYTHON_EXTENSION_SUFFIX "")
++set(PYTHON_CONFIG_SUFFIX "")
++set(PYTHON_SHARED_LIBRARY_SUFFIX "")
++
+ message(STATUS "PYTHON_EXTENSION_SUFFIX:      ${PYTHON_EXTENSION_SUFFIX}")
+ message(STATUS "PYTHON_CONFIG_SUFFIX:         ${PYTHON_CONFIG_SUFFIX}")
+ message(STATUS "PYTHON_SHARED_LIBRARY_SUFFIX: ${PYTHON_SHARED_LIBRARY_SUFFIX}")
+--- a/sources/shiboken6/data/CMakeLists.txt.ORIG
++++ b/sources/shiboken6/data/CMakeLists.txt
+@@ -37,15 +37,11 @@
+      PATH_VARS SHIBOKEN_PYTHON_MODULE_DIR SHIBOKEN_SHARED_LIBRARY_DIR
+ )
+ 
+-configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Shiboken6Config.cmake.in"
+-               "${CMAKE_CURRENT_BINARY_DIR}/Shiboken6Config.cmake" @ONLY)
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Shiboken6ConfigVersion.cmake.in"
+                "${CMAKE_CURRENT_BINARY_DIR}/Shiboken6ConfigVersion.cmake" @ONLY)
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/shiboken6.pc.in"
+                "${CMAKE_CURRENT_BINARY_DIR}/shiboken6${shiboken6_SUFFIX}.pc" @ONLY)
+ 
+-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Shiboken6Config.cmake"
+-        DESTINATION "${LIB_INSTALL_DIR}/cmake/Shiboken6-${shiboken6_VERSION}")
+ 
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/install/Shiboken6Config${PYTHON_CONFIG_SUFFIX}.cmake"
+         DESTINATION "${LIB_INSTALL_DIR}/cmake/Shiboken6-${shiboken6_VERSION}")
diff --git a/srcpkgs/shiboken6/patches/tests-need-python-modules.patch b/srcpkgs/shiboken6/patches/tests-need-python-modules.patch
new file mode 100644
index 000000000000..42b343713a75
--- /dev/null
+++ b/srcpkgs/shiboken6/patches/tests-need-python-modules.patch
@@ -0,0 +1,15 @@
+tests need python modules that are not yet installed, so point the built ones.
+Reported upstream: https://bugreports.qt.io/browse/PYSIDE-1429 (shiboken2)
+Updated for shiboken6 : use a shiboken6's temporary python module.
+
+--- a/sources/shiboken6/tests/CMakeLists.txt.ORIG	2021-05-05 08:27:28.000000000 +0200
++++ b/sources/shiboken6/tests/CMakeLists.txt	2021-05-14 17:37:25.572549382 +0200
+@@ -52,7 +52,7 @@
+     set(test_name "${CMAKE_MATCH_1}_${CMAKE_MATCH_3}")
+     list(FIND test_blacklist ${test_name} expect_fail)
+     add_test(${test_name} ${PYTHON_EXECUTABLE} ${test_file})
+-    set_tests_properties(${test_name} PROPERTIES ENVIRONMENT "BUILD_DIR=${BUILD_DIR}")
++    set_tests_properties(${test_name} PROPERTIES ENVIRONMENT "BUILD_DIR=${BUILD_DIR};PYTHONPATH=${minimal_BINARY_DIR}/../../tmpmodule:${minimal_BINARY_DIR}:${sample_BINARY_DIR}:${other_BINARY_DIR}:${smart_BINARY_DIR}")
+     set_tests_properties(${test_name} PROPERTIES TIMEOUT ${CTEST_TESTING_TIMEOUT})
+     if (${expect_fail} GREATER -1)
+         set_tests_properties(${test_name} PROPERTIES WILL_FAIL TRUE)
diff --git a/srcpkgs/shiboken6/template b/srcpkgs/shiboken6/template
new file mode 100644
index 000000000000..f1224dbf57f9
--- /dev/null
+++ b/srcpkgs/shiboken6/template
@@ -0,0 +1,65 @@
+# Template file for 'shiboken6'
+pkgname=shiboken6
+version=6.5.0
+revision=1
+_pkgname="pyside-setup-opensource-src-${version}"
+# wrksrc="${_pkgname}"
+build_wrksrc="sources/shiboken6"
+build_style=cmake
+configure_args="-DNUMPY_INCLUDE_DIR=${XBPS_CROSS_BASE}/${py3_sitelib}/numpy/core/include"
+hostmakedepends="python3-devel"
+makedepends="qt6-base-devel python3-devel clang-tools-extra llvm libxslt-devel python3-numpy"
+depends="clang"
+short_desc="Python binding generator of Qt6 C++ API"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="GPL-3.0-only WITH Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
+homepage="https://doc.qt.io/qtforpython/shiboken6/"
+distfiles="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${version}-src/${_pkgname}.tar.xz"
+checksum=1ec9d0936332efd229650cf10fed36cadddff7a613a2ea6e897de4d504c1b505
+conflicts="shiboken2"
+python_version=3
+
+export CLANG_INSTALL_DIR=${XBPS_CROSS_BASE}/usr
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" qt6-base-devel shiboken6"
+	# use host's automoc
+	configure_args+=" -DQT_HOST_PATH=/usr"
+fi
+
+pre_check() {
+	# create a temporary shiboken6 python module for testing.
+	# Needed since 6.1 and the reorg of generated stuff
+	# (see https://bugreports.qt.io/browse/PYSIDE-1497)
+	# related with tests-need-python-modules.patch
+	local _tmpmodule="${cmake_builddir:=build}/tmpmodule/shiboken6"
+	mkdir -p ${_tmpmodule}
+	cp -p ${cmake_builddir}/__init__.py ${_tmpmodule}/.
+	cp -p ${cmake_builddir}/Shiboken.so ${_tmpmodule}/.
+}
+
+libshiboken6-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}
+	 libshiboken6-${version}_${revision} python3-shiboken6-${version}_${revision}"
+	short_desc+=" - common development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}
+
+libshiboken6_package() {
+	short_desc="Python3 shiboken6 bindings - shared library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+python3-shiboken6_package() {
+	short_desc="Python3 shiboken6 bindings"
+	pkg_install() {
+		vmove ${py3_sitelib}
+	}
+}
diff --git a/srcpkgs/shiboken6/update b/srcpkgs/shiboken6/update
new file mode 100644
index 000000000000..f83a7c336c30
--- /dev/null
+++ b/srcpkgs/shiboken6/update
@@ -0,0 +1,3 @@
+pkgname=pyside-setup-opensource-src
+vdprefix=PySide6-
+vdsuffix=-src

From 9ee57bfe2c2c5c5b2624dc73e40bde52b1c2ddda Mon Sep 17 00:00:00 2001
From: fanyx <fanyx+github@posteo.net>
Date: Mon, 30 Jan 2023 11:58:37 +0100
Subject: [PATCH 2/2] New package: python3-pyside6 6.5.0

---
 common/shlibs                                 |  2 +
 srcpkgs/libpyside6-python3                    |  1 +
 srcpkgs/libpyside6-python3-devel              |  1 +
 .../patches/tests-disable-invalid-tests.patch | 27 +++++++++++
 ...tests-find-python-modules-from-build.patch | 24 ++++++++++
 .../patches/tests-fix-build_dir.patch         | 16 +++++++
 srcpkgs/python3-pyside6/template              | 47 +++++++++++++++++++
 srcpkgs/python3-pyside6/update                |  3 ++
 8 files changed, 121 insertions(+)
 create mode 120000 srcpkgs/libpyside6-python3
 create mode 120000 srcpkgs/libpyside6-python3-devel
 create mode 100644 srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch
 create mode 100644 srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch
 create mode 100644 srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch
 create mode 100644 srcpkgs/python3-pyside6/template
 create mode 100644 srcpkgs/python3-pyside6/update

diff --git a/common/shlibs b/common/shlibs
index 70326d68f9bf..2d0cfbc24f76 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1679,6 +1679,8 @@ libXaw3d.so.8 libXaw3d-1.6.2_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libshiboken6.so.6.4 libshiboken6-6.4.2_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
+libpyside6.so.6.4 libpyside6-python3-6.4.2_1
+libpyside6qml.so.6.4 libpyside6-python3-6.4.2_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
 libnutclient.so.2 libnetwork-ups-tools-2.8.0_1
 libnutscan.so.2 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libpyside6-python3 b/srcpkgs/libpyside6-python3
new file mode 120000
index 000000000000..6491748d6ac6
--- /dev/null
+++ b/srcpkgs/libpyside6-python3
@@ -0,0 +1 @@
+python3-pyside6
\ No newline at end of file
diff --git a/srcpkgs/libpyside6-python3-devel b/srcpkgs/libpyside6-python3-devel
new file mode 120000
index 000000000000..6491748d6ac6
--- /dev/null
+++ b/srcpkgs/libpyside6-python3-devel
@@ -0,0 +1 @@
+python3-pyside6
\ No newline at end of file
diff --git a/srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch b/srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch
new file mode 100644
index 000000000000..d22c7a04c0ee
--- /dev/null
+++ b/srcpkgs/python3-pyside6/patches/tests-disable-invalid-tests.patch
@@ -0,0 +1,27 @@
+Disable failing tests for various reasons.
+pyside 6.1.0: about 5 tests out of 447 with "offline" backend display.
+
+--- a/sources/pyside6/tests/registry/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/registry/CMakeLists.txt	2021-05-08 13:41:06.980088190 +0200
+@@ -3,2 +3,1 @@
+ 
+-PYSIDE_TEST(existence_test.py)
+--- a/sources/pyside6/tests/QtWidgets/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/QtWidgets/CMakeLists.txt	2021-05-08 20:57:01.609450094 +0200
+@@ -119,7 +119,6 @@
+ PYSIDE_TEST(qtoolbox_test.py)
+ PYSIDE_TEST(qvariant_test.py)
+ PYSIDE_TEST(qwidget_setlayout_test.py)
+-PYSIDE_TEST(qwidget_test.py)
+ PYSIDE_TEST(qcolormap_test.py)
+ PYSIDE_TEST(reference_count_test.py)
+ PYSIDE_TEST(signature_test.py)
+--- a/sources/pyside6/tests/QtOpenGL/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/QtOpenGL/CMakeLists.txt	2021-05-08 20:59:14.970903599 +0200
+@@ -1,2 +1 @@
+-PYSIDE_TEST(qopenglbuffer_test.py)
+ PYSIDE_TEST(qopenglwindow_test.py)
+--- a/sources/pyside6/tests/Qt3DExtras/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/Qt3DExtras/CMakeLists.txt	2021-05-09 00:43:00.059103014 +0200
+@@ -1 +0,0 @@
+-PYSIDE_TEST(qt3dextras_test.py)
diff --git a/srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch b/srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch
new file mode 100644
index 000000000000..3ae22735d651
--- /dev/null
+++ b/srcpkgs/python3-pyside6/patches/tests-find-python-modules-from-build.patch
@@ -0,0 +1,24 @@
+Use pyside python modules from build since they are not installed yet.
+Reported upstream: https://bugreports.qt.io/browse/PYSIDE-1430 (pyside2)
+Additional fix for pyside6
+
+--- a/sources/pyside6/tests/init_paths.py.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/init_paths.py	2021-05-08 09:55:33.560511618 +0200
+@@ -48,13 +48,12 @@
+ 
+     python_dirs = [os.path.join(src_dir, 'util')]  # Helper module
+ 
+-    pyside_build_dir = os.path.join(get_build_dir(), 'pyside6')
+-    python_dirs.append(pyside_build_dir)   # for PySide6
+-    lib_dirs = [os.path.join(pyside_build_dir, 'libpyside'),
+-                os.path.join(pyside_build_dir, 'libpysideqml')]
++    python_dirs.append(get_build_dir())    # for PySide6
++    lib_dirs = [os.path.join(get_build_dir(), 'libpyside'),
++                os.path.join(get_build_dir(), 'libpysideqml')]
+ 
+     if testbindings_module:
+-        python_dirs.append(os.path.join(pyside_build_dir,
++        python_dirs.append(os.path.join(get_build_dir(),
+                                         'tests', 'pysidetest'))
+         lib_dirs.append(_get_qt_lib_dir())
+ 
diff --git a/srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch b/srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch
new file mode 100644
index 000000000000..e98bea498dde
--- /dev/null
+++ b/srcpkgs/python3-pyside6/patches/tests-fix-build_dir.patch
@@ -0,0 +1,16 @@
+Reported upstream: https://bugreports.qt.io/browse/PYSIDE-1430 (pyside2)
+Additional fix for qt6
+
+--- a/sources/pyside6/tests/CMakeLists.txt.ORIG	2021-04-19 18:07:00.000000000 +0200
++++ b/sources/pyside6/tests/CMakeLists.txt	2021-05-08 10:09:53.745441190 +0200
+@@ -4,8 +4,7 @@
+ 
+ # BUILD_DIR and QT_DIR are used by init_paths.py for setting
+ # the path to the testbinding module
+-get_filename_component(BUILD_DIR "${CMAKE_BINARY_DIR}" DIRECTORY)
+-get_filename_component(BUILD_DIR "${CMAKE_BINARY_DIR}" DIRECTORY)
+-set(QT_DIR "${_qt5Core_install_prefix}")
++set(BUILD_DIR "${CMAKE_BINARY_DIR}")
++set(QT_DIR "${QT6_INSTALL_PREFIX}")
+ 
+ macro(TEST_QT_MODULE var name)
diff --git a/srcpkgs/python3-pyside6/template b/srcpkgs/python3-pyside6/template
new file mode 100644
index 000000000000..3f3192b74ec2
--- /dev/null
+++ b/srcpkgs/python3-pyside6/template
@@ -0,0 +1,47 @@
+# Template file for 'python3-pyside6'
+pkgname=python3-pyside6
+version=6.5.0
+revision=1
+_pkgname="pyside-setup-opensource-src-${version}"
+# wrksrc="${_pkgname}"
+build_wrksrc="sources/pyside6"
+build_style=cmake
+configure_args="-DPYTHON_EXECUTABLE=/usr/bin/python -DQT_HOST_PATH=/usr"
+hostmakedepends="python3 shiboken6 qt6-base-devel"
+makedepends="libshiboken6-devel python3-devel qt6-base-devel qt6-tools-devel
+ qt6-declarative-devel qt6-scxml-devel qt6-svg-devel qt6-networkauth-devel
+ qt6-3d-devel qt6-charts-devel"
+checkdepends="tzdata qt6-plugin-sqlite"
+short_desc="Python3 bindings for the Qt6 toolkit"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="GPL-3.0-only WITH Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
+homepage="https://doc.qt.io/qtforpython/"
+distfiles="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${version}-src/${_pkgname}.tar.xz"
+checksum=1ec9d0936332efd229650cf10fed36cadddff7a613a2ea6e897de4d504c1b505
+
+# needed by shiboken6 runtime
+export CLANG_INSTALL_DIR=/usr
+
+pre_check() {
+	export QT_QPA_PLATFORM=offscreen
+}
+
+libpyside6-python3-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}
+	 libpyside6-python3-${version}_${revision}"
+	short_desc+=" - shared library (development files)"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove usr/share
+	}
+}
+
+libpyside6-python3_package() {
+	short_desc+=" - shared library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
diff --git a/srcpkgs/python3-pyside6/update b/srcpkgs/python3-pyside6/update
new file mode 100644
index 000000000000..f83a7c336c30
--- /dev/null
+++ b/srcpkgs/python3-pyside6/update
@@ -0,0 +1,3 @@
+pkgname=pyside-setup-opensource-src
+vdprefix=PySide6-
+vdsuffix=-src

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New packages: python3-pyside6 + shiboken6 (Qt for python)
  2023-01-30 11:38 [PR PATCH] New packages: python3-pyside6 + shiboken6 (Qt for python) fanyx
  2023-01-30 14:34 ` [PR PATCH] [Updated] " fanyx
  2023-04-26 10:21 ` fanyx
@ 2023-05-25 21:02 ` chrysos349
  2023-08-24  1:44 ` github-actions
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: chrysos349 @ 2023-05-25 21:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 736 bytes --]

New comment by chrysos349 on void-packages repository

https://github.com/void-linux/void-packages/pull/41957#issuecomment-1563502145

Comment:
```
=> shiboken6-6.5.0_1: fetching distfile 'pyside-setup-opensource-src-6.5.0.tar.xz' from 'https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-6.5.0-src/pyside-setup-opensource-src-6.5.0.tar.xz'...
https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-6.5.0-src/pyside-setup-opensource-src-6.5.0.tar.xz: Not Found
=> ERROR: shiboken6-6.5.0_1: failed to fetch 'pyside-setup-opensource-src-6.5.0.tar.xz'.
```
Here is the correct link
https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-6.5.0-src/pyside-setup-everywhere-src-6.5.0.tar.xz

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New packages: python3-pyside6 + shiboken6 (Qt for python)
  2023-01-30 11:38 [PR PATCH] New packages: python3-pyside6 + shiboken6 (Qt for python) fanyx
                   ` (2 preceding siblings ...)
  2023-05-25 21:02 ` chrysos349
@ 2023-08-24  1:44 ` github-actions
  2023-08-24 13:34 ` fanyx
  2023-08-24 13:34 ` [PR PATCH] [Closed]: " fanyx
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2023-08-24  1:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/41957#issuecomment-1690863085

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New packages: python3-pyside6 + shiboken6 (Qt for python)
  2023-01-30 11:38 [PR PATCH] New packages: python3-pyside6 + shiboken6 (Qt for python) fanyx
                   ` (3 preceding siblings ...)
  2023-08-24  1:44 ` github-actions
@ 2023-08-24 13:34 ` fanyx
  2023-08-24 13:34 ` [PR PATCH] [Closed]: " fanyx
  5 siblings, 0 replies; 7+ messages in thread
From: fanyx @ 2023-08-24 13:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/41957#issuecomment-1691689006

Comment:
taken over by @agausmann in #44418

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Closed]: New packages: python3-pyside6 + shiboken6 (Qt for python)
  2023-01-30 11:38 [PR PATCH] New packages: python3-pyside6 + shiboken6 (Qt for python) fanyx
                   ` (4 preceding siblings ...)
  2023-08-24 13:34 ` fanyx
@ 2023-08-24 13:34 ` fanyx
  5 siblings, 0 replies; 7+ messages in thread
From: fanyx @ 2023-08-24 13:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

There's a closed pull request on the void-packages repository

New packages: python3-pyside6 + shiboken6 (Qt for python)
https://github.com/void-linux/void-packages/pull/41957

Description:
#### General
- [x] This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements)

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

#### Package requests
Closes #39975 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-24 13:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 11:38 [PR PATCH] New packages: python3-pyside6 + shiboken6 (Qt for python) fanyx
2023-01-30 14:34 ` [PR PATCH] [Updated] " fanyx
2023-04-26 10:21 ` fanyx
2023-05-25 21:02 ` chrysos349
2023-08-24  1:44 ` github-actions
2023-08-24 13:34 ` fanyx
2023-08-24 13:34 ` [PR PATCH] [Closed]: " fanyx

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).