forked from pool/python-cfscrape
- Update to 1.9.2
* Add __version__ to __init__.py - Include LICENSE from Git tag for now (not part of PyPI package) Reported upstream OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cfscrape?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
42148e0749
commit
6793d0e652
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Anorov
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9cee3708c643904eaa010a64dd1715890457bb77010d87405fc1bfeb892508d7
|
||||
size 3568
|
||||
3
cfscrape-1.9.2.tar.gz
Normal file
3
cfscrape-1.9.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a10883f9424c7edd27f419209acca9d5af461fbf93e3cb7dfe7188722d3c8d52
|
||||
size 3581
|
||||
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 19:09:03 UTC 2018 - 9+suse@cirno.systems
|
||||
|
||||
- Update to 1.9.2
|
||||
* Add __version__ to __init__.py
|
||||
- Include LICENSE from Git tag for now (not part of PyPI package)
|
||||
Reported upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 11 11:19:00 UTC 2018 - 9@cirno.systems
|
||||
|
||||
|
||||
@@ -18,13 +18,14 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-cfscrape
|
||||
Version: 1.9.1
|
||||
Version: 1.9.2
|
||||
Release: 0
|
||||
Summary: Python module to bypass Cloudflare's anti-bot page
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/Anorov/cloudflare-scrape
|
||||
Url: https://github.com/Anorov/cloudflare-scrape
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cfscrape/cfscrape-%{version}.tar.gz
|
||||
Source2: https://github.com/Anorov/cloudflare-scrape/raw/%{version}/LICENSE
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -55,6 +56,7 @@ is much more common.
|
||||
|
||||
%prep
|
||||
%setup -q -n cfscrape-%{version}
|
||||
cp %{SOURCE2} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -64,6 +66,7 @@ is much more common.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user