[Python-modules-team] Bug#892949: mark decorator packages Multi-Arch: foreign
Helmut Grohne
helmut at subdivi.de
Wed Mar 14 19:18:59 UTC 2018
Source: python-decorator
Version: 4.1.2-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
Control: affects -1 + src:dipy src:gr-gsm src:nipy src:pymvpa2 src:theano src:uc-echo
The affected packages cannot satisfy their cross Build-Depends, because
their dependency on python-decorator or python3-decorator is
unsatisfiable. In general, Architecture: all packages can never satisfy
cross Build-Depends unless marked Multi-Arch: foreign. I think that
marking these packages Multi-Arch: foreign is correct because:
* All of them are Architecture: all.
* All of their Depends are either annotated :any.
* While the maintainer scripts produce architecture-specific Python
bytecode files, this bytecode matches whatever Python happens to be
installed. Also Python modules can be used without pre-compiled
bytecode files, so embedded interpreters for a foreign architecture
(a very uncommon case) continue to work (albeit a bit slower).
Please consider applying the attached patch.
Helmut
-------------- next part --------------
diff --minimal -Nru python-decorator-4.1.2/debian/changelog python-decorator-4.1.2/debian/changelog
--- python-decorator-4.1.2/debian/changelog 2017-09-29 11:06:44.000000000 +0200
+++ python-decorator-4.1.2/debian/changelog 2018-03-14 20:04:22.000000000 +0100
@@ -1,3 +1,10 @@
+python-decorator (4.1.2-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Mark all packages Multi-Arch: foreign (closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Wed, 14 Mar 2018 20:04:22 +0100
+
python-decorator (4.1.2-1) unstable; urgency=medium
* New upstream release (closes: 869560)
diff --minimal -Nru python-decorator-4.1.2/debian/control python-decorator-4.1.2/debian/control
--- python-decorator-4.1.2/debian/control 2017-09-29 11:06:44.000000000 +0200
+++ python-decorator-4.1.2/debian/control 2018-03-14 20:04:20.000000000 +0100
@@ -14,6 +14,7 @@
Package: python-decorator
Architecture: all
+Multi-Arch: foreign
Depends: ${python:Depends}, ${misc:Depends}
Enhances: python-pylons
Description: simplify usage of Python decorators by programmers
@@ -33,6 +34,7 @@
Package: python3-decorator
Architecture: all
+Multi-Arch: foreign
Depends: ${python3:Depends}, ${misc:Depends}
Description: simplify usage of Python decorators by programmers
Python 2.4 decorators have significantly changed the way Python programs are
More information about the Python-modules-team
mailing list