Control: tags 937883 + patch
Control: tags 937883 + pending

Dear maintainer,

I've prepared an NMU for python-lesscpy (versioned as 0.13.0+ds-1.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru python-lesscpy-0.13.0+ds/debian/changelog python-lesscpy-0.13.0+ds/debian/changelog
--- python-lesscpy-0.13.0+ds/debian/changelog	2018-03-18 12:14:47.000000000 -0400
+++ python-lesscpy-0.13.0+ds/debian/changelog	2019-10-17 19:32:48.000000000 -0400
@@ -1,3 +1,10 @@
+python-lesscpy (0.13.0+ds-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937883
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 17 Oct 2019 19:32:48 -0400
+
 python-lesscpy (0.13.0+ds-1) unstable; urgency=medium
 
   * New maintainer: Thomas Andrejak (Closes: #893373)
diff -Nru python-lesscpy-0.13.0+ds/debian/control python-lesscpy-0.13.0+ds/debian/control
--- python-lesscpy-0.13.0+ds/debian/control	2018-03-18 12:14:47.000000000 -0400
+++ python-lesscpy-0.13.0+ds/debian/control	2019-10-17 19:32:48.000000000 -0400
@@ -3,9 +3,7 @@
 Priority: optional
 Maintainer: Thomas Andrejak <thomas.andre...@gmail.com>
 Build-Depends: debhelper (>= 11),
-               python-all,
-               python-ply,
-               python-setuptools,
+               dh-python,
                python3-all,
                python3-ply,
                python3-setuptools,
@@ -14,23 +12,6 @@
 Vcs-Git: https://salsa.debian.org/totol-guest/python-lesscpy.git
 Homepage: https://pypi.python.org/pypi/lesscpy
 
-Package: python-lesscpy
-Architecture: all
-Depends:
- python-ply,
- ${misc:Depends},
- ${python:Depends},
-Description: LessCss Compiler for Python 2.x
- Lesscpy is a compiler written in Python for the lesscss language. It is very
- useful if node.js can't be installed in the environment. Not all features of
- lesscss are supported (yet). Some features wil probably never be supported
- (JavaScript evaluation).
- .
- This program uses PLY (Python Lex-Yacc) to tokenize/parse the input and is
- considerably slower than the nodejs compiler.
- .
- This package provides the Python 2.x module.
-
 Package: python3-lesscpy
 Architecture: all
 Depends:
diff -Nru python-lesscpy-0.13.0+ds/debian/python-lesscpy.postinst python-lesscpy-0.13.0+ds/debian/python-lesscpy.postinst
--- python-lesscpy-0.13.0+ds/debian/python-lesscpy.postinst	2018-03-18 12:14:47.000000000 -0400
+++ python-lesscpy-0.13.0+ds/debian/python-lesscpy.postinst	1969-12-31 19:00:00.000000000 -0500
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "configure" ] ; then
-	update-alternatives --install /usr/bin/lesscpy lesscpy /usr/bin/python2-lesscpy 300
-fi
-
-#DEBHELPER#
-
-exit 0
diff -Nru python-lesscpy-0.13.0+ds/debian/python-lesscpy.prerm python-lesscpy-0.13.0+ds/debian/python-lesscpy.prerm
--- python-lesscpy-0.13.0+ds/debian/python-lesscpy.prerm	2018-03-18 12:14:47.000000000 -0400
+++ python-lesscpy-0.13.0+ds/debian/python-lesscpy.prerm	1969-12-31 19:00:00.000000000 -0500
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "remove" ] ; then
-	update-alternatives --remove lesscpy /usr/bin/python2-lesscpy
-fi
-
-#DEBHELPER#
-
-exit 0
diff -Nru python-lesscpy-0.13.0+ds/debian/rules python-lesscpy-0.13.0+ds/debian/rules
--- python-lesscpy-0.13.0+ds/debian/rules	2018-03-18 12:14:47.000000000 -0400
+++ python-lesscpy-0.13.0+ds/debian/rules	2019-10-17 19:32:19.000000000 -0400
@@ -3,10 +3,5 @@
 export PYBUILD_NAME = lesscpy
 export PYBUILD_DISABLE = test
 
-override_dh_install:
-	dh_install
-	mv $(CURDIR)/debian/python-lesscpy/usr/bin/lesscpy $(CURDIR)/debian/python-lesscpy/usr/bin/python2-lesscpy
-	mv $(CURDIR)/debian/python3-lesscpy/usr/bin/lesscpy $(CURDIR)/debian/python3-lesscpy/usr/bin/python3-lesscpy
-
 %:
-	dh $@ --with=python2,python3 --buildsystem=pybuild
+	dh $@ --with=python3 --buildsystem=pybuild

Reply via email to