forked from pool/python-pycares
Accepting request 1268555 from devel:languages:python
- Clean up the SPEC file. - 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/1268555 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycares?expand=0&rev=12
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:025b6c2ffea4e9fb8f9a097381c2fecb24aff23fbd6906e70da22ec9ba60e19d
|
|
||||||
size 821554
|
|
BIN
pycares-4.6.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pycares-4.6.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Jan 10 09:20:14 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -16,11 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pycares
|
Name: python-pycares
|
||||||
Version: 4.5.0
|
Version: 4.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python interface for c-ares
|
Summary: Python interface for c-ares
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -32,7 +30,9 @@ Source: https://files.pythonhosted.org/packages/source/p/pycares/pycares
|
|||||||
Patch0: cleanup_tests.patch
|
Patch0: cleanup_tests.patch
|
||||||
BuildRequires: %{python_module cffi}
|
BuildRequires: %{python_module cffi}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: c-ares-devel
|
BuildRequires: c-ares-devel
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@@ -49,13 +49,11 @@ resolutions asynchronously
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n pycares-%{version}
|
%autosetup -p1 -n pycares-%{version}
|
||||||
|
|
||||||
rm -Rf
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -66,6 +64,7 @@ rm -Rf
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc ChangeLog README.rst
|
%doc ChangeLog README.rst
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/pycares
|
||||||
|
%{python_sitearch}/pycares-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user