Control: tags 937385 + patch

Dear maintainer,

I've prepared an NMU for pyalsaaudio (versioned as 0.8.4-1.1). The diff
is attached to this message.

Regards.

diff -Nru pyalsaaudio-0.8.4/debian/changelog pyalsaaudio-0.8.4/debian/changelog
--- pyalsaaudio-0.8.4/debian/changelog	2018-09-21 10:45:13.000000000 -0400
+++ pyalsaaudio-0.8.4/debian/changelog	2019-12-22 23:11:25.000000000 -0500
@@ -1,3 +1,10 @@
+pyalsaaudio (0.8.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python3 support; Closes: #937385
+
+ -- Sandro Tosi <mo...@debian.org>  Sun, 22 Dec 2019 23:11:25 -0500
+
 pyalsaaudio (0.8.4-1) unstable; urgency=medium
 
   * New upstream version 0.8.4 (closes: #613091, #909226)
diff -Nru pyalsaaudio-0.8.4/debian/control pyalsaaudio-0.8.4/debian/control
--- pyalsaaudio-0.8.4/debian/control	2018-09-21 10:45:13.000000000 -0400
+++ pyalsaaudio-0.8.4/debian/control	2019-12-22 23:09:33.000000000 -0500
@@ -4,12 +4,9 @@
 Maintainer: Paul Brossier <p...@debian.org>
 Build-Depends: debhelper (>= 10~),
                dh-python,
-               python-all-dev (>= 2.3.5-11),
-               python-setuptools,
                python3-all-dev,
                python3-setuptools,
                libasound2-dev,
-               python-sphinx,
                python3-sphinx,
                libjs-jquery,
                libjs-underscore
@@ -18,17 +15,6 @@
 Vcs-Git: https://salsa.debian.org/multimedia-team/pyalsaaudio.git
 Vcs-Browser: https://salsa.debian.org/multimedia-team/pyalsaaudio
 
-Package: python-alsaaudio
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
-Recommends: libjs-jquery, libjs-underscore
-Description: Alsa bindings for Python
- This package contains wrappers for accessing the ALSA API from Python.
- Access to PCM devices and Mixer is supported. Access to MIDI sequencers
- is not supported yet.
- .
- This package provides the alsaaudio module for Python 2.
-
 Package: python3-alsaaudio
 Architecture: any
 Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
diff -Nru pyalsaaudio-0.8.4/debian/python-alsaaudio.docs pyalsaaudio-0.8.4/debian/python-alsaaudio.docs
--- pyalsaaudio-0.8.4/debian/python-alsaaudio.docs	2017-08-21 13:12:11.000000000 -0400
+++ pyalsaaudio-0.8.4/debian/python-alsaaudio.docs	1969-12-31 19:00:00.000000000 -0500
@@ -1,2 +0,0 @@
-TODO
-doc/html/
diff -Nru pyalsaaudio-0.8.4/debian/python-alsaaudio.examples pyalsaaudio-0.8.4/debian/python-alsaaudio.examples
--- pyalsaaudio-0.8.4/debian/python-alsaaudio.examples	2018-09-21 09:37:01.000000000 -0400
+++ pyalsaaudio-0.8.4/debian/python-alsaaudio.examples	1969-12-31 19:00:00.000000000 -0500
@@ -1,3 +0,0 @@
-mixertest.py
-playbacktest.py
-recordtest.py
diff -Nru pyalsaaudio-0.8.4/debian/rules pyalsaaudio-0.8.4/debian/rules
--- pyalsaaudio-0.8.4/debian/rules	2018-09-21 09:29:12.000000000 -0400
+++ pyalsaaudio-0.8.4/debian/rules	2019-12-22 23:11:25.000000000 -0500
@@ -5,7 +5,7 @@
 export PYBUILD_TEST_ARGS=cd '{build_dir}'; python{version} {dir}/test.py -v
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean --buildsystem=pybuild
@@ -15,7 +15,7 @@
 
 override_dh_auto_build:
 	dh_auto_build --buildsystem=pybuild
-	cd doc && make
+	cd doc && $(MAKE) SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build
 
 override_dh_auto_install:
 	dh_auto_install --buildsystem=pybuild
@@ -25,7 +25,5 @@
 
 override_dh_installdocs:
 	dh_installdocs
-	ln -sf /usr/share/javascript/jquery/jquery.js debian/python-alsaaudio/usr/share/doc/python-alsaaudio/html/_static/jquery.js
-	ln -sf /usr/share/javascript/underscore/underscore.js debian/python-alsaaudio/usr/share/doc/python-alsaaudio/html/_static/underscore.js
 	ln -sf /usr/share/javascript/jquery/jquery.js debian/python3-alsaaudio/usr/share/doc/python3-alsaaudio/html/_static/jquery.js
 	ln -sf /usr/share/javascript/underscore/underscore.js debian/python3-alsaaudio/usr/share/doc/python3-alsaaudio/html/_static/underscore.js
diff -Nru pyalsaaudio-0.8.4/debian/tests/control pyalsaaudio-0.8.4/debian/tests/control
--- pyalsaaudio-0.8.4/debian/tests/control	2018-09-21 07:39:26.000000000 -0400
+++ pyalsaaudio-0.8.4/debian/tests/control	2019-12-22 23:11:13.000000000 -0500
@@ -1,3 +1,3 @@
-Tests: py2xtests, py3xtests
+Tests: py3xtests
 Depends: @
 Restrictions: allow-stderr
diff -Nru pyalsaaudio-0.8.4/debian/tests/py2xtests pyalsaaudio-0.8.4/debian/tests/py2xtests
--- pyalsaaudio-0.8.4/debian/tests/py2xtests	2018-09-21 07:38:31.000000000 -0400
+++ pyalsaaudio-0.8.4/debian/tests/py2xtests	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-python2 test.py -v

Reply via email to