public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jonathan Wright <jonathan@almalinux.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-cloudflare] rawhide: update to 5.2.0 rhbz#2330265
Date: Sun, 31 May 2026 14:35:00 GMT [thread overview]
Message-ID: <178023810026.1.3070310130381194536.rpms-python-cloudflare-03b217264662@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-cloudflare
Branch : rawhide
Commit : 03b217264662d0bd59b93a30e7a2d645c00ab6bc
Author : Jonathan Wright <jonathan@almalinux.org>
Date : 2026-05-31T09:34:52-05:00
Stats : +29/-47 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-cloudflare/c/03b217264662d0bd59b93a30e7a2d645c00ab6bc?branch=rawhide
Log:
update to 5.2.0 rhbz#2330265
---
diff --git a/python-cloudflare.spec b/python-cloudflare.spec
index e9c77cd..e08f549 100644
--- a/python-cloudflare.spec
+++ b/python-cloudflare.spec
@@ -2,34 +2,24 @@
%global pypi_name cloudflare
Name: python-%{pypi_name}
-Version: 2.19.4
-Release: 7%{?dist}
-Summary: Python wrapper for the Cloudflare Client API v4
+Version: 5.2.0
+Release: 1%{?dist}
+Summary: The official Python library for the Cloudflare API
-License: MIT
+License: Apache-2.0
URL: https://pypi.python.org/pypi/%{pypi_name}
Source0: %{pypi_source}
-# upstream does not provide gpg signatures for 2.9.x releases anymore:
-# https://github.com/cloudflare/python-cloudflare/issues/146
-#Source1: %%{pypi_source}.asc
-# upstream confirmed release signing key via github:
-# https://github.com/cloudflare/python-cloudflare/issues/93
-# gpg2 --recv-keys "D093 0FD2 2220 3ABF 557C A485 6112 9109 56F6 F8B8"
-# gpg2 --export --export-options export-minimal "D093 0FD2 2220 3ABF 557C A485 6112 9109 56F6 F8B8" > gpgkey-D093_0FD2_2220_3ABF_557C__A485_6112_9109_56F6_F8B8.gpg
-Source2: gpgkey-D093_0FD2_2220_3ABF_557C__A485_6112_9109_56F6_F8B8.gpg
-
-# TODO: Remove this once jsonlines is packaged
-Patch0: remove-jsonlines.patch
+
+# Relax the exact hatchling build-system pin (upstream pins ==1.26.3,
+# Fedora ships a newer hatchling)
+Patch0: relax-hatchling-pin.patch
BuildArch: noarch
BuildRequires: python3-devel
-# Used to verify OpenPGP signature
-BuildRequires: gnupg2
-BuildRequires: sed
-
%description
-Python wrapper library for the Cloudflare Client API v4.
+The official Python library for the Cloudflare API, providing convenient
+access to the Cloudflare REST API from any Python 3.9+ application.
%package -n python3-%{pypi_name}
@@ -37,16 +27,13 @@ Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
-Python wrapper library for the Cloudflare Client API v4.
+The official Python library for the Cloudflare API, providing convenient
+access to the Cloudflare REST API from any Python 3.9+ application.
This is the Python 3 version of the package.
%prep
-#%%{gpgverify} --keyring='%%{SOURCE2}' --signature='%%{SOURCE1}' --data='%%{SOURCE0}'
%autosetup -p1 -n %{pypi_name}-%{version}
-rm -rf *.egg-info
-# Remove shebangs
-sed -i -e '1!b' -e '\~^#!/usr/bin/env python~d' cli4/*.py
%generate_buildrequires
%pyproject_buildrequires
@@ -57,18 +44,18 @@ sed -i -e '1!b' -e '\~^#!/usr/bin/env python~d' cli4/*.py
%install
%pyproject_install
-%pyproject_save_files CloudFlare
+%pyproject_save_files cloudflare
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
-%{_bindir}/cli4
-%doc %attr(0644,root,root) %{_mandir}/man1/cli4.1*
-%{python3_sitelib}/cli4
-%exclude %{python3_sitelib}/examples
+%license LICENSE
%changelog
+* Sun May 31 2026 Jonathan Wright <jonathan@almalinux.org> - 5.2.0-1
+- update to 5.2.0 rhbz#2330265
+
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
diff --git a/relax-hatchling-pin.patch b/relax-hatchling-pin.patch
new file mode 100644
index 0000000..7f473e7
--- /dev/null
+++ b/relax-hatchling-pin.patch
@@ -0,0 +1,11 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -78,7 +78,7 @@
+ ]
+
+ [build-system]
+-requires = ["hatchling==1.26.3", "hatch-fancy-pypi-readme"]
++requires = ["hatchling", "hatch-fancy-pypi-readme"]
+ build-backend = "hatchling.build"
+
+ [tool.hatch.build]
diff --git a/remove-jsonlines.patch b/remove-jsonlines.patch
deleted file mode 100644
index b57eea4..0000000
--- a/remove-jsonlines.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Common subdirectories: cloudflare-2.19.4-orig/cli4 and cloudflare-2.19.4/cli4
-Common subdirectories: cloudflare-2.19.4-orig/CloudFlare and cloudflare-2.19.4/CloudFlare
-Common subdirectories: cloudflare-2.19.4-orig/cloudflare.egg-info and cloudflare-2.19.4/cloudflare.egg-info
-Common subdirectories: cloudflare-2.19.4-orig/examples and cloudflare-2.19.4/examples
-diff -u cloudflare-2.19.4-orig/setup.py cloudflare-2.19.4/setup.py
---- cloudflare-2.19.4-orig/setup.py 2024-04-29 12:06:27.000000000 -0500
-+++ cloudflare-2.19.4/setup.py 2024-08-10 20:25:47.759334826 -0500
-@@ -35,7 +35,7 @@
- test_suite="CloudFlare.tests",
- include_package_data=True,
- data_files=[('share/man/man1', ['cli4/cli4.1'])],
-- install_requires=['requests', 'pyyaml', 'jsonlines'],
-+ install_requires=['requests', 'pyyaml'],
- keywords='cloudflare',
- entry_points={
- 'console_scripts': [
diff --git a/sources b/sources
index f6174c0..cb69cd3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cloudflare-2.19.4.tar.gz) = 46e09a3e44bfc17a3125ce1030f2c4ead2c8bb6e50062facc34d056af9e266babf048b03b981420854d11e4dc008fdeff54d8aa2d381d278610a0580cf18e738
+SHA512 (cloudflare-5.2.0.tar.gz) = 77fe8cbda890fee30610e7b1e112b3f1be7dc854868e054a40cc7972ce8c01e0475fce63e736de18b934ce34a2762f3beaf47f4c69142d3ca1801bf43f96767d
reply other threads:[~2026-05-31 14:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178023810026.1.3070310130381194536.rpms-python-cloudflare-03b217264662@fedoraproject.org \
--to=jonathan@almalinux.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox