17
0

3 Commits

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> 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 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 License: MIT
URL: https://github.com/venomous/cloudscraper URL: https://github.com/venomous/cloudscraper
Source: https://github.com/VeNoMouS/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz 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 setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module Js2Py} BuildRequires: %{python_module Js2Py}
@@ -50,10 +52,10 @@ A Python module to bypass Cloudflare's anti-bot page.
%autosetup -p1 -n cloudscraper-%{version} %autosetup -p1 -n cloudscraper-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -69,6 +71,6 @@ donttest+=" or test_reCaptcha_providers"
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python_sitelib}/cloudscraper %{python_sitelib}/cloudscraper
%{python_sitelib}/cloudscraper-%{version}*-info %{python_sitelib}/cloudscraper-%{version}.dist-info
%changelog %changelog