Control: tags 936468 + patch
Control: tags 936468 + pending

Dear maintainer,

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

Regards.

diff -Nru editorconfig-core-py-0.12.2/debian/changelog editorconfig-core-py-0.12.2/debian/changelog
--- editorconfig-core-py-0.12.2/debian/changelog	2019-03-08 05:08:28.000000000 -0500
+++ editorconfig-core-py-0.12.2/debian/changelog	2019-10-18 21:26:40.000000000 -0400
@@ -1,3 +1,10 @@
+editorconfig-core-py (0.12.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #936468
+
+ -- Sandro Tosi <mo...@debian.org>  Fri, 18 Oct 2019 21:26:40 -0400
+
 editorconfig-core-py (0.12.2-1) unstable; urgency=medium
 
   [ Ben Finney ]
diff -Nru editorconfig-core-py-0.12.2/debian/control editorconfig-core-py-0.12.2/debian/control
--- editorconfig-core-py-0.12.2/debian/control	2019-03-08 05:08:28.000000000 -0500
+++ editorconfig-core-py-0.12.2/debian/control	2019-10-18 21:26:14.000000000 -0400
@@ -5,8 +5,6 @@
 Build-Depends-Indep:
     python3-setuptools,
     python3-all,
-    python-setuptools,
-    python-all (>= 2.6.6-3~),
     dh-python,
     debhelper (>= 12~)
 Build-Depends:
@@ -31,19 +29,3 @@
  EditorConfig core code can be used to locate and parse these files.
  .
  This package installs the library for Python 3.
-
-Package: python-editorconfig
-Architecture: all
-Depends:
-    ${python:Depends},
-    ${misc:Depends}
-Provides: ${python:Provides}
-Description: library for working with EditorConfig — Python 2
- EditorConfig makes it easy to maintain the correct coding style when
- switching between different text editors and between different
- projects.
- .
- When developing an editor plugin for reading EditorConfig files, the
- EditorConfig core code can be used to locate and parse these files.
- .
- This package installs the library for Python 2.
diff -Nru editorconfig-core-py-0.12.2/debian/rules editorconfig-core-py-0.12.2/debian/rules
--- editorconfig-core-py-0.12.2/debian/rules	2019-03-08 05:08:28.000000000 -0500
+++ editorconfig-core-py-0.12.2/debian/rules	2019-10-18 21:26:22.000000000 -0400
@@ -14,7 +14,7 @@
 export PYBUILD_NAME = editorconfig
 
 %:
-	dh $@ --with python3,python2 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 
 # Copyright © 2010–2019 Ben Finney <bign...@debian.org>
diff -Nru editorconfig-core-py-0.12.2/debian/tests/control editorconfig-core-py-0.12.2/debian/tests/control
--- editorconfig-core-py-0.12.2/debian/tests/control	2019-03-08 05:08:28.000000000 -0500
+++ editorconfig-core-py-0.12.2/debian/tests/control	2019-10-18 21:26:33.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-editorconfig
-
 Tests: smoke-python3
 Depends:
     python3-pkg-resources,
diff -Nru editorconfig-core-py-0.12.2/debian/tests/smoke-python2 editorconfig-core-py-0.12.2/debian/tests/smoke-python2
--- editorconfig-core-py-0.12.2/debian/tests/smoke-python2	2019-03-08 05:08:28.000000000 -0500
+++ editorconfig-core-py-0.12.2/debian/tests/smoke-python2	1969-12-31 19:00:00.000000000 -0500
@@ -1,45 +0,0 @@
-#! /bin/bash
-#
-# debian/tests/smoke-python2
-# Part of Debian ‘editorconfig-core-py’ package.
-#
-# This is free software, and you are welcome to redistribute it under
-# certain conditions; see the end of this file for copyright
-# information, grant of license, and disclaimer of warranty.
-
-# Smoke test for package in Python 2 environments.
-
-set -o errexit
-set -o errtrace
-set -o nounset
-
-DISTRIBUTION_NAME=EditorConfig
-MODULE_NAMES=(
-        editorconfig
-        )
-
-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
-
-
-# Copyright © 2016–2019 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 as published by the
-# Free Software Foundation; version 3 of that license or any later version.
-# No warranty expressed or implied.
-
-# Local variables:
-# coding: utf-8
-# mode: shell-script
-# End:
-# vim: fileencoding=utf-8 filetype=sh :

Reply via email to