Control: tags 936914 + patch
Control: tags 936914 + pending

Dear maintainer,

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

Regards.

diff -Nru libsass-python-0.17.0/debian/changelog libsass-python-0.17.0/debian/changelog
--- libsass-python-0.17.0/debian/changelog	2019-01-11 06:28:55.000000000 -0500
+++ libsass-python-0.17.0/debian/changelog	2019-11-16 19:43:31.000000000 -0500
@@ -1,3 +1,10 @@
+libsass-python (0.17.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #936914
+
+ -- Sandro Tosi <[email protected]>  Sat, 16 Nov 2019 19:43:31 -0500
+
 libsass-python (0.17.0-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru libsass-python-0.17.0/debian/control libsass-python-0.17.0/debian/control
--- libsass-python-0.17.0/debian/control	2019-01-11 06:28:55.000000000 -0500
+++ libsass-python-0.17.0/debian/control	2019-11-16 19:41:23.000000000 -0500
@@ -4,30 +4,19 @@
 Priority: optional
 Build-Depends: debhelper (>= 12~),
  dh-python,
- python-all-dev, python3-all-dev,
- python-setuptools, python3-setuptools,
- python-six, python3-six,
- python-sphinx, python3-sphinx,
- python-werkzeug, python3-werkzeug,
- python-flake8, python3-flake8,
- python-pytest, python3-pytest,
+ python3-all-dev,
+ python3-setuptools,
+ python3-six,
+ python3-sphinx,
+ python3-werkzeug,
+ python3-flake8,
+ python3-pytest,
  libsass-dev (>= 3.5.4)
 Standards-Version: 4.3.0
 Homepage: https://hongminhee.org/libsass-python/
 Vcs-Git: https://salsa.debian.org/debian/libsass-python.git
 Vcs-Browser: https://salsa.debian.org/debian/libsass-python
 
-Package: python-libsass
-Architecture: any
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
-Description: SASS for Python: a straightforward binding of libsass for Python
- This package provides a simple Python extension module sass which is binding
- Libsass (written in C/C++ by Hampton Catlin and Aaron Leung). It's very
- straightforward and there isn't any headache related Python
- distribution/deployment.
- That means you can add just libsass into your setup.py's install_requires list
- or requirements.txt file. Need no Ruby nor Node.js.
-
 Package: python3-libsass
 Architecture: any
 Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
@@ -42,7 +31,7 @@
 Package: pysassc
 Section: web
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, python-libsass, python3-libsass
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, python3-libsass
 Description: SASS for Python: command line utility for libsass
  This package provides a simple Python script to access libsass
  functionnalities.
diff -Nru libsass-python-0.17.0/debian/python-libsass.install libsass-python-0.17.0/debian/python-libsass.install
--- libsass-python-0.17.0/debian/python-libsass.install	2019-01-11 06:28:55.000000000 -0500
+++ libsass-python-0.17.0/debian/python-libsass.install	1969-12-31 19:00:00.000000000 -0500
@@ -1,4 +0,0 @@
-usr/lib/python2*/*-packages/*.py
-usr/lib/python2*/*-packages/_sass*.so
-usr/lib/python2*/*-packages/*.egg-info/ 
-usr/lib/python2*/*-packages/sassutils/ 
diff -Nru libsass-python-0.17.0/debian/rules libsass-python-0.17.0/debian/rules
--- libsass-python-0.17.0/debian/rules	2019-01-11 06:28:55.000000000 -0500
+++ libsass-python-0.17.0/debian/rules	2019-11-16 19:42:58.000000000 -0500
@@ -6,10 +6,10 @@
 export SYSTEM_SASS = 1
 %:
 	dpkg-query -f '${Version}\n' -W libsass-dev|sed 's/-.*//' > .libsass-upstream-version
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_build:
-	pybuild --build -p "$(shell pyversions -vr; py3versions -vr)"
+	pybuild --build -p "$(shell py3versions -vr)"
 	# build doc once
 	pybuild -s custom --build -p $(shell py3versions -vd) \
 		--build-args="env PYTHONPATH={build_dir} python3 -m sphinx -N -bman docs/ build/man"
@@ -22,7 +22,7 @@
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	pybuild -s custom --test -p "$(shell pyversions -vr; py3versions -vr)" \
+	pybuild -s custom --test -p "$(shell py3versions -vr)" \
 		--test-args="cp -fr test testpkg {build_dir}/; \
 		{interpreter} setup.py bdist_egg --dist-dir {build_dir}/testpkg/.eggs; \
 		cd {build_dir}; {interpreter} -m unittest sasstests"

Reply via email to