Hello community,

here is the log from the commit of package python-cfscrape for openSUSE:Factory 
checked in at 2019-05-16 22:08:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cfscrape (Old)
 and      /work/SRC/openSUSE:Factory/.python-cfscrape.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cfscrape"

Thu May 16 22:08:00 2019 rev:5 rq:703129 version:2.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cfscrape/python-cfscrape.changes  
2019-03-26 15:44:13.788163356 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cfscrape.new.5148/python-cfscrape.changes    
    2019-05-16 22:08:03.046391087 +0200
@@ -1,0 +2,19 @@
+Wed May 15 11:06:15 UTC 2019 - Martin Herkt <[email protected]>
+
+- Switch to GitHub tarball, enable tests
+- Update to 2.0.4
+  * Detect captcha challenges, try harder to avoid them
+
+-------------------------------------------------------------------
+Sat May 11 12:28:56 UTC 2019 - Martin Herkt <[email protected]>
+
+- Update to 2.0.3
+  * Support latest Cloudflare IUAM challenge
+
+-------------------------------------------------------------------
+Sat May 11 10:19:59 UTC 2019 - Martin Herkt <[email protected]>
+
+- Update to 2.0.0
+  * Support latest Cloudflare IUAM challenge
+
+-------------------------------------------------------------------

Old:
----
  cfscrape-1.9.7.tar.gz

New:
----
  cloudflare-scrape-2.0.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cfscrape.spec ++++++
--- /var/tmp/diff_new_pack.jCET5W/_old  2019-05-16 22:08:04.898389404 +0200
+++ /var/tmp/diff_new_pack.jCET5W/_new  2019-05-16 22:08:04.930389375 +0200
@@ -18,15 +18,20 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-cfscrape
-Version:        1.9.7
+Version:        2.0.4
 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
-Source:         
https://files.pythonhosted.org/packages/source/c/cfscrape/cfscrape-%{version}.tar.gz
+Source:         
https://github.com/Anorov/cloudflare-scrape/archive/%{version}.tar.gz#/cloudflare-scrape-%{version}.tar.gz
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module responses}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module sure}
 BuildRequires:  fdupes
+BuildRequires:  nodejs
 BuildRequires:  python-rpm-macros
 Requires:       nodejs
 Requires:       python-requests
@@ -52,7 +57,7 @@
 is much more common.
 
 %prep
-%setup -q -n cfscrape-%{version}
+%setup -q -n cloudflare-scrape-%{version}
 
 %build
 %python_build
@@ -61,7 +66,9 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-# no tests even in git
+%check
+%python_exec setup.py develop --user
+%python_exec -m pytest -v tests
 
 %files %{python_files}
 %license LICENSE


Reply via email to