pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-pyside6: The PySide project provides LGPL-licensed Python bindings for the Qt.



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Wed Apr 2 21:12:41 2025 +1100
Changeset:	8f8c9b726c5bebe986a39cdf8bb2970878974815

Added Files:
	py-pyside6/COMMIT_MSG
	py-pyside6/DESCR
	py-pyside6/Makefile
	py-pyside6/PLIST
	py-pyside6/TODO
	py-pyside6/buildlink3.mk
	py-pyside6/distinfo
	py-pyside6/patches/patch-sources_pyside6_cmake_Macros_PySideModules.cmake
	py-pyside6/patches/patch-sources_shiboken6_libshiboken_helper.h

Log Message:
py-pyside6: The PySide project provides LGPL-licensed Python bindings for the Qt.

This builds against qt6.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8f8c9b726c5bebe986a39cdf8bb2970878974815

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pyside6/COMMIT_MSG                              |   8 +
 py-pyside6/DESCR                                   |   8 +
 py-pyside6/Makefile                                |  43 +++
 py-pyside6/PLIST                                   | 372 +++++++++++++++++++++
 py-pyside6/TODO                                    |   5 +
 py-pyside6/buildlink3.mk                           |  19 ++
 py-pyside6/distinfo                                |   7 +
 ...ources_pyside6_cmake_Macros_PySideModules.cmake |  27 ++
 .../patch-sources_shiboken6_libshiboken_helper.h   |  18 +
 9 files changed, 507 insertions(+)

diffs:
diff --git a/py-pyside6/COMMIT_MSG b/py-pyside6/COMMIT_MSG
new file mode 100644
index 0000000000..6ce85b8eff
--- /dev/null
+++ b/py-pyside6/COMMIT_MSG
@@ -0,0 +1,8 @@
+The PySide project provides LGPL-licensed Python bindings for the Qt.
+It also includes complete toolchain for rapidly generating bindings for
+any Qt-based C++ class hierarchies. PySide Qt bindings allow both free
+open source and proprietary software development and ultimately aim to
+support Qt platforms.
+
+The Qt for Python project aims to provide a complete port of the
+PySide module to Qt.
diff --git a/py-pyside6/DESCR b/py-pyside6/DESCR
new file mode 100644
index 0000000000..6ce85b8eff
--- /dev/null
+++ b/py-pyside6/DESCR
@@ -0,0 +1,8 @@
+The PySide project provides LGPL-licensed Python bindings for the Qt.
+It also includes complete toolchain for rapidly generating bindings for
+any Qt-based C++ class hierarchies. PySide Qt bindings allow both free
+open source and proprietary software development and ultimately aim to
+support Qt platforms.
+
+The Qt for Python project aims to provide a complete port of the
+PySide module to Qt.
diff --git a/py-pyside6/Makefile b/py-pyside6/Makefile
new file mode 100644
index 0000000000..0dcf7bfcc2
--- /dev/null
+++ b/py-pyside6/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: $
+
+VERSION=	6.8.2
+DISTNAME=	pyside-setup-everywhere-src-${VERSION}
+PKGNAME=	${PYPKGPREFIX}-pyside6-${VERSION}
+MASTER_SITES=	https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${VERSION}-src/
+
+EXTRACT_SUFX=	.tar.xz
+CATEGORIES=	x11
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://wiki.qt.io/Qt_for_Python
+COMMENT=	Qt6 bindings for Python
+LICENSE=	gnu-gpl-v2
+
+PYTHON_VERSIONS_ACCEPTED=	311
+USE_TOOLS+=			pkg-config
+USE_LANGUAGES+=			c c++
+CMAKE_CONFIGURE_ARGS+=		-DCMAKE_INSTALL_PREFIX:STRING="${PREFIX}"
+
+PLIST_SUBST+=	PYSITELIB=${PYSITELIB}
+PLIST_SUBST+=	PYTHON_VERSION=${PYTHON_VERSION}
+
+REPLACE_PYTHON+=	sources/pyside-tools/pyside_tool.py
+REPLACE_PYTHON+=	sources/pyside-tools/qtpy2cpp_lib/tests/baseline/basic_test.py
+REPLACE_PYTHON+=	sources/shiboken6/shiboken_tool.py
+
+.include "../../devel/cmake/build.mk"
+
+.include "../../devel/qt6-qttools/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/qt6-qtquick3d/buildlink3.mk"
+.include "../../lang/clang/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../math/py-numpy/buildlink3.mk"
+.include "../../multimedia/qt6-qtmultimedia/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../x11/libxkbcommon/buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../x11/qt6-qtserialport/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-pyside6/PLIST b/py-pyside6/PLIST
new file mode 100644
index 0000000000..817b032ff8
--- /dev/null
+++ b/py-pyside6/PLIST
@@ -0,0 +1,372 @@
+@comment $NetBSD$
+bin/android_deploy.py
+bin/assistant
+bin/balsam
+bin/balsamui
+bin/deploy.py
+bin/deploy_lib/__init__.py
+bin/deploy_lib/android/__init__.py
+bin/deploy_lib/android/android_config.py
+bin/deploy_lib/android/android_helper.py
+bin/deploy_lib/android/android_utilities.py
+bin/deploy_lib/android/buildozer.py
+bin/deploy_lib/android/recipes/PySide6/__init__.tmpl.py
+bin/deploy_lib/android/recipes/shiboken6/__init__.tmpl.py
+bin/deploy_lib/commands.py
+bin/deploy_lib/config.py
+bin/deploy_lib/default.spec
+bin/deploy_lib/dependency_util.py
+bin/deploy_lib/deploy_util.py
+bin/deploy_lib/nuitka_helper.py
+bin/deploy_lib/pyside_icon.icns
+bin/deploy_lib/pyside_icon.ico
+bin/deploy_lib/pyside_icon.jpg
+bin/deploy_lib/python_helper.py
+bin/designer
+bin/linguist
+bin/lrelease
+bin/lupdate
+bin/metaobjectdump.py
+bin/project.py
+bin/project_lib/__init__.py
+bin/project_lib/design_studio_project.py
+bin/project_lib/newproject.py
+bin/project_lib/project_data.py
+bin/project_lib/utils.py
+bin/pyside_tool.py
+bin/qml.py
+bin/qmlcachegen
+bin/qmlformat
+bin/qmlimportscanner
+bin/qmllint
+bin/qmlls
+bin/qmltyperegistrar
+bin/qsb
+bin/qtpy2cpp.py
+bin/qtpy2cpp_lib/astdump.py
+bin/qtpy2cpp_lib/formatter.py
+bin/qtpy2cpp_lib/nodedump.py
+bin/qtpy2cpp_lib/qt.py
+bin/qtpy2cpp_lib/tests/baseline/basic_test.cpp
+bin/qtpy2cpp_lib/tests/baseline/basic_test.py
+bin/qtpy2cpp_lib/tests/test_qtpy2cpp.py
+bin/qtpy2cpp_lib/tokenizer.py
+bin/qtpy2cpp_lib/visitor.py
+bin/rcc
+bin/requirements-android.txt
+bin/shiboken6
+bin/shiboken_tool.py
+bin/svgtoqml
+bin/uic
+include/PySide6/QtConcurrent/pyside6_qtconcurrent_python.h
+include/PySide6/QtCore/pyside6_qtcore_python.h
+include/PySide6/QtCore/qiopipe.h
+include/PySide6/QtCore/qtcorehelper.h
+include/PySide6/QtDBus/pyside6_qtdbus_python.h
+include/PySide6/QtDBus/qtdbushelper.h
+include/PySide6/QtDesigner/pyside6_qtdesigner_python.h
+include/PySide6/QtDesigner/qpydesignerextensions.h
+include/PySide6/QtGui/pyside6_qtgui_python.h
+include/PySide6/QtGui/qpytextobject.h
+include/PySide6/QtGui/qtguihelper.h
+include/PySide6/QtHelp/pyside6_qthelp_python.h
+include/PySide6/QtMultimedia/pyside6_qtmultimedia_python.h
+include/PySide6/QtMultimediaWidgets/pyside6_qtmultimediawidgets_python.h
+include/PySide6/QtNetwork/pyside6_qtnetwork_python.h
+include/PySide6/QtOpenGL/pyside6_qtopengl_python.h
+include/PySide6/QtOpenGLWidgets/pyside6_qtopenglwidgets_python.h
+include/PySide6/QtPrintSupport/pyside6_qtprintsupport_python.h
+include/PySide6/QtQml/pyside6_qtqml_python.h
+include/PySide6/QtQuick/pyside6_qtquick_python.h
+include/PySide6/QtQuick3D/pyside6_qtquick3d_python.h
+include/PySide6/QtQuickControls2/pyside6_qtquickcontrols2_python.h
+include/PySide6/QtQuickTest/pyside6_qtquicktest_python.h
+include/PySide6/QtQuickWidgets/pyside6_qtquickwidgets_python.h
+include/PySide6/QtSerialPort/pyside6_qtserialport_python.h
+include/PySide6/QtSpatialAudio/pyside6_qtspatialaudio_python.h
+include/PySide6/QtSql/pyside6_qtsql_python.h
+include/PySide6/QtSvg/pyside6_qtsvg_python.h
+include/PySide6/QtSvgWidgets/pyside6_qtsvgwidgets_python.h
+include/PySide6/QtTest/pyside6_qttest_python.h
+include/PySide6/QtUiTools/pyside6_qtuitools_python.h
+include/PySide6/QtWidgets/pyside6_qtwidgets_python.h
+include/PySide6/QtXml/pyside6_qtxml_python.h
+include/PySide6/class_property.h
+include/PySide6/dynamicqmetaobject.h
+include/PySide6/dynamicslot_p.h
+include/PySide6/feature_select.h
+include/PySide6/pyside.h
+include/PySide6/pyside6_global.h
+include/PySide6/pyside_numpy.h
+include/PySide6/pyside_p.h
+include/PySide6/pysideclassdecorator_p.h
+include/PySide6/pysideclassinfo.h
+include/PySide6/pysideclassinfo_p.h
+include/PySide6/pysidecleanup.h
+include/PySide6/pysideinit.h
+include/PySide6/pysidelogging_p.h
+include/PySide6/pysidemacros.h
+include/PySide6/pysidemetafunction.h
+include/PySide6/pysidemetafunction_p.h
+include/PySide6/pysidemetatype.h
+include/PySide6/pysideproperty.h
+include/PySide6/pysideproperty_p.h
+include/PySide6/pysideqapp.h
+include/PySide6/pysideqenum.h
+include/PySide6/pysideqhash.h
+include/PySide6/pysideqmetatype.h
+include/PySide6/pysideqml.h
+include/PySide6/pysideqmlattached.h
+include/PySide6/pysideqmlattached_p.h
+include/PySide6/pysideqmlextended_p.h
+include/PySide6/pysideqmlforeign_p.h
+include/PySide6/pysideqmllistproperty_p.h
+include/PySide6/pysideqmlmacros.h
+include/PySide6/pysideqmlmetacallerror_p.h
+include/PySide6/pysideqmlnamedelement_p.h
+include/PySide6/pysideqmlregistertype.h
+include/PySide6/pysideqmlregistertype_p.h
+include/PySide6/pysideqmltypeinfo_p.h
+include/PySide6/pysideqmluncreatable.h
+include/PySide6/pysideqobject.h
+include/PySide6/pysideqslotobject_p.h
+include/PySide6/pysidesignal.h
+include/PySide6/pysidesignal_p.h
+include/PySide6/pysideslot_p.h
+include/PySide6/pysidestaticstrings.h
+include/PySide6/pysideutils.h
+include/PySide6/pysideweakref.h
+include/PySide6/qobjectconnect.h
+include/PySide6/signalmanager.h
+include/shiboken6/autodecref.h
+include/shiboken6/basewrapper.h
+include/shiboken6/basewrapper_p.h
+include/shiboken6/bindingmanager.h
+include/shiboken6/bufferprocs_py37.h
+include/shiboken6/gilstate.h
+include/shiboken6/helper.h
+include/shiboken6/pep384ext.h
+include/shiboken6/pep384impl.h
+include/shiboken6/pyobjectholder.h
+include/shiboken6/sbkarrayconverter.h
+include/shiboken6/sbkcontainer.h
+include/shiboken6/sbkconverter.h
+include/shiboken6/sbkcppstring.h
+include/shiboken6/sbkcpptonumpy.h
+include/shiboken6/sbkenum.h
+include/shiboken6/sbkerrors.h
+include/shiboken6/sbkfeature_base.h
+include/shiboken6/sbkmodule.h
+include/shiboken6/sbknumpycheck.h
+include/shiboken6/sbknumpyview.h
+include/shiboken6/sbkpython.h
+include/shiboken6/sbksmartpointer.h
+include/shiboken6/sbkstaticstrings.h
+include/shiboken6/sbkstring.h
+include/shiboken6/sbktypefactory.h
+include/shiboken6/sbkversion.h
+include/shiboken6/sbkwindows.h
+include/shiboken6/shiboken.h
+include/shiboken6/shibokenbuffer.h
+include/shiboken6/shibokenmacros.h
+include/shiboken6/signature.h
+include/shiboken6/signature_p.h
+include/shiboken6/threadstatesaver.h
+include/shiboken6/voidptr.h
+lib/cmake/PySide6/PySide6Config.abi3.cmake
+lib/cmake/PySide6/PySide6Config.cmake
+lib/cmake/PySide6/PySide6ConfigVersion.cmake
+lib/cmake/PySide6/PySide6Targets-release.cmake
+lib/cmake/PySide6/PySide6Targets.cmake
+lib/cmake/PySide6Qml/PySide6QmlConfig.abi3.cmake
+lib/cmake/PySide6Qml/PySide6QmlConfig.cmake
+lib/cmake/PySide6Qml/PySide6QmlConfigVersion.cmake
+lib/cmake/PySide6Qml/PySide6QmlTargets-release.cmake
+lib/cmake/PySide6Qml/PySide6QmlTargets.cmake
+lib/cmake/Shiboken6/Shiboken6Config.abi3.cmake
+lib/cmake/Shiboken6/Shiboken6Config.cmake
+lib/cmake/Shiboken6/Shiboken6ConfigVersion.cmake
+lib/cmake/Shiboken6/Shiboken6Targets-release.cmake
+lib/cmake/Shiboken6/Shiboken6Targets.cmake
+lib/cmake/Shiboken6/ShibokenHelpers.cmake
+lib/cmake/Shiboken6Tools/Shiboken6ToolsConfig.cmake
+lib/cmake/Shiboken6Tools/Shiboken6ToolsConfigVersion.cmake
+lib/cmake/Shiboken6Tools/Shiboken6ToolsTargets-release.cmake
+lib/cmake/Shiboken6Tools/Shiboken6ToolsTargets.cmake
+lib/libpyside6.abi3.so
+lib/libpyside6.abi3.so.6.8
+lib/libpyside6.abi3.so.${PKGVERSION}
+lib/libpyside6qml.abi3.so
+lib/libpyside6qml.abi3.so.6.8
+lib/libpyside6qml.abi3.so.${PKGVERSION}
+lib/libshiboken6.abi3.so
+lib/libshiboken6.abi3.so.6.8
+lib/libshiboken6.abi3.so.${PKGVERSION}
+lib/pkgconfig/pyside6.pc
+lib/pkgconfig/shiboken6.pc
+${PYSITELIB}/PySide6/QtAsyncio/__init__.py
+${PYSITELIB}/PySide6/QtAsyncio/events.py
+${PYSITELIB}/PySide6/QtAsyncio/futures.py
+${PYSITELIB}/PySide6/QtAsyncio/tasks.py
+${PYSITELIB}/PySide6/QtConcurrent.abi3.so
+${PYSITELIB}/PySide6/QtConcurrent.pyi
+${PYSITELIB}/PySide6/QtCore.abi3.so
+${PYSITELIB}/PySide6/QtCore.pyi
+${PYSITELIB}/PySide6/QtDBus.abi3.so
+${PYSITELIB}/PySide6/QtDBus.pyi
+${PYSITELIB}/PySide6/QtDesigner.abi3.so
+${PYSITELIB}/PySide6/QtDesigner.pyi
+${PYSITELIB}/PySide6/QtExampleIcons.abi3.so
+${PYSITELIB}/PySide6/QtGui.abi3.so
+${PYSITELIB}/PySide6/QtGui.pyi
+${PYSITELIB}/PySide6/QtHelp.abi3.so
+${PYSITELIB}/PySide6/QtHelp.pyi
+${PYSITELIB}/PySide6/QtMultimedia.abi3.so
+${PYSITELIB}/PySide6/QtMultimedia.pyi
+${PYSITELIB}/PySide6/QtMultimediaWidgets.abi3.so
+${PYSITELIB}/PySide6/QtMultimediaWidgets.pyi
+${PYSITELIB}/PySide6/QtNetwork.abi3.so
+${PYSITELIB}/PySide6/QtNetwork.pyi
+${PYSITELIB}/PySide6/QtOpenGL.abi3.so
+${PYSITELIB}/PySide6/QtOpenGL.pyi
+${PYSITELIB}/PySide6/QtOpenGLWidgets.abi3.so
+${PYSITELIB}/PySide6/QtOpenGLWidgets.pyi
+${PYSITELIB}/PySide6/QtPrintSupport.abi3.so
+${PYSITELIB}/PySide6/QtPrintSupport.pyi
+${PYSITELIB}/PySide6/QtQml.abi3.so
+${PYSITELIB}/PySide6/QtQml.pyi
+${PYSITELIB}/PySide6/QtQuick.abi3.so
+${PYSITELIB}/PySide6/QtQuick.pyi
+${PYSITELIB}/PySide6/QtQuick3D.abi3.so
+${PYSITELIB}/PySide6/QtQuick3D.pyi
+${PYSITELIB}/PySide6/QtQuickControls2.abi3.so
+${PYSITELIB}/PySide6/QtQuickControls2.pyi
+${PYSITELIB}/PySide6/QtQuickTest.abi3.so
+${PYSITELIB}/PySide6/QtQuickTest.pyi
+${PYSITELIB}/PySide6/QtQuickWidgets.abi3.so
+${PYSITELIB}/PySide6/QtQuickWidgets.pyi
+${PYSITELIB}/PySide6/QtSerialPort.abi3.so
+${PYSITELIB}/PySide6/QtSerialPort.pyi
+${PYSITELIB}/PySide6/QtSpatialAudio.abi3.so
+${PYSITELIB}/PySide6/QtSpatialAudio.pyi
+${PYSITELIB}/PySide6/QtSql.abi3.so
+${PYSITELIB}/PySide6/QtSql.pyi
+${PYSITELIB}/PySide6/QtSvg.abi3.so
+${PYSITELIB}/PySide6/QtSvg.pyi
+${PYSITELIB}/PySide6/QtSvgWidgets.abi3.so
+${PYSITELIB}/PySide6/QtSvgWidgets.pyi
+${PYSITELIB}/PySide6/QtTest.abi3.so
+${PYSITELIB}/PySide6/QtTest.pyi
+${PYSITELIB}/PySide6/QtUiTools.abi3.so
+${PYSITELIB}/PySide6/QtUiTools.pyi
+${PYSITELIB}/PySide6/QtWidgets.abi3.so
+${PYSITELIB}/PySide6/QtWidgets.pyi
+${PYSITELIB}/PySide6/QtXml.abi3.so
+${PYSITELIB}/PySide6/QtXml.pyi
+${PYSITELIB}/PySide6/__init__.py
+${PYSITELIB}/PySide6/_config.py
+${PYSITELIB}/PySide6/_git_pyside_version.py
+${PYSITELIB}/PySide6/support/__init__.py
+${PYSITELIB}/PySide6/support/deprecated.py
+${PYSITELIB}/PySide6/support/generate_pyi.py
+${PYSITELIB}/shiboken6/Shiboken.abi3.so
+${PYSITELIB}/shiboken6/Shiboken.pyi
+${PYSITELIB}/shiboken6/__init__.py
+${PYSITELIB}/shiboken6/_config.py
+${PYSITELIB}/shiboken6/_git_shiboken_module_version.py
+${PYSITELIB}/shiboken6/py.typed
+${PYSITELIB}/shiboken6_generator/__init__.py
+${PYSITELIB}/shiboken6_generator/_config.py
+${PYSITELIB}/shiboken6_generator/_git_shiboken_generator_version.py
+plugins/designer/libPySidePlugin.so
+share/PySide6/doc/qtcore.rst
+share/PySide6/doc/qtqml.rst
+share/PySide6/doc/qtquicktest.rst
+share/PySide6/doc/qtuitools.rst
+share/PySide6/glue/qtcore.cpp
+share/PySide6/glue/qtdesigner.cpp
+share/PySide6/glue/qtgui.cpp
+share/PySide6/glue/qtmultimedia.cpp
+share/PySide6/glue/qtnetwork.cpp
+share/PySide6/glue/qtopengl.cpp
+share/PySide6/glue/qtprintsupport.cpp
+share/PySide6/glue/qtqml.cpp
+share/PySide6/glue/qtquick.cpp
+share/PySide6/glue/qtquick3d.cpp
+share/PySide6/glue/qtquicktest.cpp
+share/PySide6/glue/qtsql.cpp
+share/PySide6/glue/qttest.cpp
+share/PySide6/glue/qtuitools.cpp
+share/PySide6/glue/qtwidgets.cpp
+share/PySide6/glue/qtxml.cpp
+share/PySide6/typesystems/common.xml
+share/PySide6/typesystems/core_common.xml
+share/PySide6/typesystems/datavisualization_common.xml
+share/PySide6/typesystems/glue/plugins.h
+share/PySide6/typesystems/glue/qeasingcurve_glue.cpp
+share/PySide6/typesystems/glue/qeasingcurve_glue.h
+share/PySide6/typesystems/gui_common.xml
+share/PySide6/typesystems/opengl_common.xml
+share/PySide6/typesystems/typesystem_concurrent.xml
+share/PySide6/typesystems/typesystem_core.xml
+share/PySide6/typesystems/typesystem_core_common.xml
+share/PySide6/typesystems/typesystem_core_win.xml
+share/PySide6/typesystems/typesystem_dbus.xml
+share/PySide6/typesystems/typesystem_designer.xml
+share/PySide6/typesystems/typesystem_glgeti_v_includes.xml
+share/PySide6/typesystems/typesystem_glgeti_v_modifications.xml
+share/PySide6/typesystems/typesystem_glgetv_includes.xml
+share/PySide6/typesystems/typesystem_glgetv_modifications.xml
+share/PySide6/typesystems/typesystem_gui.xml
+share/PySide6/typesystems/typesystem_gui_common.xml
+share/PySide6/typesystems/typesystem_gui_mac.xml
+share/PySide6/typesystems/typesystem_gui_rhi.xml
+share/PySide6/typesystems/typesystem_gui_win.xml
+share/PySide6/typesystems/typesystem_gui_x11.xml
+share/PySide6/typesystems/typesystem_help.xml
+share/PySide6/typesystems/typesystem_multimedia.xml
+share/PySide6/typesystems/typesystem_multimediawidgets.xml
+share/PySide6/typesystems/typesystem_network.xml
+share/PySide6/typesystems/typesystem_opengl.xml
+share/PySide6/typesystems/typesystem_opengl_modifications1_0.xml
+share/PySide6/typesystems/typesystem_opengl_modifications1_0_compat.xml
+share/PySide6/typesystems/typesystem_opengl_modifications1_1.xml
+share/PySide6/typesystems/typesystem_opengl_modifications1_1_compat.xml
+share/PySide6/typesystems/typesystem_opengl_modifications1_2_compat.xml
+share/PySide6/typesystems/typesystem_opengl_modifications1_3_compat.xml
+share/PySide6/typesystems/typesystem_opengl_modifications1_4.xml
+share/PySide6/typesystems/typesystem_opengl_modifications1_4_compat.xml
+share/PySide6/typesystems/typesystem_opengl_modifications2_0.xml
+share/PySide6/typesystems/typesystem_opengl_modifications2_0_compat.xml
+share/PySide6/typesystems/typesystem_opengl_modifications2_1.xml
+share/PySide6/typesystems/typesystem_opengl_modifications3_0.xml
+share/PySide6/typesystems/typesystem_opengl_modifications3_3.xml
+share/PySide6/typesystems/typesystem_opengl_modifications3_3a.xml
+share/PySide6/typesystems/typesystem_opengl_modifications4_0.xml
+share/PySide6/typesystems/typesystem_opengl_modifications4_1.xml
+share/PySide6/typesystems/typesystem_opengl_modifications4_3.xml
+share/PySide6/typesystems/typesystem_opengl_modifications4_4.xml
+share/PySide6/typesystems/typesystem_opengl_modifications4_4_core.xml
+share/PySide6/typesystems/typesystem_opengl_modifications4_5.xml
+share/PySide6/typesystems/typesystem_opengl_modifications4_5_core.xml
+share/PySide6/typesystems/typesystem_opengl_modifications_va.xml
+share/PySide6/typesystems/typesystem_openglwidgets.xml
+share/PySide6/typesystems/typesystem_printsupport.xml
+share/PySide6/typesystems/typesystem_printsupport_common.xml
+share/PySide6/typesystems/typesystem_qml.xml
+share/PySide6/typesystems/typesystem_quick.xml
+share/PySide6/typesystems/typesystem_quick3d.xml
+share/PySide6/typesystems/typesystem_quickcontrols2.xml
+share/PySide6/typesystems/typesystem_quicktest.xml
+share/PySide6/typesystems/typesystem_quickwidgets.xml
+share/PySide6/typesystems/typesystem_serialport.xml
+share/PySide6/typesystems/typesystem_spatialaudio.xml
+share/PySide6/typesystems/typesystem_sql.xml
+share/PySide6/typesystems/typesystem_svg.xml
+share/PySide6/typesystems/typesystem_svgwidgets.xml
+share/PySide6/typesystems/typesystem_test.xml
+share/PySide6/typesystems/typesystem_uitools.xml
+share/PySide6/typesystems/typesystem_widgets.xml
+share/PySide6/typesystems/typesystem_widgets_common.xml
+share/PySide6/typesystems/typesystem_xml.xml
+share/PySide6/typesystems/widgets_common.xml
diff --git a/py-pyside6/TODO b/py-pyside6/TODO
new file mode 100644
index 0000000000..1ab57c0028
--- /dev/null
+++ b/py-pyside6/TODO
@@ -0,0 +1,5 @@
+Many lint warnings of the form:
+
+WARN: PLIST:7: The bin/ directory should not have subdirectories.
+WARN: PLIST:8: The bin/ directory should not have subdirectories.
+WARN: PLIST:9: The bin/ directory should not have subdirectories.
diff --git a/py-pyside6/buildlink3.mk b/py-pyside6/buildlink3.mk
new file mode 100644
index 0000000000..e42d410636
--- /dev/null
+++ b/py-pyside6/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: $
+
+BUILDLINK_TREE+=	py-pyside6
+
+.if !defined(PY_PYSIDE6_BUILDLINK3_MK)
+PY_PYSIDE6_BUILDLINK3_MK:=
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_API_DEPENDS.py-pyside6+=	${PYPKGPREFIX}-pyside6>=6.0.0
+BUILDLINK_ABI_DEPENDS.py-pyside6+=	${PYPKGPREFIX}-pyside6>=6.0.0
+BUILDLINK_FILES.py-pyside6+=		lib/python3.11/site-packages/PySide6/*
+BUILDLINK_FILES.py-pyside6+=		lib/python3.11/site-packages/shiboken6/*
+BUILDLINK_FILES.py-pyside6+=		share/PySide6/glue/*
+BUILDLINK_PKGSRCDIR.py-pyside6?=	../../wip/py-pyside6
+
+.endif # PY_PYSIDE6_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-py-pyside6
diff --git a/py-pyside6/distinfo b/py-pyside6/distinfo
new file mode 100644
index 0000000000..bc83c3ec0a
--- /dev/null
+++ b/py-pyside6/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: $
+
+BLAKE2s (pyside-setup-everywhere-src-6.8.2.tar.xz) = dce62323acc9c62bfcc1df71afead3c96e32622e65700988373abb4d6d617aad
+SHA512 (pyside-setup-everywhere-src-6.8.2.tar.xz) = cc522143974d08133d68d3259caa5127916534e16678693866d65965a546db98b5b1b07d92f7c0918b7c8fb10213d94ad50259b22cf9ebc2a63b985068d75452
+Size (pyside-setup-everywhere-src-6.8.2.tar.xz) = 16609596 bytes
+SHA1 (patch-sources_pyside6_cmake_Macros_PySideModules.cmake) = 64124611147d88a4134b258ac5a6112f1b02d00b
+SHA1 (patch-sources_shiboken6_libshiboken_helper.h) = 493bcbebe2a2fbc77fc0bb8cceb837bfba712d90
diff --git a/py-pyside6/patches/patch-sources_pyside6_cmake_Macros_PySideModules.cmake b/py-pyside6/patches/patch-sources_pyside6_cmake_Macros_PySideModules.cmake
new file mode 100644
index 0000000000..1d31a56901
--- /dev/null
+++ b/py-pyside6/patches/patch-sources_pyside6_cmake_Macros_PySideModules.cmake
@@ -0,0 +1,27 @@
+$NetBSD$
+
+- Add OpenGL include directories.
+- Fix shiboken6 module directory.
+
+--- sources/pyside6/cmake/Macros/PySideModules.cmake.orig	2025-01-27 08:28:26.000000000 +0000
++++ sources/pyside6/cmake/Macros/PySideModules.cmake
+@@ -121,8 +121,9 @@ macro(create_pyside_module)
+     # Add QtCore since include conventions are sometimes violated for its classes
+     get_target_property(qt_core_includes Qt${QT_MAJOR_VERSION}::Core
+                         INTERFACE_INCLUDE_DIRECTORIES)
++    find_package(OpenGL COMPONENTS OpenGL)
+     set(shiboken_include_dir_list ${pyside6_SOURCE_DIR} ${qt_platform_includes}
+-        ${qt_core_includes})
++        ${qt_core_includes} ${OPENGL_INCLUDE_DIRS})
+     if(module_ADDITIONAL_INCLUDE_DIRS)
+         list(APPEND shiboken_include_dir_list ${${module_ADDITIONAL_INCLUDE_DIRS}})
+     endif()
+@@ -338,7 +339,7 @@ macro(create_pyside_module)
+     if(NOT (PYSIDE_IS_CROSS_BUILD OR DISABLE_PYI))
+         set(generate_pyi_options ${module_NAME} --sys-path
+             "${pysidebindings_BINARY_DIR}"
+-            "${SHIBOKEN_PYTHON_MODULE_DIR}/..")     # use the layer above shiboken6
++            "${SHIBOKEN_PYTHON_MODULE_DIR}/../..")     # use the layer above shiboken6
+         if (QUIET_BUILD)
+             list(APPEND generate_pyi_options "--quiet")
+         endif()
diff --git a/py-pyside6/patches/patch-sources_shiboken6_libshiboken_helper.h b/py-pyside6/patches/patch-sources_shiboken6_libshiboken_helper.h
new file mode 100644
index 0000000000..2f4b1e5f84
--- /dev/null
+++ b/py-pyside6/patches/patch-sources_shiboken6_libshiboken_helper.h
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Use pthread_t type on NetBSD.
+
+--- sources/shiboken6/libshiboken/helper.h.orig	2025-01-27 08:28:26.000000000 +0000
++++ sources/shiboken6/libshiboken/helper.h
+@@ -61,7 +61,11 @@ class AutoArrayPointer
+         T *data;
+ };
+ 
++#ifdef __NetBSD__
++using ThreadId = pthread_t;
++#else
+ using ThreadId = unsigned long long;
++#endif
+ LIBSHIBOKEN_API ThreadId currentThreadId();
+ LIBSHIBOKEN_API ThreadId mainThreadId();
+ 


Home | Main Index | Thread Index | Old Index