- Switch to pyroject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudscraper?expand=0&rev=14
This commit is contained in:
3
cloudscraper-1.2.69.tar.gz
Normal file
3
cloudscraper-1.2.69.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee1df7b0c22529a190d12d34f2437997e6f4b68192ff965476d54cc8eb12fefa
|
||||
size 112198
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user