Package: python-setuptools
Version: 20.10.1-1.1
Followup-For: Bug #813333
User: [email protected]
Usertags: origin-ubuntu yakkety ubuntu-patch

Hi Matthias,

In addition to marking python3-pkg-resources Multi-Arch: foreign, it would
be useful to mark python{,3}-setuptools Multi-Arch foreign.  These packages
are useful as build-dependency - e.g. in Ubuntu, unity8 build depends on
python3-setuptools.  For cross-building, it's necessary to annotate this
Architecture: all package as Multi-Arch: foreign so that all tools will
handle it correctly.

Attached is a trivial patch to achieve this.  Please consider applying it in
Debian, alongside the change for python3-pkg-resources.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]
diff -Nru python-setuptools-20.10.1/debian/control python-setuptools-20.10.1/debian/control
--- python-setuptools-20.10.1/debian/control	2016-04-25 10:39:05.000000000 -0700
+++ python-setuptools-20.10.1/debian/control	2016-06-28 10:45:18.000000000 -0700
@@ -29,6 +29,7 @@
 
 Package: python-setuptools
 Architecture: all
+Multi-Arch: foreign
 Depends:
  python-pkg-resources (= ${binary:Version}),
  ${misc:Depends},
@@ -61,6 +62,7 @@
 
 Package: python3-setuptools
 Architecture: all
+Multi-Arch: foreign
 Depends:
  python3-pkg-resources (= ${binary:Version}),
  ${misc:Depends},

Reply via email to