Compare commits

...

10 Commits

Author SHA1 Message Date
Fedora Release Engineering 0688783e14 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 03:41:30 +00:00
Lumir Balhar 79d3cbe635 Update to 2.5.0 (rhbz#2257079) 2024-01-20 17:11:22 +01:00
Carl George 0857a440b5 Relax upper bound on trio dependency 2023-11-07 18:01:00 -06:00
Lumir Balhar 15ded307d7 Update to 2.4.2 (rhbz#2230509) 2023-08-10 14:19:23 +02:00
Lumir Balhar 467aedad41 Update to 2.4.1 (rhbz#2219703) 2023-08-08 09:32:23 +02:00
Fedora Release Engineering f21bd92d38 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 09:09:52 +00:00
Miro Hrončok d1c83c1bba Disable the [curio] extra 2023-07-03 13:37:53 +02:00
Python Maint 939c8a2210 Rebuilt for Python 3.12 2023-07-03 13:36:12 +02:00
Python Maint c8dadaddce Bootstrap for Python 3.12 2023-06-15 12:06:18 +02:00
Tomáš Hrnčiar ff272659f1 Allow newer cryptography and requests-toolbelt 2023-06-14 13:23:04 +02:00
3 changed files with 43 additions and 12 deletions

3
.gitignore vendored
View File

@ -30,3 +30,6 @@
/dnspython-2.2.0.tar.gz
/dnspython-2.2.1.tar.gz
/dnspython-2.3.0.tar.gz
/dnspython-2.4.1.tar.gz
/dnspython-2.4.2.tar.gz
/dnspython-2.5.0.tar.gz

View File

@ -3,17 +3,15 @@
%if 0%{?rhel}
%bcond_with trio
%bcond_with curio
%bcond_with doh
%else
%bcond_without trio
%bcond_without curio
%bcond_without doh
%endif
Name: python-dns
Version: 2.3.0
Release: 3%{?dist}
Version: 2.5.0
Release: 2%{?dist}
Summary: DNS toolkit for Python
# The entire package is licensed with both licenses, see LICENSE file
@ -21,6 +19,7 @@ License: ISC
URL: http://www.dnspython.org
Source0: https://github.com/rthalley/%{pypi_name}/archive/v%{version}%{rctag}/%{pypi_name}-%{version}%{rctag}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
@ -41,17 +40,24 @@ manipulation of DNS zones, messages, names, and records.
%description %_description
%package -n python3-dns
Summary: %{summary}
%if ! 0%{?rhel}
Obsoletes: python3-dns+curio < 2.3.0-6
%endif
%description -n python3-dns %_description
%generate_buildrequires
%pyproject_buildrequires -r -x dnssec -x idna %{?with_trio:-x trio} %{?with_curio:-x curio} %{?with_doh:-x doh}
%pyproject_buildrequires -r -x dnssec -x idna %{?with_trio:-x trio} %{?with_doh:-x doh}
%prep
%autosetup -p1 -n %{pypi_name}-%{version}%{rctag}
# strip exec permissions so that we don't pick up dependencies from docs
find examples -type f | xargs chmod a-x
# Allow newer cryptography and requests-toolbelt
sed -i 's/cryptography = {version=">=2.6,<40.0"/cryptography = {version=">=2.6,<42.0"/' pyproject.toml
sed -i 's/requests-toolbelt = {version=">=0.9.1,<0.11.0"/requests-toolbelt = {version=">=0.9.1,<=1.0.0"/' pyproject.toml
%build
%pyproject_wheel
@ -67,7 +73,6 @@ export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
%license LICENSE
%doc README.md examples
%pycached %exclude %{python3_sitelib}/dns/_trio_backend.py
%pycached %exclude %{python3_sitelib}/dns/_curio_backend.py
%pyproject_extras_subpkg -n python3-dns dnssec idna
@ -80,12 +85,35 @@ export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
%pycached %{python3_sitelib}/dns/_trio_backend.py
%endif
%if %{with curio}
%pyproject_extras_subpkg -n python3-dns curio
%pycached %{python3_sitelib}/dns/_curio_backend.py
%endif
%changelog
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 20 2024 Lumír Balhar <lbalhar@redhat.com> - 2.5.0-1
- Update to 2.5.0 (rhbz#2257079)
* Wed Nov 08 2023 Carl George <carlwgeorge@fedoraproject.org> - 2.4.2-2
- Relax upper bound on trio dependency
* Thu Aug 10 2023 Lumír Balhar <lbalhar@redhat.com> - 2.4.2-1
- Update to 2.4.2 (rhbz#2230509)
* Mon Jul 31 2023 Lumír Balhar <lbalhar@redhat.com> - 2.4.1-1
- Update to 2.4.1 (rhbz#2219703)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 03 2023 Python Maint <python-maint@redhat.com> - 2.3.0-6
- Rebuilt for Python 3.12
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 2.3.0-5
- Bootstrap for Python 3.12
* Wed Jun 14 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 2.3.0-4
- Fix FTBFS by allowing newer versions of cryptography and requests-toolbelt
- Fixes: rhbz#2214971
* Wed Mar 8 2023 Rafael Jeffman <rjeffman@redhat.com> - 2.3.0-3
- Migrated to SPDX license

View File

@ -1 +1 @@
SHA512 (dnspython-2.3.0.tar.gz) = 0bb4b41262a1d97b724e48b4dfb70f1fb544c18824e7d2bc2dcb8ef6c943c6c827ce753ae4ccb2ab37e95c8f5ff5d2f4853f238509f21e6299a445760c41e10e
SHA512 (dnspython-2.5.0.tar.gz) = 8ed207f9cee88dc1deb626d727c510dabace327586911e340df435c8cce5936efee51937b52881b4b4452d9c8c5bd903044bfef5a4effa95aaf05f24c0213b07