On Fri, 30 Aug 2019 07:15:05 +0000 Matthias Klose <[email protected]> wrote:
> Package: src:diodon
> Version: 1.8.0-1
> Severity: normal
> Tags: sid bullseye
> User: [email protected]
> Usertags: py2removal
> 
> Python2 becomes end-of-live upstream, and Debian aims to remove
> Python2 from the distribution, as discussed in
> https://lists.debian.org/debian-python/2019/07/msg00080.html
> 
> Your package either build-depends, depends on Python2, or uses Python2
> in the autopkg tests.  Please stop using Python2, and fix this issue
> by one of the following actions.

I've attached a fix in the form of an NMU debdiff.  I don't currently plan to 
NMU, but may later if this remains open.  Please fix.

Scott K
diff -Nru diodon-1.8.0/debian/changelog diodon-1.8.0/debian/changelog
--- diodon-1.8.0/debian/changelog	2018-03-11 15:37:08.000000000 -0400
+++ diodon-1.8.0/debian/changelog	2019-09-01 00:55:31.000000000 -0400
@@ -1,3 +1,13 @@
+diodon (1.8.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch build system to python3 (Closes: #936399)
+  * Drop use of dh_python2 in debian/rules, uneeded since python is only used
+    during the build
+  * Fix clean rule to also remove po cache so package builds twice in a row
+
+ -- Scott Kitterman <[email protected]>  Sun, 01 Sep 2019 04:55:31 +0000
+
 diodon (1.8.0-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru diodon-1.8.0/debian/control diodon-1.8.0/debian/control
--- diodon-1.8.0/debian/control	2018-03-11 15:37:08.000000000 -0400
+++ diodon-1.8.0/debian/control	2019-09-01 00:55:31.000000000 -0400
@@ -11,7 +11,7 @@
                libpeas-dev (>=1.1.1),
                libxtst-dev (>= 1.2.0),
                libzeitgeist-2.0-dev (>= 0.9.14),
-               python,
+               python3,
                valac (>=0.26.0),
                xvfb
 Standards-Version: 4.1.3
diff -Nru diodon-1.8.0/debian/rules diodon-1.8.0/debian/rules
--- diodon-1.8.0/debian/rules	2017-12-16 13:46:18.000000000 -0500
+++ diodon-1.8.0/debian/rules	2019-09-01 00:55:31.000000000 -0400
@@ -7,7 +7,7 @@
 endif
 
 %:
-	dh $@ --with python2
+	dh $@
 
 WAF=./waf
 
@@ -15,6 +15,7 @@
 	$(WAF) distclean $(WAFFLAGS)
 	rm -rf _build_
 	find -name '*.pyc' -delete
+	rm -rf po/.intlcache
 
 override_dh_auto_configure:
 	$(WAF) configure $(WAFFLAGS) --sysconfdir /etc --libdir /usr/lib/$(DEB_HOST_MULTIARCH)

Reply via email to