14
0

Accepting request 1286354 from devel:languages:python

- Refresh sources

- Switch to pyroject macros.

OBS-URL: https://build.opensuse.org/request/show/1286354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudscraper?expand=0&rev=8
This commit is contained in:
2025-06-17 16:22:59 +00:00
committed by Git OBS Bridge
2 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jun 17 11:11:34 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Refresh sources
-------------------------------------------------------------------
Mon Jun 16 06:12:17 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
-------------------------------------------------------------------
Thu Feb 29 12:33:16 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -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