Control: tags -1 patch

>    debian/rules override_dh_auto_install
> make[1]: Entering directory '/build/1st/gaupol-1.3.1'
> python3 ./setup.py --without-aeidon --without-iso-codes clean install\
>   --root=/build/1st/gaupol-1.3.1/debian/gaupol --prefix=/usr\
>                 --install-lib=/usr/share/gaupol/
> Traceback (most recent call last):
>   File "./setup.py", line 34, in <module>
>     import distutils.command.clean
> ModuleNotFoundError: No module named 'distutils.command'
> make[1]: *** [debian/rules:7: override_dh_auto_install] Error 1
> 
> 
> Due to
> 
> python3.6 (3.6.5~rc1-2) unstable; urgency=medium
> 
>   * python3.6: Drop dependency on python3-distutils.
> ...
>  -- Matthias Klose <d...@debian.org>  Tue, 20 Mar 2018 14:29:58 +0800

To not FTBFS, this package needs a dependency on python3-distutils to be 
added. The attached patch achieves this, also available as a merge request on 
salsa.

https://salsa.debian.org/python-team/applications/gaupol/merge_requests/1

I'm happy to NMU to get this fix into the archive or for a maintainer upload 
the fixed package, whatever is simpler.

cheers
Stuart

-- 
Stuart Prescott    http://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/         stu...@debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
From 2e89d6561ccb3c8ee92f0671fd0b081e8d71da09 Mon Sep 17 00:00:00 2001
From: Stuart Prescott <stu...@debian.org>
Date: Tue, 15 May 2018 00:38:36 +1000
Subject: [PATCH 1/2] Add missing build-dep on python3-distutils

(Closes: #896756)
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index d945823..8e830b6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: gnome
 Priority: optional
 Maintainer: Piotr Ożarowski <pi...@debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-t...@lists.alioth.debian.org>
-Build-Depends: debhelper (>= 9), python3, dh-python
+Build-Depends: debhelper (>= 9), python3, dh-python, python3-distutils
 Build-Depends-Indep: intltool
 Standards-Version: 4.1.1
 Homepage: http://otsaloma.io/gaupol/
-- 
2.11.0

From 9a1768802914925c1e0bd338241f5db85f4b5141 Mon Sep 17 00:00:00 2001
From: Stuart Prescott <stu...@debian.org>
Date: Tue, 15 May 2018 00:39:13 +1000
Subject: [PATCH 2/2] Add changelog for NMU

---
 debian/changelog | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9b0df41..5a4b790 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
-gaupol (1.3.1-2) UNRELEASED; urgency=medium
+gaupol (1.3.1-1.1) unstable; urgency=medium
 
+  [ Stuart Prescott ]
+  * Non-maintainer upload.
+  * Add missing build dependency on python3-distutils to fix FTBFS
+    (Closes: #896756).
+
+  [ Ondřej Nový ]
   * d/control: Remove ancient X-Python3-Version field
 
- -- Ondřej Nový <on...@debian.org>  Mon, 14 May 2018 08:09:44 +0200
+ -- Stuart Prescott <stu...@debian.org>  Tue, 15 May 2018 00:38:44 +1000
 
 gaupol (1.3.1-1) unstable; urgency=medium
 
-- 
2.11.0

Reply via email to