diff options
author | Sandro Tosi <morph@debian.org> | 2019-12-15 22:46:47 +0000 |
---|---|---|
committer | Sandro Tosi <morph@debian.org> | 2019-12-15 22:46:47 +0000 |
commit | e70ad07f3aa62153a68287a6a5445c74547f9c93 (patch) | |
tree | ec9fa9e19ff39db45e793330f142ade81a63c98b | |
parent | 81ee0d213a65eaf9b6fb83d3c5e4cb9dfb8533c9 (diff) | |
parent | 1927bab374ce0036b3e5925648ebfc1b75c8ae3e (diff) |
python-libnacl (1.6.1-5) unstable; urgency=medium
[ Ondřej Nový ]
* Use debhelper-compat instead of debian/compat.
[ Sandro Tosi ]
* Drop python2 support; Closes: #937888
[dgit import unpatched python-libnacl 1.6.1-5]
-rw-r--r-- | debian/changelog | 80 | ||||
-rw-r--r-- | debian/control | 33 | ||||
-rw-r--r-- | debian/copyright | 27 | ||||
-rwxr-xr-x | debian/get-libsodium-depends | 5 | ||||
-rwxr-xr-x | debian/rules | 10 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
7 files changed, 159 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..72b329b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,80 @@ +python-libnacl (1.6.1-5) unstable; urgency=medium + + [ Ondřej Nový ] + * Use debhelper-compat instead of debian/compat. + + [ Sandro Tosi ] + * Drop python2 support; Closes: #937888 + + -- Sandro Tosi <morph@debian.org> Sun, 15 Dec 2019 17:46:47 -0500 + +python-libnacl (1.6.1-4) unstable; urgency=medium + + [ Ondřej Nový ] + * d/watch: Use https protocol + * d/control: Remove ancient X-Python-Version field + * d/control: Remove ancient X-Python3-Version field + * Convert git repository from git-dpm to gbp layout + + [ Colin Watson ] + * Update Homepage field to use HTTPS. + + -- Colin Watson <cjwatson@debian.org> Fri, 01 Mar 2019 12:54:35 +0000 + +python-libnacl (1.6.1-3) unstable; urgency=medium + + * Move VCS to salsa.debian.org. + * Switch Maintainer to the Debian Python Modules Team. + + -- Colin Watson <cjwatson@debian.org> Sat, 10 Feb 2018 02:38:53 +0000 + +python-libnacl (1.6.1-2) unstable; urgency=medium + + * Rebuild against libsodium23 (closes: #885934). + + -- Colin Watson <cjwatson@debian.org> Sun, 31 Dec 2017 15:30:10 +0000 + +python-libnacl (1.6.1-1) unstable; urgency=medium + + * New upstream release. + * Set Rules-Requires-Root: no. + * Policy version 4.1.1. + + -- Colin Watson <cjwatson@debian.org> Mon, 06 Nov 2017 16:41:49 +0000 + +python-libnacl (1.5.2-3) unstable; urgency=medium + + * Restore crypto_aead_aes256gcm_*BYTES on old CPUs. + + -- Colin Watson <cjwatson@debian.org> Fri, 04 Aug 2017 10:05:26 +0100 + +python-libnacl (1.5.2-2) unstable; urgency=medium + + * Check whether AEAD functions are available (closes: #869241). + * Policy version 4.0.0. + + -- Colin Watson <cjwatson@debian.org> Thu, 03 Aug 2017 10:40:21 +0100 + +python-libnacl (1.5.2-1) unstable; urgency=medium + + * New upstream release. + + -- Colin Watson <cjwatson@debian.org> Fri, 21 Jul 2017 19:35:32 +0100 + +python-libnacl (1.5.1-1) unstable; urgency=medium + + * New upstream release. + + -- Colin Watson <cjwatson@debian.org> Tue, 20 Jun 2017 11:08:46 +0100 + +python-libnacl (1.5.0-1) unstable; urgency=medium + + * New upstream release. + + -- Colin Watson <cjwatson@debian.org> Thu, 15 Sep 2016 11:05:44 +0100 + +python-libnacl (1.4.5-1) unstable; urgency=medium + + * Initial release (closes: #781984). + + -- Colin Watson <cjwatson@debian.org> Tue, 24 May 2016 15:50:00 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..dea01c8 --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: python-libnacl +Section: python +Priority: optional +Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> +Uploaders: Colin Watson <cjwatson@debian.org> +Build-Depends: debhelper-compat (= 9), + dh-python, + libsodium-dev (>= 1.0.15), + pkg-config, + python3 (>= 3.1.2-8~), + python3-all, + python3-nose, + python3-setuptools, +Standards-Version: 4.1.1 +Vcs-Git: https://salsa.debian.org/python-team/modules/python-libnacl.git +Vcs-Browser: https://salsa.debian.org/python-team/modules/python-libnacl +Homepage: https://libnacl.readthedocs.io/ +Rules-Requires-Root: no + +Package: python3-libnacl +Architecture: all +Multi-Arch: foreign +Depends: ${libsodium:Depends}, + ${misc:Depends}, + ${python3:Depends} +Description: Python 3 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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..14702e4 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libnacl +Source: http://pypi.python.org/pypi/libnacl/ + +Files: * +Copyright: Copyright {2014} Thomas S Hatch +License: Apache-2.0 + +Files: debian/* +Copyright: Copyright (C) 2016 Colin Watson <cjwatson@debian.org> +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian and Debian-based systems, a copy of the License is available in + /usr/share/common-licenses/Apache-2.0. diff --git a/debian/get-libsodium-depends b/debian/get-libsodium-depends new file mode 100755 index 0000000..5282722 --- /dev/null +++ b/debian/get-libsodium-depends @@ -0,0 +1,5 @@ +#! /bin/sh +set -e + +libdir="$(pkg-config --variable=libdir libsodium)" +objdump -p "$libdir/libsodium.so" | sed -ne '/ SONAME / { s/.* //; s/\.so\.//; p }' diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9b69d6f --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#! /usr/bin/make -f + +export PYBUILD_NAME := libnacl +export PYBUILD_TEST_NOSE := 1 + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_gencontrol: + dh_gencontrol -- -Vlibsodium:Depends="$(shell debian/get-libsodium-depends)" diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..72365a6 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/libnacl/libnacl-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) |