Philipp Hörist pushed to branch master at gajim / gajim


Commits:
10348486 by Philipp Hörist at 2023-01-30T21:41:24+01:00
ci: Debian: Fix debian package build

Use python3:Depends to gather dependencies

Fixes #11386

- - - - -


3 changed files:

- debian/control
- + debian/patches/remove-nbxmpp-from-deps.patch
- + debian/patches/series


Changes:

=====================================
debian/control
=====================================
@@ -5,9 +5,10 @@ Maintainer: Gajim Maintainers <[email protected]>
 Build-Depends:
     debhelper-compat (= 13),
     dh-python,
+    pybuild-plugin-pyproject,
     gettext (>= 0.17-4),
     libglib2.0-dev,
-    python3 (>= 3.10),
+    python3-all,
     python3-css-parser,
     python3-gi,
     python3-gi-cairo,
@@ -28,20 +29,12 @@ Package: gajim-nightly
 Architecture: all
 Depends:
     ${misc:Depends},
+    ${python3:Depends},
     desktop-file-utils,
     python3 (>= 3.10),
-    python3-css-parser (>= 1.0.2),
     python3-gi (>= 3.42.0),
     python3-gi-cairo (>= 1.14.0~),
-    python3-idna,
     python3-nbxmpp-nightly (>=20230123),
-    python3-cryptography (>= 3.4.8),
-    python3-precis-i18n,
-    python3-keyring,
-    python3-packaging,
-    python3-pil,
-    python3-setuptools,
-    python3-css-parser,
     gir1.2-pango-1.0 (>= 1.50.0),
     gir1.2-gtk-3.0 (>= 3.24.30),
     gir1.2-gtksource-4,


=====================================
debian/patches/remove-nbxmpp-from-deps.patch
=====================================
@@ -0,0 +1,25 @@
+From 0056a3ef2c5b1f5320795b214aa35b38a6b9caa1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <[email protected]>
+Date: Mon, 30 Jan 2023 21:33:38 +0100
+Subject: [PATCH] Remove nbxmpp from deps
+
+The debian package depends on python3-nbxmpp-nightly
+---
+ pyproject.toml | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 93c4acbe6..52544a89d 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -27,7 +27,6 @@ classifiers = [
+ dependencies = [
+   "css-parser",
+   "keyring",
+-  "nbxmpp>=4.0.1,<5.0.0",
+   "packaging",
+   "pillow",
+   "precis-i18n>=1.0.0",
+-- 
+2.37.2
+


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+remove-nbxmpp-from-deps.patch
\ No newline at end of file



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/1034848691aba104a8005ccf200d23dd3d8bd2c5

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/1034848691aba104a8005ccf200d23dd3d8bd2c5
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to