[packages/python3-PyNaCl] - updated to 1.6.1

qboosh qboosh at pld-linux.org
Mon Dec 1 18:24:33 CET 2025


commit 830f55d03f0e06c80695242b23fccdc97f0382a5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Dec 1 18:24:42 2025 +0100

    - updated to 1.6.1

 python3-PyNaCl.spec | 16 +++++++-------
 sphinx.patch        | 60 -----------------------------------------------------
 2 files changed, 7 insertions(+), 69 deletions(-)
---
diff --git a/python3-PyNaCl.spec b/python3-PyNaCl.spec
index 4926ee5..2873e97 100644
--- a/python3-PyNaCl.spec
+++ b/python3-PyNaCl.spec
@@ -7,22 +7,21 @@
 Summary:	Python 2 binding to the Networking and Cryptography (NaCl) library
 Summary(pl.UTF-8):	Wiązania Pythona 2 do biblioteki NaCl (Networking and Cryptography)
 Name:		python3-%{module}
-Version:	1.5.0
-Release:	5
+Version:	1.6.1
+Release:	1
 License:	Apache v2.0
 Group:		Libraries/Python
 Source0:	https://github.com/pyca/pynacl/archive/%{version}/pynacl-%{version}.tar.gz
-# Source0-md5:	5f4332422b2be24fb1584eb447061b30
-Patch0:		sphinx.patch
+# Source0-md5:	4c2c0b64033f27f1636d04e38b1829df
 URL:		https://github.com/pyca/pynacl/
 BuildRequires:	libsodium-devel >= 1.0.18
 BuildRequires:	python3-cffi >= 1.4.1
-BuildRequires:	python3-devel >= 1:3.6
-BuildRequires:	python3-modules >= 1:3.6
-BuildRequires:	python3-setuptools
+BuildRequires:	python3-devel >= 1:3.8
+BuildRequires:	python3-modules >= 1:3.8
+BuildRequires:	python3-setuptools >= 1:61.0.0
 %if %{with tests}
 BuildRequires:	python3-hypothesis >= 3.27.0
-BuildRequires:	python3-pytest >= 3.3.1
+BuildRequires:	python3-pytest >= 7.4.0
 %endif
 BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpm-pythonprov
@@ -56,7 +55,6 @@ Dokumentacja API modułu PyNaCl.
 
 %prep
 %setup -q -n pynacl-%{version}
-%patch -P0 -p1
 
 %build
 export SODIUM_INSTALL=system
diff --git a/sphinx.patch b/sphinx.patch
deleted file mode 100644
index 13ca60b..0000000
--- a/sphinx.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 81943b3c61b9cc731ae0f2e87b7a91e42fbc8fa1 Mon Sep 17 00:00:00 2001
-From: Paul Kehrer <paul.l.kehrer at gmail.com>
-Date: Tue, 2 May 2023 18:43:49 -0400
-Subject: [PATCH] sphinx fix (#793)
-
-* sphinx fix
-
-* colons aren't commas
-
-* more fixes
----
- docs/conf.py | 3 +--
- setup.py     | 2 +-
- tox.ini      | 4 ++--
- 3 files changed, 4 insertions(+), 5 deletions(-)
-
-diff --git a/docs/conf.py b/docs/conf.py
-index 3337cd29..09c8a3b7 100644
---- a/docs/conf.py
-+++ b/docs/conf.py
-@@ -177,8 +177,7 @@
- htmlhelp_basename = "PyNaCldoc"
- 
- 
--# Example configuration for intersphinx: refer to the Python standard library.
--intersphinx_mapping = {"http://docs.python.org/": None}
-+intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
- 
- # Retry requests in the linkcheck builder so that we're resilient against
- # transient network errors.
-diff --git a/setup.py b/setup.py
-index 505169ba..0fa903e8 100644
---- a/setup.py
-+++ b/setup.py
-@@ -36,7 +36,7 @@
-     "pytest>=3.2.1,!=3.3.0",
-     "hypothesis>=3.27.0",
- ]
--docs_requirements = ["sphinx>=1.6.5", "sphinx_rtd_theme"]
-+docs_requirements = ["sphinx<7", "sphinx_rtd_theme"]
- 
- 
- if platform.python_implementation() == "PyPy":
-diff --git a/tox.ini b/tox.ini
-index 1f76ae61..771f071d 100644
---- a/tox.ini
-+++ b/tox.ini
-@@ -21,10 +21,10 @@ commands =
-     coverage report -m
- 
- [testenv:docs]
-+extras =
-+    docs
- deps =
-     doc8
--    sphinx
--    sphinx_rtd_theme
- commands =
-     sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
-     sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-PyNaCl.git/commitdiff/830f55d03f0e06c80695242b23fccdc97f0382a5




More information about the pld-cvs-commit mailing list