summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Tosi <morph@debian.org>2019-12-15 17:46:44 -0500
committerSandro Tosi <morph@debian.org>2019-12-15 17:46:44 -0500
commit3a02a3e71db16de28feb2c76df9eb93623346413 (patch)
tree308c48c82afc9d7e434a40e1ab7155af911d14b1
parent8b39d85b2b1c0e11b51272a3a469106c1af594e1 (diff)
Drop python2 support; Closes: #937888
-rw-r--r--debian/changelog6
-rw-r--r--debian/control19
-rwxr-xr-xdebian/rules2
3 files changed, 6 insertions, 21 deletions
diff --git a/debian/changelog b/debian/changelog
index 44b85cc..6ba4e4b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
python-libnacl (1.6.1-5) UNRELEASED; urgency=medium
+ [ Ondřej Nový ]
* Use debhelper-compat instead of debian/compat.
- -- Ondřej Nový <onovy@debian.org> Fri, 19 Jul 2019 23:46:14 +0200
+ [ Sandro Tosi ]
+ * Drop python2 support; Closes: #937888
+
+ -- Sandro Tosi <morph@debian.org> Sun, 15 Dec 2019 17:45:46 -0500
python-libnacl (1.6.1-4) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 4574401..dea01c8 100644
--- a/debian/control
+++ b/debian/control
@@ -7,10 +7,6 @@ Build-Depends: debhelper-compat (= 9),
dh-python,
libsodium-dev (>= 1.0.15),
pkg-config,
- python (>= 2.6.6-3~),
- python-all,
- python-nose,
- python-setuptools,
python3 (>= 3.1.2-8~),
python3-all,
python3-nose,
@@ -21,21 +17,6 @@ Vcs-Browser: https://salsa.debian.org/python-team/modules/python-libnacl
Homepage: https://libnacl.readthedocs.io/
Rules-Requires-Root: no
-Package: python-libnacl
-Architecture: all
-Multi-Arch: foreign
-Depends: ${libsodium:Depends},
- ${misc:Depends},
- ${python:Depends}
-Description: Python 2 bindings for libsodium based on ctypes
- This library is used to gain direct access to the functions exposed by
- Daniel J. Bernstein's nacl library via libsodium. It has been constructed
- to maintain extensive documentation on how to use nacl as well as being
- completely portable.
- .
- This library is unrelated to Native Client (NaCl), the sandbox used in
- Chromium.
-
Package: python3-libnacl
Architecture: all
Multi-Arch: foreign
diff --git a/debian/rules b/debian/rules
index cf558ed..9b69d6f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ export PYBUILD_NAME := libnacl
export PYBUILD_TEST_NOSE := 1
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python3 --buildsystem=pybuild
override_dh_gencontrol:
dh_gencontrol -- -Vlibsodium:Depends="$(shell debian/get-libsodium-depends)"