[neon/forks/pyqt5/Neon/release-lts] debian: Add a patch to remove PyQt5-Qt from Requires-Dist metadata field.
Dmitry Shachnev
null at kde.org
Wed May 26 11:29:30 BST 2021
Git commit 582df8e6af006c40d447346999fafa0aadb34d01 by Dmitry Shachnev.
Committed on 26/02/2021 at 11:22.
Pushed by jriddell into branch 'Neon/release-lts'.
Add a patch to remove PyQt5-Qt from Requires-Dist metadata field.
M +1 -0 debian/changelog
A +19 -0 debian/patches/remove_pyqt5qt_dependency.diff
A +1 -0 debian/patches/series
https://invent.kde.org/neon/forks/pyqt5/commit/582df8e6af006c40d447346999fafa0aadb34d01
diff --git a/debian/changelog b/debian/changelog
index 19fa2e3e..099a1c4c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ pyqt5 (5.15.3+dfsg-1) UNRELEASED; urgency=medium
* Remove QtNetworkAuth packages, upstream moved them to a separate source.
* Bump years in debian/copyright.
* Bump required python3-pyqtbuild version to 1.9, per pyproject.toml.
+ * Add a patch to remove PyQt5-Qt from Requires-Dist metadata field.
-- Dmitry Shachnev <mitya57 at debian.org> Thu, 25 Feb 2021 14:41:58 +0300
diff --git a/debian/patches/remove_pyqt5qt_dependency.diff b/debian/patches/remove_pyqt5qt_dependency.diff
new file mode 100644
index 00000000..8e920db4
--- /dev/null
+++ b/debian/patches/remove_pyqt5qt_dependency.diff
@@ -0,0 +1,19 @@
+From: Dmitry Shachnev <mitya57 at debian.org>
+Date: Fri, 26 Feb 2021 14:16:01 +0300
+Subject: Remove PyQt5-Qt from Requires-Dist
+
+In Debian we build PyQt5 against system Qt. And having that dependency
+in METADATA file may confuse some tools when it is not installed.
+---
+ pyproject.toml | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index fd9f9f5..d210987 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -13,4 +13,3 @@ author = "Riverbank Computing Limited"
+ author-email = "info at riverbankcomputing.com"
+ license = "GPL v3"
+ description-file = "README"
+-requires-dist = "PyQt5-Qt (>=5.15)"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 00000000..31762fd8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove_pyqt5qt_dependency.diff
More information about the Neon-commits
mailing list