Control: tags 937855 + patch

Dear maintainer,

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

I've uploaded directly to unstable as it fixes and RC bug

Regards.

diff -Nru python-jsonext-0.4.1/debian/changelog python-jsonext-0.4.1/debian/changelog
--- python-jsonext-0.4.1/debian/changelog	2017-08-26 07:11:04.000000000 -0400
+++ python-jsonext-0.4.1/debian/changelog	2019-10-18 21:46:36.000000000 -0400
@@ -1,3 +1,10 @@
+python-jsonext (0.4.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937855
+
+ -- Sandro Tosi <mo...@debian.org>  Fri, 18 Oct 2019 21:46:36 -0400
+
 python-jsonext (0.4.1-1) unstable; urgency=medium
 
   * The “علي محمد باقر النمر‎‎ (Ali Mohammed Baqir al-Nimr)” release.
diff -Nru python-jsonext-0.4.1/debian/control python-jsonext-0.4.1/debian/control
--- python-jsonext-0.4.1/debian/control	2017-08-26 07:11:04.000000000 -0400
+++ python-jsonext-0.4.1/debian/control	2019-10-18 21:46:03.000000000 -0400
@@ -9,11 +9,6 @@
     python3-six,
     python3-setuptools,
     python3-all,
-    python-pytest-runner,
-    python-arrow,
-    python-six,
-    python-setuptools,
-    python-all (>= 2.7~),
     dh-python,
     debhelper (>= 10~)
 Homepage: https://pypi.org/project/jsonext/
@@ -32,14 +27,3 @@
  the standard Python built-in-types.
  .
  This package installs the library for Python 3.
-
-Package: python-jsonext
-Architecture: all
-Depends:
-    ${python:Depends},
-    ${misc:Depends}
-Description: serialisation to/from JSON for extra types — Python 2
- ‘jsonext’ makes easy JSON serialisation of Python objects outside of
- the standard Python built-in-types.
- .
- This package installs the library for Python 2.
diff -Nru python-jsonext-0.4.1/debian/rules python-jsonext-0.4.1/debian/rules
--- python-jsonext-0.4.1/debian/rules	2017-08-26 07:11:04.000000000 -0400
+++ python-jsonext-0.4.1/debian/rules	2019-10-18 21:46:17.000000000 -0400
@@ -16,7 +16,7 @@
 
 
 %:
-	dh $@ --with python3,python2 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 
 .PHONY: get-packaged-orig-source
diff -Nru python-jsonext-0.4.1/debian/tests/control python-jsonext-0.4.1/debian/tests/control
--- python-jsonext-0.4.1/debian/tests/control	2017-08-26 07:11:04.000000000 -0400
+++ python-jsonext-0.4.1/debian/tests/control	2019-10-18 21:46:27.000000000 -0400
@@ -2,11 +2,6 @@
 # Control file for Debian ‘autopkgtests’.
 # Documentation: ‘/usr/share/doc/autopkgtest/README.package-tests.rst.gz’.
 
-Tests: smoke-python2
-Depends:
-    python-pkg-resources,
-    python-jsonext
-
 Tests: smoke-python3
 Depends:
     python3-pkg-resources,
diff -Nru python-jsonext-0.4.1/debian/tests/smoke-python2 python-jsonext-0.4.1/debian/tests/smoke-python2
--- python-jsonext-0.4.1/debian/tests/smoke-python2	2017-08-26 07:11:04.000000000 -0400
+++ python-jsonext-0.4.1/debian/tests/smoke-python2	1969-12-31 19:00:00.000000000 -0500
@@ -1,39 +0,0 @@
-#! /bin/bash
-#
-# debian/tests/smoke-python2
-# Part of Debian ‘python-jsonext’ package.
-#
-# Copyright © 2016–2017 Ben Finney <bign...@debian.org>
-# This is free software; you may copy, modify and/or distribute this work
-# under the terms of the GNU General Public License, version 3 or later.
-# No warranty expressed or implied.
-#
-# Smoke test for package in Python 2 environments.
-
-set -o errexit
-set -o errtrace
-set -o nounset
-
-DISTRIBUTION_NAME=jsonext
-MODULE_NAMES=(
-        jsonext
-        )
-
-test_opts="--distribution=$DISTRIBUTION_NAME"
-for mod in ${MODULE_NAMES[@]} ; do
-    # Accumulate the module names.
-    test_opts="$test_opts --module=$mod"
-done
-
-for py in $(pyversions -i) ; do
-    printf "Python command: %s\n" $py
-    $py debian/tests/smoke_test.py $test_opts
-    printf "\n"
-done
-
-
-# Local variables:
-# coding: utf-8
-# mode: shell-script
-# End:
-# vim: fileencoding=utf-8 filetype=sh :

Reply via email to