[neon/qt6/pyside6/Neon/release] debian: Package libpyside6, libpyside6-dev, libshiboken6, libshiboken6-dev, python3-pyside6, python3-shiboken6

Anupam Basak null at kde.org
Mon Jul 3 06:48:06 BST 2023


Git commit 832731842a21b1230dccb4d5c022e1719c0b1dae by Anupam Basak.
Committed on 03/07/2023 at 05:47.
Pushed by anupambasak into branch 'Neon/release'.

Package libpyside6, libpyside6-dev, libshiboken6, libshiboken6-dev, python3-pyside6, python3-shiboken6

M  +71   -4    debian/control
A  +5    -0    debian/libpyside6-dev.install
A  +1    -0    debian/libpyside6.install
A  +4    -0    debian/libshiboken6-dev.install
A  +1    -0    debian/libshiboken6.install
A  +19   -0    debian/python3-pyside6.install
A  +14   -0    debian/python3-shiboken6.install
M  +3    -3    debian/rules

https://invent.kde.org/neon/qt6/pyside6/-/commit/832731842a21b1230dccb4d5c022e1719c0b1dae

diff --git a/debian/control b/debian/control
index 73c29ef..466af36 100644
--- a/debian/control
+++ b/debian/control
@@ -51,13 +51,80 @@ Rules-Requires-Root: no
 Standards-Version: 4.6.2
 Homepage: https://wiki.qt.io/Qt_for_Python
 
+Package: libpyside6
+Section: libs
+Architecture: any
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Description: libpyside6 shared library
+ pyside6 provides Python bindings for Qt 6.x framework.
+ .
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains shared PySide6 library.
+
+Package: libpyside6-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, libpyside6 (= ${binary:Version})
+Description: Development headers for libpyside6
+ pyside6 provides Python bindings for Qt 6.x framework.
+ .
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides the development headers for the libpyside6 library.
+
 Package: python3-pyside6
 Architecture: any
-Depends: ${misc:Depends}, ${sphinxdoc:Depends}
-Description: Python bindings for Qt 6
- pyside6 provides Python bindings for Qt 6.
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Description: Python bindings for Qt6 (Python 3)
+ pyside6 provides Python bindings for Qt 6.x framework.
  .
  Qt is a cross-platform C++ application framework. Qt's primary feature
  is its rich set of widgets that provide standard GUI functionality.
  .
- This package contains the common documentation package.
+ This package contains Python 3 bindings for the Qt6 modules.
+
+Package: libshiboken6
+Section: libs
+Architecture: any
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Description: libshiboken6 shared library
+ Shiboken6 is a bindings generator for C++ libraries that outputs CPython
+ source code. It collects information from library headers, and then
+ merges modifications and handwritten code defined in the typesystem
+ description.
+ .
+ Shiboken6 is the binding generator used to create the PySide6 bindings.
+ .
+ This package contains the shared Python 3 library used by shiboken6.
+
+Package: libshiboken6-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends},
+ libshiboken6 (= ${binary:Version}), python3-shiboken6 (= ${binary:Version}), python3-dev
+Description: Development headers for libshiboken6
+ Shiboken6 is a bindings generator for C++ libraries that outputs CPython
+ source code. It collects information from library headers, and then
+ merges modifications and handwritten code defined in the typesystem
+ description.
+ .
+ Shiboken6 is the binding generator used to create the PySide6 bindings.
+ .
+ This package provides the development headers for the libshiboken6 library.
+
+Package: python3-shiboken6
+Architecture: any
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Description: CPython bindings generator for C++ libraries (Python3 shared library)
+ Shiboken6 is a bindings generator for C++ libraries that outputs CPython
+ source code. It collects information from library headers, and then
+ merges modifications and handwritten code defined in the typesystem
+ description.
+ .
+ Shiboken6 is the binding generator used to create the PySide6 bindings.
+ .
+ This package contains the generator tool and shiboken6 python module.
+
diff --git a/debian/libpyside6-dev.install b/debian/libpyside6-dev.install
new file mode 100644
index 0000000..8713d3c
--- /dev/null
+++ b/debian/libpyside6-dev.install
@@ -0,0 +1,5 @@
+build/qfp-*-relwithdebinfo/install/include/PySide6 usr/include
+build/qfp-*-relwithdebinfo/install/share/PySide6 usr/share
+build/qfp-*-relwithdebinfo/install/lib/pkgconfig/pyside6.pc usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig
+build/qfp-*-relwithdebinfo/install/lib/libpyside6*.so usr/lib/${DEB_HOST_MULTIARCH}
+build/qfp-*-relwithdebinfo/install/lib/cmake/PySide6* usr/lib/${DEB_HOST_MULTIARCH}/cmake
diff --git a/debian/libpyside6.install b/debian/libpyside6.install
new file mode 100644
index 0000000..bceb3f0
--- /dev/null
+++ b/debian/libpyside6.install
@@ -0,0 +1 @@
+build/qfp-*-relwithdebinfo/install/lib/libpyside6*.so.* usr/lib/${DEB_HOST_MULTIARCH}
diff --git a/debian/libshiboken6-dev.install b/debian/libshiboken6-dev.install
new file mode 100644
index 0000000..616a1e9
--- /dev/null
+++ b/debian/libshiboken6-dev.install
@@ -0,0 +1,4 @@
+build/qfp-*-relwithdebinfo/install/include/shiboken6 usr/include
+build/qfp-*-relwithdebinfo/install/lib/pkgconfig/shiboken6.pc usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig
+build/qfp-*-relwithdebinfo/install/lib/libshiboken6*.so usr/lib/${DEB_HOST_MULTIARCH}
+build/qfp-*-relwithdebinfo/install/lib/cmake/Shiboken6* usr/lib/${DEB_HOST_MULTIARCH}/cmake
diff --git a/debian/libshiboken6.install b/debian/libshiboken6.install
new file mode 100644
index 0000000..f555853
--- /dev/null
+++ b/debian/libshiboken6.install
@@ -0,0 +1 @@
+build/qfp-*-relwithdebinfo/install/lib/libshiboken6*.so.* usr/lib/${DEB_HOST_MULTIARCH}
diff --git a/debian/python3-pyside6.install b/debian/python3-pyside6.install
new file mode 100644
index 0000000..9e0d071
--- /dev/null
+++ b/debian/python3-pyside6.install
@@ -0,0 +1,19 @@
+build/pyside6_install/usr/bin/pyside6-* usr/bin
+
+build/qfp-*-relwithdebinfo/package/PySide6/__init__.py usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/_config.py usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/_git_pyside_version.py usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/*.pyi usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/assistant usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/designer usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/linguist usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/lrelease usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/lupdate usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/py.typed usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/qmlformat usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/qmllint usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/qmlls usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/Qt usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/Qt*.so usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/scripts usr/lib/python3/dist-packages/PySide6
+build/qfp-*-relwithdebinfo/package/PySide6/support usr/lib/python3/dist-packages/PySide6
diff --git a/debian/python3-shiboken6.install b/debian/python3-shiboken6.install
new file mode 100644
index 0000000..d1688f2
--- /dev/null
+++ b/debian/python3-shiboken6.install
@@ -0,0 +1,14 @@
+build/pyside6_install/usr/bin/shiboken6* usr/bin
+
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6/__init__.py usr/lib/python3/dist-packages/shiboken6
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6/_config.py usr/lib/python3/dist-packages/shiboken6
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6/_git_shiboken_module_version.py usr/lib/python3/dist-packages/shiboken6
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6/py.typed usr/lib/python3/dist-packages/shiboken6
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6/Shiboken.abi3.so usr/lib/python3/dist-packages/shiboken6
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6/Shiboken.pyi usr/lib/python3/dist-packages/shiboken6
+
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6_generator/__init__.py usr/lib/python3/dist-packages/shiboken6_generator
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6_generator/_config.py usr/lib/python3/dist-packages/shiboken6_generator
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6_generator/_git_shiboken_generator_version.py usr/lib/python3/dist-packages/shiboken6_generator
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6_generator/scripts usr/lib/python3/dist-packages/shiboken6_generator
+build/pyside6_install/usr/lib/python3.10/dist-packages/shiboken6_generator/shiboken6 usr/lib/python3/dist-packages/shiboken6_generator
diff --git a/debian/rules b/debian/rules
index ef52c9d..2ed4389 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,9 +50,9 @@ override_dh_auto_install:
 override_dh_dwz:
 	true
 
-override_dh_shlibdeps:
-	#ln -s python3/dist-packages/shiboken6/libshiboken6.abi3.so.6.5 debian/python3-pyside6/usr/lib/libshiboken6.abi3.so.6.5
-	dh_shlibdeps -a -O--buildsystem=pybuild -l$(CURDIR)/debian/python3-pyside6/usr/lib/python3/dist-packages/shiboken6/
+#override_dh_shlibdeps:
+#	ln -s python3/dist-packages/shiboken6/libshiboken6.abi3.so.6.5 debian/python3-pyside6/usr/lib/libshiboken6.abi3.so.6.5
+#	dh_shlibdeps -a -O--buildsystem=pybuild -l$(CURDIR)/debian/python3-pyside6/usr/lib/python3/dist-packages/shiboken6/
 
 %:
 	dh $@ --with python3,sphinxdoc --buildsystem=pybuild


More information about the Neon-commits mailing list