Control: tags 937534 + patch
Control: tags 937534 + pending

Dear maintainer,

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

Regards.

diff -Nru pysha3-1.0.2/debian/changelog pysha3-1.0.2/debian/changelog
--- pysha3-1.0.2/debian/changelog	2017-08-22 19:36:06.000000000 -0400
+++ pysha3-1.0.2/debian/changelog	2019-10-17 20:42:27.000000000 -0400
@@ -1,3 +1,10 @@
+pysha3 (1.0.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937534
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 17 Oct 2019 20:42:27 -0400
+
 pysha3 (1.0.2-2) unstable; urgency=medium
 
   * Correct VCS URL fields.
diff -Nru pysha3-1.0.2/debian/control pysha3-1.0.2/debian/control
--- pysha3-1.0.2/debian/control	2017-08-22 19:36:06.000000000 -0400
+++ pysha3-1.0.2/debian/control	2019-10-17 20:41:37.000000000 -0400
@@ -9,9 +9,6 @@
     python3-setuptools,
     python3-all-dev,
     python3,
-    python-setuptools,
-    python-all-dev (>= 2.7~),
-    python (>= 2.7~),
     dh-python,
     debhelper (>= 10~)
 Homepage: https://pypi.org/project/pysha3/
@@ -37,21 +34,3 @@
  Hash And Extendable-Output Functions”.
  .
  This package installs the library for Python 3.
-
-Package: python-sha3
-Architecture: any
-Depends:
-    ${python:Depends},
-    ${shlibs:Depends},
-    ${misc:Depends}
-Description: SHA-3 (Keccak) hash implementation — Python 2
- ‘sha3’ is a Python library for the SHA-3 hashing functions.
- .
- This is a stand-alone package of the ‘sha3’ code included in Python
- 3.6 and later.
- .
- SHA-3, also known as “Keccak”, is a family of algorithms standardised
- by NIST under the title “FIPS 202, SHA-3 Standard: Permutation-Based
- Hash And Extendable-Output Functions”.
- .
- This package installs the library for Python 2.
diff -Nru pysha3-1.0.2/debian/rules pysha3-1.0.2/debian/rules
--- pysha3-1.0.2/debian/rules	2017-08-22 19:36:06.000000000 -0400
+++ pysha3-1.0.2/debian/rules	2019-10-17 20:41:58.000000000 -0400
@@ -18,7 +18,7 @@
 
 
 %:
-	dh $@ --with python3,python2 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 
 .PHONY: get-packaged-orig-source
diff -Nru pysha3-1.0.2/debian/tests/control pysha3-1.0.2/debian/tests/control
--- pysha3-1.0.2/debian/tests/control	2017-08-22 19:36:06.000000000 -0400
+++ pysha3-1.0.2/debian/tests/control	2019-10-17 20:42:09.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-sha3
-
 Tests: smoke-python3
 Depends:
     python3-pkg-resources,
diff -Nru pysha3-1.0.2/debian/tests/smoke-python2 pysha3-1.0.2/debian/tests/smoke-python2
--- pysha3-1.0.2/debian/tests/smoke-python2	2017-08-22 19:36:06.000000000 -0400
+++ pysha3-1.0.2/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 ‘pysha3’ 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=pysha3
-MODULE_NAMES=(
-        sha3
-        )
-
-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