Sync from SUSE:SLFO:Main python-pycares revision 5220da56bc982777df7a254b89f66c4e

This commit is contained in:
2025-05-17 15:56:13 +02:00
parent 2294fbc907
commit 1026bdbad5
4 changed files with 43 additions and 12 deletions

BIN
pycares-4.4.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pycares-4.6.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Fri Apr 11 07:18:09 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file.
-------------------------------------------------------------------
Thu Apr 10 12:28:57 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.6.0
* Swap out is_all_ascii for built-in str.isascii by @bdraco in (#209)
* Fixup tests by @saghul in (#214)
* Add initial type annotations by @Dreamsorcerer in (#212)
* Fix module has no attribute type errors by @Dreamsorcerer in (#211)
-------------------------------------------------------------------
Fri Jan 10 09:20:14 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.5.0
* Test data updates to fix test failures
* Update test_idna_encoding_query_a with
new errno to align to new c-ares version
* Do not define HAVE_GETSERVBYPORT_R for
platforms Android, Cygwin, Darwin
* Drop distutils
* build(deps): bump actions/download-artifact
from 3 to 4.1.7 in /.github/workflows
* Add 3.13 support, remove 3.8
* chore(ci): fix upload & add more platforms to cibuildwheel
* Test building release wheels on PRs
* Fix building sdist
* Fixup CI
-------------------------------------------------------------------
Mon Dec 11 08:24:45 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycares
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pycares
Version: 4.4.0
Version: 4.6.0
Release: 0
Summary: Python interface for c-ares
License: MIT
@@ -32,7 +30,9 @@ Source: https://files.pythonhosted.org/packages/source/p/pycares/pycares
Patch0: cleanup_tests.patch
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: c-ares-devel
BuildRequires: fdupes
BuildRequires: gcc
@@ -49,13 +49,11 @@ resolutions asynchronously
%prep
%autosetup -p1 -n pycares-%{version}
rm -Rf
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -66,6 +64,7 @@ rm -Rf
%files %{python_files}
%license LICENSE
%doc ChangeLog README.rst
%{python_sitearch}/*
%{python_sitearch}/pycares
%{python_sitearch}/pycares-%{version}*-info
%changelog