Control: tags 937432 + patch
Control: tags 937432 + pending

Dear maintainer,

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

Regards.

diff -Nru pyethash-0.1.27/debian/changelog pyethash-0.1.27/debian/changelog
--- pyethash-0.1.27/debian/changelog	2017-09-12 01:53:58.000000000 -0400
+++ pyethash-0.1.27/debian/changelog	2019-10-24 22:15:45.000000000 -0400
@@ -1,3 +1,10 @@
+pyethash (0.1.27-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937432
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 24 Oct 2019 22:15:45 -0400
+
 pyethash (0.1.27-1) unstable; urgency=medium
 
   * The “محمد صالح البجادي (Mohammed Saleh al-Bejadi)” release.
diff -Nru pyethash-0.1.27/debian/control pyethash-0.1.27/debian/control
--- pyethash-0.1.27/debian/control	2017-09-12 01:53:58.000000000 -0400
+++ pyethash-0.1.27/debian/control	2019-10-24 22:15:07.000000000 -0400
@@ -5,14 +5,11 @@
 Standards-Version: 4.1.0
 Build-Depends:
     python3-all-dev,
-    python-all-dev (>= 2.7~),
     dh-python,
     debhelper (>= 10~)
 Homepage: https://pypi.org/project/pyethash/
 VCS-Git: https://anonscm.debian.org/git/users/bignose/debian/pkg-pyethash.git
 VCS-Browser: https://anonscm.debian.org/git/users/bignose/debian/pkg-pyethash.git
-X-Python-Version: >= 2.7
-X-Python3-Version: >= 3.3
 
 Package: python3-pyethash
 Architecture: any
@@ -24,14 +21,3 @@
  Ethash is the Proof-of-Work function in the Ethereum protocol.
  .
  This package installs the library for Python 3.
-
-Package: python-pyethash
-Architecture: any
-Depends:
-    ${python:Depends},
-    ${shlibs:Depends},
-    ${misc:Depends}
-Description: Ethash proof-of-work algorithm — Python 2
- Ethash is the Proof-of-Work function in the Ethereum protocol.
- .
- This package installs the library for Python 2.
diff -Nru pyethash-0.1.27/debian/rules pyethash-0.1.27/debian/rules
--- pyethash-0.1.27/debian/rules	2017-09-12 01:53:58.000000000 -0400
+++ pyethash-0.1.27/debian/rules	2019-10-24 22:15:17.000000000 -0400
@@ -19,7 +19,7 @@
 
 
 %:
-	dh $@ --with python3,python2 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 
 .PHONY: get-packaged-orig-source
diff -Nru pyethash-0.1.27/debian/tests/control pyethash-0.1.27/debian/tests/control
--- pyethash-0.1.27/debian/tests/control	2017-09-12 01:53:58.000000000 -0400
+++ pyethash-0.1.27/debian/tests/control	2019-10-24 22:15:29.000000000 -0400
@@ -7,11 +7,6 @@
     python3-pkg-resources,
     python3-pyethash
 
-Tests: smoke-python2
-Depends:
-    python-pkg-resources,
-    python-pyethash
-
 
 # Local variables:
 # coding: utf-8
diff -Nru pyethash-0.1.27/debian/tests/smoke-python2 pyethash-0.1.27/debian/tests/smoke-python2
--- pyethash-0.1.27/debian/tests/smoke-python2	2017-09-12 01:53:58.000000000 -0400
+++ pyethash-0.1.27/debian/tests/smoke-python2	1969-12-31 19:00:00.000000000 -0500
@@ -1,40 +0,0 @@
-#! /bin/bash
-#
-# debian/tests/smoke-python2
-# Part of Debian ‘pyethash’ 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 as published by the
-# Free Software Foundation; version 3 of that license or any later version.
-# No warranty expressed or implied.
-#
-# Smoke test for package in Python 2 environments.
-
-set -o errexit
-set -o errtrace
-set -o nounset
-
-DISTRIBUTION_NAME=pyethash
-MODULE_NAMES=(
-        pyethash
-        )
-
-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