[neon/qt/pyside2/Neon/release] debian: Rename libraries for 64-bit time_t transition.
Dmitry Shachnev
null at kde.org
Thu Jul 25 03:06:04 BST 2024
Git commit 9f821d98e2fb373ab3f6eb13a71705308ab3e713 by Dmitry Shachnev, on behalf of Steve Langasek.
Committed on 21/02/2024 at 07:31.
Pushed by carlosdem into branch 'Neon/release'.
Rename libraries for 64-bit time_t transition.
M +7 -0 debian/changelog
M +10 -8 debian/control
R +0 -0 debian/libpyside2-py3-5.15t64.install [from: debian/libpyside2-py3-5.15.install - 100% similarity]
R +1 -0 debian/libpyside2-py3-5.15t64.lintian-overrides [from: debian/libshiboken2-py3-5.15.lintian-overrides - 063% similarity]
R +0 -0 debian/libshiboken2-py3-5.15t64.install [from: debian/libshiboken2-py3-5.15.install - 100% similarity]
R +1 -0 debian/libshiboken2-py3-5.15t64.lintian-overrides [from: debian/libpyside2-py3-5.15.lintian-overrides - 062% similarity]
M +1 -1 debian/rules
https://invent.kde.org/neon/qt/pyside2/-/commit/9f821d98e2fb373ab3f6eb13a71705308ab3e713
diff --git a/debian/changelog b/debian/changelog
index 3412194c..c0f4e275 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pyside2 (5.15.12-6.1~exp1) experimental; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vorlon at debian.org> Mon, 19 Feb 2024 19:23:32 +0000
+
pyside2 (5.15.12-6) unstable; urgency=medium
* Team upload.
diff --git a/debian/control b/debian/control
index 7f8d3664..9a637e2f 100644
--- a/debian/control
+++ b/debian/control
@@ -76,13 +76,14 @@ Description: Python bindings for Qt5 (common documentation)
.
This package contains the common documentation package.
-Package: libpyside2-py3-5.15
+Package: libpyside2-py3-5.15t64
+Breaks: libpyside2-py3-5.15 (<< ${source:Version})
Section: libs
Architecture: any
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
Conflicts: libpyside2-py3-5.11, libpyside2-py3-5.13, libpyside2-py3-5.14
-Replaces: libpyside2-py3-5.11, libpyside2-py3-5.13, libpyside2-py3-5.14
-Provides: libpyside2-py3
+Replaces: libpyside2-py3-5.15, libpyside2-py3-5.11, libpyside2-py3-5.13, libpyside2-py3-5.14
+Provides: ${t64:Provides}, libpyside2-py3
Description: Python 3 bindings for Qt5 (base files)
pyside2 provides Python bindings for Qt 5.x framework.
.
@@ -94,7 +95,7 @@ Description: Python 3 bindings for Qt5 (base files)
Package: libpyside2-dev
Section: libdevel
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, libpyside2-py3-5.15 (= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, libpyside2-py3-5.15t64 (= ${binary:Version})
Description: Python bindings for Qt5 (development files)
pyside2 provides Python bindings for Qt 5.x framework.
.
@@ -127,13 +128,14 @@ Description: CPython bindings generator for C++ libraries
.
Shiboken2 is the binding generator used to create the PySide2 bindings.
-Package: libshiboken2-py3-5.15
+Package: libshiboken2-py3-5.15t64
+Breaks: libshiboken2-py3-5.15 (<< ${source:Version})
Section: libs
Architecture: any
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
Conflicts: libshiboken2-py3-5.11, libshiboken2-py3-5.13, libshiboken2-py3-5.14
-Replaces: libshiboken2-py3-5.11, libshiboken2-py3-5.13, libshiboken2-py3-5.14
-Provides: libshiboken2-py3
+Replaces: libshiboken2-py3-5.15, libshiboken2-py3-5.11, libshiboken2-py3-5.13, libshiboken2-py3-5.14
+Provides: ${t64:Provides}, libshiboken2-py3
Description: CPython bindings generator for C++ libraries (Python3 shared library)
Shiboken2 is a bindings generator for C++ libraries that outputs CPython
source code. It collects information from library headers, and then
@@ -148,7 +150,7 @@ Package: libshiboken2-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends},
- libshiboken2-py3-5.15 (= ${binary:Version}), shiboken2 (= ${binary:Version}), python3-dev
+ libshiboken2-py3-5.15t64 (= ${binary:Version}), shiboken2 (= ${binary:Version}), python3-dev
Description: CPython bindings generator for C++ libraries (development files)
Shiboken2 is a bindings generator for C++ libraries that outputs CPython
source code. It collects information from library headers, and then
diff --git a/debian/libpyside2-py3-5.15.install b/debian/libpyside2-py3-5.15t64.install
similarity index 100%
rename from debian/libpyside2-py3-5.15.install
rename to debian/libpyside2-py3-5.15t64.install
diff --git a/debian/libshiboken2-py3-5.15.lintian-overrides b/debian/libpyside2-py3-5.15t64.lintian-overrides
similarity index 63%
rename from debian/libshiboken2-py3-5.15.lintian-overrides
rename to debian/libpyside2-py3-5.15t64.lintian-overrides
index c85f9d25..77058659 100644
--- a/debian/libshiboken2-py3-5.15.lintian-overrides
+++ b/debian/libpyside2-py3-5.15t64.lintian-overrides
@@ -1,2 +1,3 @@
# We ship compiled versions for each supported python3 version, with a symlink to the default version
package-name-doesnt-match-sonames *
+libpyside2-py3-5.15t64: package-name-doesnt-match-sonames libpyside2-py3-5.15
diff --git a/debian/libshiboken2-py3-5.15.install b/debian/libshiboken2-py3-5.15t64.install
similarity index 100%
rename from debian/libshiboken2-py3-5.15.install
rename to debian/libshiboken2-py3-5.15t64.install
diff --git a/debian/libpyside2-py3-5.15.lintian-overrides b/debian/libshiboken2-py3-5.15t64.lintian-overrides
similarity index 62%
rename from debian/libpyside2-py3-5.15.lintian-overrides
rename to debian/libshiboken2-py3-5.15t64.lintian-overrides
index c85f9d25..8018cec1 100644
--- a/debian/libpyside2-py3-5.15.lintian-overrides
+++ b/debian/libshiboken2-py3-5.15t64.lintian-overrides
@@ -1,2 +1,3 @@
# We ship compiled versions for each supported python3 version, with a symlink to the default version
package-name-doesnt-match-sonames *
+libshiboken2-py3-5.15t64: package-name-doesnt-match-sonames libshiboken2-py3-5.15
diff --git a/debian/rules b/debian/rules
index 3f027344..e859103e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ include /usr/share/dpkg/default.mk
# Safety measure to ensure package names match SONAMEs
PYSIDE_MAJOR := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d. -f1-2)
-ifeq ($(shell awk '/Package:/ {print $$2}' debian/control | grep -- -$(PYSIDE_MAJOR)$$),)
+ifeq ($(shell awk '/Package:/ {print $$2}' debian/control | grep -- '-$(PYSIDE_MAJOR)\(t64\)\?$$'),)
$(error Please update package names for major version $(PYSIDE_MAJOR))
endif
ifeq ($(shell ls debian/lib* | grep -- -$(PYSIDE_MAJOR)),)
More information about the Neon-commits
mailing list