Skip to content

Commit ebf8381

Browse files
feat: update python-nacl to 1.5.0-8
1 parent c0fc5c1 commit ebf8381

File tree

11 files changed

+119
-31
lines changed

11 files changed

+119
-31
lines changed

debian/changelog

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
python-nacl (1.5.0-8) unstable; urgency=medium
2+
3+
* Team upload.
4+
* Fix d/watch for new PyPi archive naming convention
5+
* Use dh-sequence-python3
6+
* Bump Standards-Version to 4.7.2
7+
8+
-- Alexandre Detiste <[email protected]> Wed, 24 Sep 2025 18:05:00 +0200
9+
10+
python-nacl (1.5.0-7) unstable; urgency=medium
11+
12+
* Fix documentation build for Sphinx 8.0 (closes: #1090152).
13+
14+
-- Colin Watson <[email protected]> Mon, 16 Dec 2024 23:26:27 +0000
15+
16+
python-nacl (1.5.0-6) unstable; urgency=medium
17+
18+
* Build bindings reproducibly.
19+
20+
-- Colin Watson <[email protected]> Mon, 26 Aug 2024 18:16:49 +0100
21+
22+
python-nacl (1.5.0-5) unstable; urgency=medium
23+
24+
[ Alexandre Detiste ]
25+
* Remove extraneous python3-six build dependency.
26+
27+
[ Colin Watson ]
28+
* Switch to autopkgtest-pkg-pybuild.
29+
30+
-- Colin Watson <[email protected]> Mon, 26 Aug 2024 15:33:11 +0100
31+
32+
python-nacl (1.5.0-4) unstable; urgency=medium
33+
34+
[ Scott Kitterman ]
35+
* Remove dh-clean override which deleted the vendored libsodium, no longer
36+
needed and left source tree dirty after clean
37+
* Add d/source/options extend-diff-ignore to fix dpkg-source failure due to
38+
local changes (python package metadata regeneration; closes: #1045310)
39+
40+
-- Colin Watson <[email protected]> Mon, 14 Aug 2023 11:51:47 +0100
41+
142
python-nacl (1.5.0-3) unstable; urgency=medium
243

344
* Team upload.

debian/control

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ Section: python
77
Priority: optional
88
Build-Depends:
99
debhelper-compat (= 13),
10-
dh-python,
10+
dh-sequence-python3,
1111
pybuild-plugin-pyproject,
1212
libsodium-dev (>= 1.0.16),
1313
python3-all-dev,
1414
python3-cffi (>= 1.0.0),
1515
python3-hypothesis (>= 4.36.2),
1616
python3-pytest,
1717
python3-setuptools,
18-
python3-six,
1918
python3-sphinx,
2019
python3-wheel,
21-
Standards-Version: 4.6.2
20+
Standards-Version: 4.7.2
2221
Homepage: https://github.com/pyca/pynacl/
2322
Vcs-Git: https://salsa.debian.org/python-team/packages/python-nacl.git
2423
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-nacl
24+
Testsuite: autopkgtest-pkg-pybuild
2525

2626
Package: python3-nacl
2727
Architecture: any

debian/patches/0001-remove-privacy-breach-images.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ Date: Tue, 26 May 2020 03:53:46 -0400
33
Subject: remove privacy-breach images
44

55
---
6-
README.rst | 14 --------------
7-
1 file changed, 14 deletions(-)
6+
README.rst | 11 -----------
7+
1 file changed, 11 deletions(-)
88

9-
Index: python-nacl/README.rst
10-
===================================================================
11-
--- python-nacl.orig/README.rst
12-
+++ python-nacl/README.rst
9+
diff --git a/README.rst b/README.rst
10+
index 89014db..32c1e1e 100644
11+
--- a/README.rst
12+
+++ b/README.rst
1313
@@ -2,17 +2,6 @@
1414
PyNaCl: Python binding to the libsodium library
1515
===============================================
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
From: Colin Watson <[email protected]>
2+
Date: Mon, 26 Aug 2024 17:48:49 +0100
3+
Subject: Build bindings reproducibly
4+
5+
`glob` output isn't guaranteed to be in any particular order, so
6+
`_sodium.*.so` wasn't always reproducible.
7+
8+
Forwarded: https://github.com/pyca/pynacl/pull/836
9+
Last-Update: 2024-08-26
10+
---
11+
src/bindings/build.py | 12 ++++++++----
12+
1 file changed, 8 insertions(+), 4 deletions(-)
13+
14+
diff --git a/src/bindings/build.py b/src/bindings/build.py
15+
index 9634237..777237b 100644
16+
--- a/src/bindings/build.py
17+
+++ b/src/bindings/build.py
18+
@@ -22,12 +22,16 @@ from cffi import FFI
19+
__all__ = ["ffi"]
20+
21+
22+
-HEADERS = glob.glob(
23+
- os.path.join(os.path.abspath(os.path.dirname(__file__)), "*.h")
24+
+HEADERS = sorted(
25+
+ glob.glob(os.path.join(os.path.abspath(os.path.dirname(__file__)), "*.h"))
26+
)
27+
28+
-MINIMAL_HEADERS = glob.glob(
29+
- os.path.join(os.path.abspath(os.path.dirname(__file__)), "minimal", "*.h")
30+
+MINIMAL_HEADERS = sorted(
31+
+ glob.glob(
32+
+ os.path.join(
33+
+ os.path.abspath(os.path.dirname(__file__)), "minimal", "*.h"
34+
+ )
35+
+ )
36+
)
37+
38+

debian/patches/series

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
0001-remove-privacy-breach-images.patch
2+
reproducible-bindings.patch
3+
sphinx-8.0.patch

debian/patches/sphinx-8.0.patch

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From: Paul Kehrer <[email protected]>
2+
Date: Mon, 16 Dec 2024 23:21:39 +0000
3+
Subject: Fix documentation build for Sphinx 8.0
4+
5+
Origin: backport, https://github.com/pyca/pynacl/pull/793
6+
Bug-Debian: https://bugs.debian.org/1090152
7+
Last-Update: 2024-12-16
8+
---
9+
docs/conf.py | 3 +--
10+
1 file changed, 1 insertion(+), 2 deletions(-)
11+
12+
diff --git a/docs/conf.py b/docs/conf.py
13+
index 3337cd2..09c8a3b 100644
14+
--- a/docs/conf.py
15+
+++ b/docs/conf.py
16+
@@ -177,8 +177,7 @@ html_static_path = ["_static"]
17+
htmlhelp_basename = "PyNaCldoc"
18+
19+
20+
-# Example configuration for intersphinx: refer to the Python standard library.
21+
-intersphinx_mapping = {"http://docs.python.org/": None}
22+
+intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
23+
24+
# Retry requests in the linkcheck builder so that we're resilient against
25+
# transient network errors.

debian/rules

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,7 @@ export SODIUM_INSTALL=system
1818

1919

2020
%:
21-
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
22-
23-
24-
override_dh_clean:
25-
dh_clean
26-
# Remove the vendored libsodium just to make sure we don't build
27-
# against it
28-
rm -rf src/libsodium
21+
dh $@ --with sphinxdoc --buildsystem=pybuild
2922

3023

3124
override_dh_auto_clean:
@@ -40,6 +33,5 @@ ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
4033
endif
4134

4235

43-
override_dh_python3:
44-
dh_python3
36+
execute_after_dh_python3:
4537
rm -rf debian/python3-nacl/usr/lib/python3.?

debian/source/options

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extend-diff-ignore = "^src/[^/]*[.]egg-info/"

debian/tests/control

Lines changed: 0 additions & 3 deletions
This file was deleted.

debian/tests/python3

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)