Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cloudflare for openSUSE:Factory checked in at 2026-02-26 19:00:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cloudflare (Old) and /work/SRC/openSUSE:Factory/.python-cloudflare.new.29461 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cloudflare" Thu Feb 26 19:00:08 2026 rev:21 rq:1335291 version:4.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cloudflare/python-cloudflare.changes 2024-06-17 19:30:33.732597760 +0200 +++ /work/SRC/openSUSE:Factory/.python-cloudflare.new.29461/python-cloudflare.changes 2026-02-26 19:02:21.363828470 +0100 @@ -1,0 +2,8 @@ +Sat Feb 21 13:23:22 UTC 2026 - Hillwood Yang <[email protected]> + +- Update version to 4.3.1 + * Change upstream source + * Remove cli4 command and manpages + * Update APIs + +------------------------------------------------------------------- Old: ---- cloudflare-2.20.0.tar.gz New: ---- cloudflare-python-4.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cloudflare.spec ++++++ --- /var/tmp/diff_new_pack.SDHIyV/_old 2026-02-26 19:02:22.363870258 +0100 +++ /var/tmp/diff_new_pack.SDHIyV/_new 2026-02-26 19:02:22.363870258 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cloudflare # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,64 +16,60 @@ # +%define repo cloudflare-python %{?sle15_python_module_pythons} Name: python-cloudflare -Version: 2.20.0 +Version: 4.3.1 Release: 0 Summary: Python wrapper for the Cloudflare v4 API License: MIT -URL: https://github.com/cloudflare/python-cloudflare -Source: https://files.pythonhosted.org/packages/source/c/cloudflare/cloudflare-%{version}.tar.gz +URL: https://github.com/cloudflare/cloudflare-python +Source: https://github.com/cloudflare/cloudflare-python/archive/v%{version}/%{repo}-%{version}.tar.gz BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module beautifulsoup4} +BuildRequires: %{python_module hatch-fancy-pypi-readme} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module jsonlines} BuildRequires: %{python_module pip} BuildRequires: %{python_module requests >= 2.4.2} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML Requires: python-beautifulsoup4 Requires: python-jsonlines Requires: python-requests >= 2.4.2 -Requires(post): update-alternatives -Requires(postun): update-alternatives BuildArch: noarch %python_subpackages %description Python wrapper for the Cloudflare Client API v4. +The Cloudflare Python library provides convenient access to the Cloudflare REST +API from any Python 3.9+ application. The library includes type definitions for +all request params and response fields, and offers both synchronous and +asynchronous clients powered by httpx. + %prep -%setup -q -n cloudflare-%{version} +%setup -q -n %{repo}-%{version} %build %pyproject_wheel %install %pyproject_install -%python_clone -a %{buildroot}%{_bindir}/cli4 -%python_clone -a %{buildroot}%{_mandir}/man1/cli4.1 # remove examples from sitelib %python_expand rm -rf %{buildroot}%{$python_sitelib}/examples +# Note: rpmlint may report files-duplicate for some __init__.py files +# that have the same name but different content in different namespaces. +# Those warnings are false positives and can be safely ignored. %python_expand %fdupes %{buildroot}%{$python_sitelib} #%%check # there is one test, but even upstream does not launch it -%post -%python_install_alternative cli4 cli4.1 - -%postun -%python_uninstall_alternative cli4 cli4.1 - %files %{python_files} %doc README.md %license LICENSE -%python_alternative %{_bindir}/cli4 -%python_alternative %{_mandir}/man1/cli4.1 -%{python_sitelib}/CloudFlare -%{python_sitelib}/cli4 +%{python_sitelib}/cloudflare %{python_sitelib}/cloudflare-%{version}.dist-info
