Hi,

Please find attached the debdiff to fix these bugs. Please upload the
fix, or allow me to NMU it. :)

Please note that both bugs are now of severity serious, as:
1/ livereload is a leaf package that is blocking other bugs
2/ the autopkgtest are using django Py2, which is removed from Sid.

Cheers,

Thomas Goirand (zigo)
diff -Nru python-livereload-2.6.1/debian/changelog 
python-livereload-2.6.1/debian/changelog
--- python-livereload-2.6.1/debian/changelog    2019-07-20 20:36:14.000000000 
+0200
+++ python-livereload-2.6.1/debian/changelog    2019-11-02 22:29:38.000000000 
+0100
@@ -1,3 +1,10 @@
+python-livereload (2.6.1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Removed Python 2 support (Closes: #937895, 943960)
+
+ -- Thomas Goirand <z...@debian.org>  Sat, 02 Nov 2019 22:29:38 +0100
+
 python-livereload (2.6.1-2) unstable; urgency=medium
 
   * d/p/0002: Sorry attempt to fix a failing test. See the patch notes to get
diff -Nru python-livereload-2.6.1/debian/control 
python-livereload-2.6.1/debian/control
--- python-livereload-2.6.1/debian/control      2019-07-16 22:42:32.000000000 
+0200
+++ python-livereload-2.6.1/debian/control      2019-11-02 22:27:41.000000000 
+0100
@@ -7,37 +7,15 @@
  debhelper (>= 11),
  dh-python,
  help2man,
- python-all,
- python-setuptools,
- python-tornado,
  python3-all,
  python3-setuptools,
  python3-sphinx,
+ python3-tornado,
 Standards-Version: 4.4.0
 Homepage: https://github.com/lepture/python-livereload
 Vcs-Git: https://salsa.debian.org/debian/python-livereload.git
 Vcs-Browser: https://salsa.debian.org/debian/python-livereload
 
-Package: python-livereload
-Architecture: all
-Depends: python-pkg-resources, ${misc:Depends}, ${python:Depends}
-Recommends: node-less, python-pyinotify
-Suggests:
- coffeescript,
- node-uglify,
- python-django,
- python-flask,
- python-livereload-doc,
- python-slimmer,
-Description: automatic browser refresher
- It is really boring for Web developers to need to refresh their browser
- every time they save a (CSS, JavaScript, or HTML) file. LiveReload will
- take care of that for you, so that when you save a file, your browser
- will refresh itself - and what's more, it can perform tasks such as
- compiling LESS to CSS before the browser reload.
- .
- This package contains the Python 2 version of livereload.
-
 Package: python3-livereload
 Architecture: all
 Depends: python3-pkg-resources, ${misc:Depends}, ${python3:Depends}
diff -Nru python-livereload-2.6.1/debian/livereload 
python-livereload-2.6.1/debian/livereload
--- python-livereload-2.6.1/debian/livereload   2019-07-16 22:42:32.000000000 
+0200
+++ python-livereload-2.6.1/debian/livereload   2019-11-02 22:29:38.000000000 
+0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 import sys
 import os
 sys.path.insert(0, os.environ['PWD'])
diff -Nru python-livereload-2.6.1/debian/rules 
python-livereload-2.6.1/debian/rules
--- python-livereload-2.6.1/debian/rules        2019-07-16 22:42:32.000000000 
+0200
+++ python-livereload-2.6.1/debian/rules        2019-11-02 22:29:38.000000000 
+0100
@@ -11,7 +11,7 @@
 
 
 %:
-       dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+       dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_clean:
        dh_auto_clean --all
@@ -24,7 +24,6 @@
                cd docs; \
                python3 -m sphinx -C -b html -Dmaster_doc=index . _build/html; \
                cd -;
-       rm -r debian/python-livereload/usr/bin
 
 override_dh_auto_test:
 
diff -Nru python-livereload-2.6.1/debian/tests/control 
python-livereload-2.6.1/debian/tests/control
--- python-livereload-2.6.1/debian/tests/control        2019-07-20 
20:31:27.000000000 +0200
+++ python-livereload-2.6.1/debian/tests/control        2019-11-02 
22:28:39.000000000 +0100
@@ -3,9 +3,3 @@
          python3-setuptools,
          python3-django,
 Restrictions: allow-stderr
-
-Test-Command: python2 setup.py test
-Depends: @,
-         python-setuptools,
-         python-django,
-Restrictions: allow-stderr

Reply via email to