Control: tags 943016 + patch

Hello,

On Wed, Oct 23, 2019 at 02:33:22AM +0000, mo...@debian.org wrote:
> Source: dia
> Version: 0.97.3+git20160930-8.1
[...]
> 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 (the specific reason can be found searching this
> source package in
> https://people.debian.org/~morph/mass-bug-py2removal_take2.txt ).
> Please stop using Python2, and fix this issue by one of the following
> actions.
[...]

I would like to keep dia around as I see value in it.
The easiest way to accomplish that would simply be to disable the
python(2) plugin. Attaching a patch that does that (which maybe someone
wants to extend with Breaks: towards affected reverse dependencies).

(BCCing #938690 and #936830 for comments)
This however would (I assume) make the trac-diavisview and ldaptor
reverse dependencies non-functional. Both of them seem like leaf
packages which could easily be removed. Is there anyone that sees
any value in keeping these around? Is there anyone that intends to put
in the work that's needed for that? (Or any work at all?)
Right now there are no replies on the bug reports so I'm going to assume
noone cares as long as noone speaks up. I will shortly NMU dia (unless
someone else offers to take care of this), so speak up now or forever
hold your peace!

Regards,
Andreas Henriksson
diff -Nru dia-0.97.3+git20160930/debian/changelog 
dia-0.97.3+git20160930/debian/changelog
--- dia-0.97.3+git20160930/debian/changelog     2018-12-01 16:02:28.000000000 
+0100
+++ dia-0.97.3+git20160930/debian/changelog     2019-10-25 08:38:52.000000000 
+0200
@@ -1,3 +1,11 @@
+dia (0.97.3+git20160930-8.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop --with-python configure flag, dh-python usage and (build-)deps.
+    (Closes: #943016)
+
+ -- Andreas Henriksson <andr...@fatal.se>  Fri, 25 Oct 2019 08:38:52 +0200
+
 dia (0.97.3+git20160930-8.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru dia-0.97.3+git20160930/debian/control 
dia-0.97.3+git20160930/debian/control
--- dia-0.97.3+git20160930/debian/control       2018-02-14 14:15:39.000000000 
+0100
+++ dia-0.97.3+git20160930/debian/control       2019-10-25 08:38:47.000000000 
+0200
@@ -7,7 +7,6 @@
        automake,
        dblatex,
        debhelper (>= 10),
-       dh-python,
        docbook-xml,
        docbook-xsl,
        intltool,
@@ -22,8 +21,6 @@
        libxml-parser-perl,
        libxml2-dev,
        libxslt1-dev,
-       python-dev,
-       python-gtk2,
        texlive-lang-cyrillic,
        texlive-lang-french,
        texlive-lang-german,
@@ -37,7 +34,7 @@
 
 Package: dia-common
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-gtk2
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: dia
 Description: Diagram editor (common files)
  Dia is an editor for diagrams, graphs, charts etc. There is support for UML
diff -Nru dia-0.97.3+git20160930/debian/rules 
dia-0.97.3+git20160930/debian/rules
--- dia-0.97.3+git20160930/debian/rules 2018-02-11 22:52:07.000000000 +0100
+++ dia-0.97.3+git20160930/debian/rules 2019-10-25 08:38:05.000000000 +0200
@@ -9,13 +9,13 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 
 %:
-       dh $@ --parallel --with python2
+       dh $@ --parallel
 
 override_dh_auto_configure:
        libtoolize --copy --force
        autoreconf -fi
        intltoolize
-       dh_auto_configure -- --with-python --with-cairo --with-hardbooks
+       dh_auto_configure -- --with-cairo --with-hardbooks
 
 override_dh_auto_build:
        # docbook-xsl source for referenced pngs

Reply via email to