From 810593b08a2ee302aa4fff4b9746932a9d9209740d24882eaa4d1674a3d8ed08 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 11 Apr 2025 07:14:12 +0000 Subject: [PATCH 1/2] Accepting request 1268390 from home:glaubitz:branches:devel:languages:python - 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) OBS-URL: https://build.opensuse.org/request/show/1268390 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycares?expand=0&rev=25 --- pycares-4.5.0.tar.gz | 3 --- pycares-4.6.0.tar.gz | 3 +++ python-pycares.changes | 9 +++++++++ python-pycares.spec | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 pycares-4.5.0.tar.gz create mode 100644 pycares-4.6.0.tar.gz diff --git a/pycares-4.5.0.tar.gz b/pycares-4.5.0.tar.gz deleted file mode 100644 index 4581563..0000000 --- a/pycares-4.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:025b6c2ffea4e9fb8f9a097381c2fecb24aff23fbd6906e70da22ec9ba60e19d -size 821554 diff --git a/pycares-4.6.0.tar.gz b/pycares-4.6.0.tar.gz new file mode 100644 index 0000000..f48a8e2 --- /dev/null +++ b/pycares-4.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8a004b18a7465ac9400216bc3fad9d9966007af1ee32f4412d2b3a94e33456e +size 822080 diff --git a/python-pycares.changes b/python-pycares.changes index 5d32b09..3d460c0 100644 --- a/python-pycares.changes +++ b/python-pycares.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Apr 10 12:28:57 UTC 2025 - John Paul Adrian Glaubitz + +- 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 diff --git a/python-pycares.spec b/python-pycares.spec index 6c6bc6f..c628ec6 100644 --- a/python-pycares.spec +++ b/python-pycares.spec @@ -20,7 +20,7 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-pycares -Version: 4.5.0 +Version: 4.6.0 Release: 0 Summary: Python interface for c-ares License: MIT From 1f5f58a225b9d5ed9f08f87970f8794bbaaaac3380ccc05712b116580e7061ae Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 11 Apr 2025 07:20:00 +0000 Subject: [PATCH 2/2] - Clean up the SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycares?expand=0&rev=26 --- python-pycares.changes | 5 +++++ python-pycares.spec | 13 ++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/python-pycares.changes b/python-pycares.changes index 3d460c0..d3edf41 100644 --- a/python-pycares.changes +++ b/python-pycares.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 11 07:18:09 UTC 2025 - Matej Cepl + +- Clean up the SPEC file. + ------------------------------------------------------------------- Thu Apr 10 12:28:57 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-pycares.spec b/python-pycares.spec index c628ec6..2da105e 100644 --- a/python-pycares.spec +++ b/python-pycares.spec @@ -16,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-pycares Version: 4.6.0 @@ -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