summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@debian.org>2022-11-02 21:07:49 +0000
committerJelmer Vernooij <jelmer@debian.org>2022-11-02 21:07:49 +0000
commit232bd86eb7f19c55ac459f71986daa8ca41de777 (patch)
tree8ec2d7e69f4f37b6165976781a276e4c3e65e963
parent7ef4f5a87346ec1362c58904e7e0e686ac25da1e (diff)
parent12b552d0f0cf65bdcd98ee98beb445929b289d8f (diff)
python-libnacl (1.8.0-3) unstable; urgency=medium
[ Debian Janitor ] * Remove constraints unnecessary since buster (oldstable): + Build-Depends: Drop versioned constraint on libsodium-dev and python3. [dgit import unpatched python-libnacl 1.8.0-3]
-rw-r--r--debian/changelog140
-rw-r--r--debian/control34
-rw-r--r--debian/copyright27
-rwxr-xr-xdebian/get-libsodium-depends5
-rwxr-xr-xdebian/rules10
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
7 files changed, 220 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9dd4a72
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,140 @@
+python-libnacl (1.8.0-3) unstable; urgency=medium
+
+ [ Debian Janitor ]
+ * Remove constraints unnecessary since buster (oldstable):
+ + Build-Depends: Drop versioned constraint on libsodium-dev and python3.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Wed, 02 Nov 2022 21:07:49 +0000
+
+python-libnacl (1.8.0-2) unstable; urgency=medium
+
+ [ Debian Janitor ]
+ * Bump debhelper from deprecated 9 to 13.
+
+ [ Colin Watson ]
+ * Switch from nose to pytest.
+
+ -- Colin Watson <cjwatson@debian.org> Mon, 22 Aug 2022 11:56:19 +0100
+
+python-libnacl (1.8.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Colin Watson <cjwatson@debian.org> Mon, 16 Aug 2021 00:07:32 +0100
+
+python-libnacl (1.7.2-3) unstable; urgency=medium
+
+ * Team upload.
+ * Patch: Fix crypto_kdf_derive_from_key() on 32-bit platforms.
+ (Closes: #988102)
+
+ -- Stefano Rivera <stefanor@debian.org> Fri, 21 May 2021 16:35:48 -0400
+
+python-libnacl (1.7.2-2) unstable; urgency=medium
+
+ * Add Breaks: python3-duniterpy (<< 0.60.1) (see #974655).
+
+ -- Colin Watson <cjwatson@debian.org> Sat, 14 Nov 2020 12:40:57 +0000
+
+python-libnacl (1.7.2-1) unstable; urgency=medium
+
+ [ Ondřej Nový ]
+ * d/control: Update Maintainer field with new Debian Python Team
+ contact address.
+ * d/control: Update Vcs-* fields with new Debian Python Team Salsa
+ layout.
+
+ [ Colin Watson ]
+ * New upstream release.
+ - Remove encoding parameter json.loads for Python 3.9 compatibility
+ (closes: #973199).
+
+ -- Colin Watson <cjwatson@debian.org> Sun, 08 Nov 2020 16:48:53 +0000
+
+python-libnacl (1.7.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Fix unreliability in verify tests (closes: #922259).
+
+ -- Colin Watson <cjwatson@debian.org> Fri, 10 Jan 2020 00:00:35 +0000
+
+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..38ee287
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: python-libnacl
+Section: python
+Priority: optional
+Maintainer: Debian Python Team <team+python@tracker.debian.org>
+Uploaders: Colin Watson <cjwatson@debian.org>
+Build-Depends: debhelper-compat (= 13),
+ dh-python,
+ libsodium-dev,
+ pkg-config,
+ python3,
+ python3-all,
+ python3-pytest,
+ python3-setuptools,
+Standards-Version: 4.1.1
+Vcs-Git: https://salsa.debian.org/python-team/packages/python-libnacl.git
+Vcs-Browser: https://salsa.debian.org/python-team/packages/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}
+Breaks: python3-duniterpy (<< 0.60.1)
+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..812c5ec
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME := libnacl
+export PYBUILD_TEST_PYTEST := 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)))