Control: tags 936338 + patch

Dear maintainer,

I've prepared an NMU for cpuset (versioned as 1.6-3.1). The diff
is attached to this message.

Regards.

diff -Nru cpuset-1.6/debian/changelog cpuset-1.6/debian/changelog
--- cpuset-1.6/debian/changelog	2019-09-03 14:28:49.000000000 -0400
+++ cpuset-1.6/debian/changelog	2019-11-28 21:12:13.000000000 -0500
@@ -1,3 +1,10 @@
+cpuset (1.6-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #936338
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 28 Nov 2019 21:12:13 -0500
+
 cpuset (1.6-3) unstable; urgency=medium
 
   * python-cpuset: Add dependency on python-future (Closes: #939116)
diff -Nru cpuset-1.6/debian/control cpuset-1.6/debian/control
--- cpuset-1.6/debian/control	2019-09-03 14:28:49.000000000 -0400
+++ cpuset-1.6/debian/control	2019-11-28 21:10:58.000000000 -0500
@@ -2,13 +2,13 @@
 Maintainer: Roberto C. Sanchez <robe...@connexer.com>
 Section: utils
 Priority: optional
-Build-Depends: debhelper (>= 10), python-all (>= 2.6.6-3~), python3-all, dh-python, quilt
+Build-Depends: debhelper (>= 10), python3-all, dh-python, quilt
 Standards-Version: 4.4.0
 Homepage: https://github.com/lpechacek/cpuset
 
 Package: cpuset
 Architecture: all
-Depends: python-cpuset (= ${binary:Version}), ${python:Depends}, ${misc:Depends}
+Depends: python3-cpuset (= ${binary:Version}), ${python3:Depends}, ${misc:Depends}
 Description: Allows manipluation of cpusets and provides higher level fun
  Cpuset is a Python application to make using the cpusets facilities in the
  Linux kernel easier. The actual included command is called cset and it allows
@@ -17,20 +17,6 @@
  .
  This package contains the cset command-line utility.
 
-Package: python-cpuset
-Section: python
-Architecture: all
-Depends: python-future, ${python:Depends}, ${misc:Depends}
-Replaces: cpuset (<< 1.6~)
-Breaks: cpuset (<< 1.6~)
-Description: manipluation of cpusets and provides higher level fun - Python 2.x
- Cpuset is a Python application to make using the cpusets facilities in the
- Linux kernel easier. The actual included command is called cset and it allows
- manipulation of cpusets on the system and provides higher level functions such
- as implementation and control of a basic CPU shielding setup.
- .
- This package contains the Python 2.x modules.
-
 Package: python3-cpuset
 Section: python
 Architecture: all
diff -Nru cpuset-1.6/debian/rules cpuset-1.6/debian/rules
--- cpuset-1.6/debian/rules	2019-09-03 14:28:49.000000000 -0400
+++ cpuset-1.6/debian/rules	2019-11-28 21:12:04.000000000 -0500
@@ -15,13 +15,11 @@
 export PYBUILD_NAME=cpuset
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_install:
 	dh_auto_install
 	mkdir -p $(CURDIR)/debian/cpuset/usr/bin
-	mv $(CURDIR)/debian/python-cpuset/usr/bin/cset $(CURDIR)/debian/cpuset/usr/bin
-	rm -rf $(CURDIR)/debian/python-cpuset/usr/share/doc/cpuset \
-		$(CURDIR)/debian/python3-cpuset/usr/share/doc/cpuset \
-		$(CURDIR)/debian/python-cpuset/usr/bin \
+	mv $(CURDIR)/debian/python3-cpuset/usr/bin/cset $(CURDIR)/debian/cpuset/usr/bin
+	rm -rf $(CURDIR)/debian/python3-cpuset/usr/share/doc/cpuset \
 		$(CURDIR)/debian/python3-cpuset/usr/bin

Reply via email to