Source: python-cups
Version: 2.0.4-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

python-cups fails to cross build from source, because it depends on the
host architecture Python. Typically for cross building Python
extensions, we want the host Python libraries and the build Python
interpreter. I'm attaching a patch to that end and once applying it,
python-cups cross builds. Whilst I consider this patch safe for
inclusion in trixie, I suggest that it is deferred into forky to avoid
disrupting the trixie release.

Helmut
diff --minimal -Nru python-cups-2.0.4/debian/changelog 
python-cups-2.0.4/debian/changelog
--- python-cups-2.0.4/debian/changelog  2024-10-15 07:48:40.000000000 +0200
+++ python-cups-2.0.4/debian/changelog  2025-06-01 08:27:32.000000000 +0200
@@ -1,3 +1,10 @@
+python-cups (2.0.4-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Multiarchify python Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 01 Jun 2025 08:27:32 +0200
+
 python-cups (2.0.4-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru python-cups-2.0.4/debian/control 
python-cups-2.0.4/debian/control
--- python-cups-2.0.4/debian/control    2024-10-15 07:45:38.000000000 +0200
+++ python-cups-2.0.4/debian/control    2025-06-01 08:27:32.000000000 +0200
@@ -6,7 +6,8 @@
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-python3,
                pybuild-plugin-pyproject,
-               python3-all-dev,
+               python3-all-dev:any,
+               libpython3-all-dev,
                python3-setuptools,
                libcups2-dev
 Rules-Requires-Root: no

Reply via email to