Control: tags 937112 + patch
Control: tags 937112 + pending

Dear maintainer,

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

Regards.

diff -Nru natsort-6.0.0/debian/changelog natsort-6.0.0/debian/changelog
--- natsort-6.0.0/debian/changelog	2019-02-11 02:07:09.000000000 -0500
+++ natsort-6.0.0/debian/changelog	2019-10-06 16:00:20.000000000 -0400
@@ -1,3 +1,10 @@
+natsort (6.0.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937112
+
+ -- Sandro Tosi <[email protected]>  Sun, 06 Oct 2019 16:00:20 -0400
+
 natsort (6.0.0-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru natsort-6.0.0/debian/control natsort-6.0.0/debian/control
--- natsort-6.0.0/debian/control	2019-02-11 02:07:09.000000000 -0500
+++ natsort-6.0.0/debian/control	2019-10-06 15:59:15.000000000 -0400
@@ -7,8 +7,6 @@
  debhelper (>= 11),
  dh-python,
  help2man,
- python-all,
- python-setuptools,
  python3-all,
  python3-setuptools,
  python3-sphinx,
@@ -17,33 +15,6 @@
 Vcs-Git: https://salsa.debian.org/debian/natsort.git
 Vcs-Browser: https://salsa.debian.org/debian/natsort
 
-Package: python-natsort
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
-Recommends: python-natsort-doc
-Breaks: python-naturalsort
-Conflicts: python-naturalsort
-Replaces: python-naturalsort
-Description: Natural sorting for Python
- natsort lets you apply natural sorting to your sequences easily, for example:
- .
-  >>> from natsort import natsorted
-  >>> a = ['a2', 'a9', 'a1', 'a4', 'a10']
-  >>> data = [['a1', 'a5'], ['a1', 'a40'], ['a10', 'a1'], ['a2', 'a5']]
-  >>> natsorted(a)
-  ['a1', 'a2', 'a4', 'a9', 'a10'
-  >>> natsorted(data)
-  [['a1', 'a5'], ['a1', 'a40'], ['a2', 'a5'], ['a10', 'a1']]
- .
- natsort identifies the numbers and sorts them separately from strings.
- .
- natsort comes with a shell script to use natural sorting in shell scripts. You
- can also execute natsort from the command line with Python -m natsort.
- .
- There exists another natural sorting package for Python called
- python-naturalsort. You may prefer that package if you wish to only sort
- version numbers.
-
 Package: python3-natsort
 Architecture: all
 Recommends: python-natsort-doc
@@ -71,7 +42,6 @@
  .
  This is the Python 3 version of the package.
 
-
 Package: python-natsort-doc
 Architecture: all
 Section: doc
diff -Nru natsort-6.0.0/debian/rules natsort-6.0.0/debian/rules
--- natsort-6.0.0/debian/rules	2019-02-11 02:07:09.000000000 -0500
+++ natsort-6.0.0/debian/rules	2019-10-06 15:59:58.000000000 -0400
@@ -9,7 +9,7 @@
 export PYBUILD_NAME=$(DEB_SOURCE)
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean
diff -Nru natsort-6.0.0/debian/tests/control natsort-6.0.0/debian/tests/control
--- natsort-6.0.0/debian/tests/control	2019-02-11 02:07:09.000000000 -0500
+++ natsort-6.0.0/debian/tests/control	2019-10-06 16:00:16.000000000 -0400
@@ -3,5 +3,4 @@
  tox,
  locales-all,
  build-essential,
- python2-dev,
  python3-dev,
diff -Nru natsort-6.0.0/debian/tests/unittests natsort-6.0.0/debian/tests/unittests
--- natsort-6.0.0/debian/tests/unittests	2019-02-11 02:07:09.000000000 -0500
+++ natsort-6.0.0/debian/tests/unittests	2019-10-06 16:00:09.000000000 -0400
@@ -1 +1 @@
-tox -e "py27, py37, docs"
+tox -e "py37, docs"

Reply via email to