14
0

Accepting request 873718 from devel:languages:python

- Upgrade to 1.2.56:
  Arm race continues!
  Not supporting Python 2 any more.
- Use tarball from GitHub, the one on PyPI doesn't have tests. :'(

OBS-URL: https://build.opensuse.org/request/show/873718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudscraper?expand=0&rev=3
This commit is contained in:
2021-02-19 22:45:30 +00:00
committed by Git OBS Bridge
5 changed files with 16 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db54e8e21f38ca3999c80270d55288ecc236d6ddb75f2ee4d40cfe1a3fb4421e
size 91280

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:303ca777ea40c542cdc9ac44acb8ccafb22fbf5a98970c5a0eb5bf14adc42091
size 110983

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:952d0dc4392a5f98f25731e16907c5e74fb27e9efa2162d916b118f0ce4caa40
size 18460

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jan 28 16:03:26 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Upgrade to 1.2.56:
Arm race continues!
Not supporting Python 2 any more.
- Use tarball from GitHub, the one on PyPI doesn't have tests. :'(
-------------------------------------------------------------------
Thu Jan 7 11:06:07 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -17,14 +17,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname cloudscraper
%define skip_python2 1
Name: python-cloudscraper
Version: 1.2.52
Version: 1.2.56
Release: 0
Summary: A Python module to bypass Cloudflare's anti-bot page
License: MIT
URL: https://github.com/venomous/cloudscraper
Source0: https://files.pythonhosted.org/packages/source/c/cloudscraper/cloudscraper-%{version}.tar.gz
Source1: cloudscraper-tests.tar.xz
Source: https://github.com/VeNoMouS/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
@@ -47,7 +48,7 @@ BuildArch: noarch
A Python module to bypass Cloudflare's anti-bot page.
%prep
%autosetup -p1 -a 1 -n cloudscraper-%{version}
%autosetup -p1 -n cloudscraper-%{version}
%build
%python_build