--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ioprocess: move python Build-Depends to Build-Depends-Indep
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Wed, 11 Apr 2018 16:44:29 +0200
- Message-id: <20180411144428.GA24501@alf.mars>
Source: ioprocess
Version: 0.15.1-2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
ioprocess fails to cross build from source, because its python build
dependencies are not installable. Luckily, they're only really needed
for python-ioprocess and for running the tests, neither of which happens
during a cross build. Thus we can improve the situation by moving most
of them to Build-Depends-Indep. Please consider applying the attached
patch.
Helmut
diff --minimal -Nru ioprocess-0.15.1/debian/changelog ioprocess-0.15.1/debian/changelog
--- ioprocess-0.15.1/debian/changelog 2016-01-21 19:14:04.000000000 +0100
+++ ioprocess-0.15.1/debian/changelog 2018-04-11 16:33:51.000000000 +0200
@@ -1,3 +1,10 @@
+ioprocess (0.15.1-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Don't build python stuff during arch-only. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Wed, 11 Apr 2018 16:33:51 +0200
+
ioprocess (0.15.1-2) unstable; urgency=low
* Copyright holder of Makefile.am added to debian/copyright.
diff --minimal -Nru ioprocess-0.15.1/debian/control ioprocess-0.15.1/debian/control
--- ioprocess-0.15.1/debian/control 2016-01-18 17:26:21.000000000 +0100
+++ ioprocess-0.15.1/debian/control 2018-04-11 16:33:51.000000000 +0200
@@ -6,11 +6,14 @@
autotools-dev,
automake,
autoconf,
- python-nose,
- python-six,
+ python-nose <!nocheck>,
+ python-six <!nocheck>,
libglib2.0-dev,
libyajl-dev,
dh-autoreconf,
+Build-Depends-Indep:
+ python-nose,
+ python-six,
dh-python,
python-all-dev (>= 2.6.6-3~),
python-all-dbg (>= 2.6.6-3~),
diff --minimal -Nru ioprocess-0.15.1/debian/rules ioprocess-0.15.1/debian/rules
--- ioprocess-0.15.1/debian/rules 2016-01-18 15:11:12.000000000 +0100
+++ ioprocess-0.15.1/debian/rules 2018-04-11 16:33:51.000000000 +0200
@@ -4,4 +4,5 @@
include /usr/share/dpkg/default.mk
%:
- dh $@ --with autoreconf,autotools-dev,python2
+ dh $@ --with autoreconf,autotools-dev $(DH_ADDONS)
+build build-indep binary binary-indep: DH_ADDONS=--with=python2
--- End Message ---