[packages/python3-dns] - updated to 2.2.1 - added deps patch (allow cryptography 37.x)

qboosh qboosh at pld-linux.org
Sun Sep 11 17:31:55 CEST 2022


commit c5076f0ba805eb19d3d19756a43543b34649ff54
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 11 17:32:09 2022 +0200

    - updated to 2.2.1
    - added deps patch (allow cryptography 37.x)

 python3-dns-deps.patch | 11 +++++++++++
 python3-dns.spec       | 16 ++++++++++++----
 2 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/python3-dns.spec b/python3-dns.spec
index 4e96047..039d994 100644
--- a/python3-dns.spec
+++ b/python3-dns.spec
@@ -6,21 +6,28 @@
 Summary:	dnspython - a DNS toolkit for Python 3
 Summary(pl.UTF-8):	dnspython - zestaw narzędzi do DNS dla Pythona 3
 Name:		python3-%{module}
-Version:	2.2.0
-Release:	3
+Version:	2.2.1
+Release:	1
 License:	MIT
 Group:		Development/Languages/Python
 Source0:	https://files.pythonhosted.org/packages/source/d/dnspython/dnspython-%{version}.tar.gz
-# Source0-md5:	6a247a755f7676f115c0e555842550d5
+# Source0-md5:	c7172f4115cd7b60fd5037cfcd8f9408
 Patch0:		%{name}-no-wheel.patch
+Patch1:		%{name}-deps.patch
 URL:		https://www.dnspython.org/
 BuildRequires:	python3-devel >= 1:3.6
 BuildRequires:	python3-setuptools >= 1:44
 BuildRequires:	python3-setuptools_scm >= 3.4.3
 BuildRequires:	python3-toml
 %if %{with tests}
+BuildRequires:	python3-cryptography >= 2.6
+BuildRequires:	python3-idna >= 2.1
 BuildRequires:	python3-pytest >= 5.4.1
-# < 7 according to pyproject.toml
+BuildRequires:	python3-pytest < 8
+# curio: curio>=1.2; sniffio>=1.1
+# DOH: httpx>=0.21.1; h2>=4.1.0; requests; requests-toolbelt
+# trio: trio>=0.14.0
+# wmi: wmi>=1.5.1
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.714
 BuildRequires:	rpm-pythonprov
@@ -53,6 +60,7 @@ komunikatach, nazwach i rekordach w DNS-ie.
 %prep
 %setup -q -n dnspython-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %py3_build
diff --git a/python3-dns-deps.patch b/python3-dns-deps.patch
new file mode 100644
index 0000000..1944d82
--- /dev/null
+++ b/python3-dns-deps.patch
@@ -0,0 +1,11 @@
+--- dnspython-2.2.1/setup.py.orig	2022-03-07 00:23:06.537358000 +0100
++++ dnspython-2.2.1/setup.py	2022-09-11 16:58:54.746788231 +0200
+@@ -9,7 +9,7 @@ package_data = \
+ 
+ extras_require = \
+ {'curio': ['curio>=1.2,<2.0', 'sniffio>=1.1,<2.0'],
+- 'dnssec': ['cryptography>=2.6,<37.0'],
++ 'dnssec': ['cryptography>=2.6,<38.0'],
+  'doh': ['requests-toolbelt>=0.9.1,<0.10.0', 'requests>=2.23.0,<3.0.0'],
+  'doh:python_full_version >= "3.6.2"': ['httpx>=0.21.1', 'h2>=4.1.0'],
+  'idna': ['idna>=2.1,<4.0'],
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-dns.git/commitdiff/c5076f0ba805eb19d3d19756a43543b34649ff54



More information about the pld-cvs-commit mailing list