From d1375e0688f6d7e4feb1bbeb174460d61b043a05 Mon Sep 17 00:00:00 2001 From: dirkmueller <> Date: May 20 2025 08:33:06 +0000 Subject: Update python-cfscrape to version 2.1.1 / rev 9 via SR 1277845 https://build.opensuse.org/request/show/1277845 by user dirkmueller + anag_factory --- diff --git a/.files b/.files index aa89864..351d2f4 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 85640cb..b3bc65d 100644 --- a/.rev +++ b/.rev @@ -95,4 +95,12 @@ 792980 + + 3fa32d66bdacdd88cfb45cf4fb768c50 + 2.1.1 + + anag_factory + + 1277845 + diff --git a/python-cfscrape.changes b/python-cfscrape.changes index fc7219d..55eb2c3 100644 --- a/python-cfscrape.changes +++ b/python-cfscrape.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu May 15 13:07:04 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- Fri Feb 28 00:26:13 UTC 2020 - Martin Herkt <9+suse@cirno.systems> - Update to 2.1.1 diff --git a/python-cfscrape.spec b/python-cfscrape.spec index 08b63bc..afaea73 100644 --- a/python-cfscrape.spec +++ b/python-cfscrape.spec @@ -1,7 +1,7 @@ # # spec file for package python-cfscrape # -# Copyright (c) 2020 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cfscrape Version: 2.1.1 Release: 0 @@ -25,11 +24,13 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/Anorov/cloudflare-scrape Source: https://github.com/Anorov/cloudflare-scrape/archive/%{version}.tar.gz#/cloudflare-scrape-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module responses} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sure} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: nodejs BuildRequires: python-rpm-macros @@ -60,10 +61,10 @@ is much more common. %setup -q -n cloudflare-scrape-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # test suite requires internet access @@ -74,6 +75,7 @@ is much more common. %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/cfscrape +%{python_sitelib}/cfscrape-%{version}*-info %changelog