From 79c5854c7ac4154f539da9ac8821aaf886318942c581ed780ef81cf5bdb427d9 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 16 Jun 2025 06:19:53 +0000 Subject: [PATCH 1/2] - Switch to pyroject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudscraper?expand=0&rev=14 --- cloudscraper-1.2.69.tar.gz | 3 +++ python-cloudscraper.changes | 5 +++++ python-cloudscraper.spec | 10 ++++++---- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 cloudscraper-1.2.69.tar.gz diff --git a/cloudscraper-1.2.69.tar.gz b/cloudscraper-1.2.69.tar.gz new file mode 100644 index 0000000..a21887c --- /dev/null +++ b/cloudscraper-1.2.69.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee1df7b0c22529a190d12d34f2437997e6f4b68192ff965476d54cc8eb12fefa +size 112198 diff --git a/python-cloudscraper.changes b/python-cloudscraper.changes index 34e07d2..bf496a7 100644 --- a/python-cloudscraper.changes +++ b/python-cloudscraper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 16 06:12:17 UTC 2025 - Steve Kowalik + +- Switch to pyroject macros. + ------------------------------------------------------------------- Thu Feb 29 12:33:16 UTC 2024 - Daniel Garcia diff --git a/python-cloudscraper.spec b/python-cloudscraper.spec index e893fe1..1b554f9 100644 --- a/python-cloudscraper.spec +++ b/python-cloudscraper.spec @@ -1,7 +1,7 @@ # # spec file for package python-cloudscraper # -# Copyright (c) 2024 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 @@ -25,7 +25,9 @@ Summary: A Python module to bypass Cloudflare's anti-bot page License: MIT URL: https://github.com/venomous/cloudscraper Source: https://github.com/VeNoMouS/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module Js2Py} @@ -50,10 +52,10 @@ A Python module to bypass Cloudflare's anti-bot page. %autosetup -p1 -n cloudscraper-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -69,6 +71,6 @@ donttest+=" or test_reCaptcha_providers" %doc README.md %license LICENSE %{python_sitelib}/cloudscraper -%{python_sitelib}/cloudscraper-%{version}*-info +%{python_sitelib}/cloudscraper-%{version}.dist-info %changelog From 9f754fb47f9d4d6dce3cdc914af8c2e5ba13225ed085e4ef029a39437d45b939 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 17 Jun 2025 11:11:42 +0000 Subject: [PATCH 2/2] - Refresh sources OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudscraper?expand=0&rev=15 --- cloudscraper-1.2.69.tar.gz | 3 --- python-cloudscraper.changes | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) delete mode 100644 cloudscraper-1.2.69.tar.gz diff --git a/cloudscraper-1.2.69.tar.gz b/cloudscraper-1.2.69.tar.gz deleted file mode 100644 index a21887c..0000000 --- a/cloudscraper-1.2.69.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ee1df7b0c22529a190d12d34f2437997e6f4b68192ff965476d54cc8eb12fefa -size 112198 diff --git a/python-cloudscraper.changes b/python-cloudscraper.changes index bf496a7..84a4d9c 100644 --- a/python-cloudscraper.changes +++ b/python-cloudscraper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 17 11:11:34 UTC 2025 - Matej Cepl + +- Refresh sources + ------------------------------------------------------------------- Mon Jun 16 06:12:17 UTC 2025 - Steve Kowalik