Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Leap:15.2 checked in at 2020-03-09 18:08:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-mechanize (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-mechanize.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mechanize"

Mon Mar  9 18:08:41 2020 rev:11 rq:776790 version:0.4.5

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-mechanize/python-mechanize.changes      
2020-01-15 15:50:34.391499196 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-mechanize.new.26092/python-mechanize.changes
   2020-03-09 18:08:44.348970706 +0100
@@ -1,0 +2,76 @@
+Wed Jan 22 15:45:36 UTC 2020 - Martin Sirringhaus <[email protected]>
+
+- Update to 0.4.5:
+  * Add a set_html() method to the browser object
+
+- Update to 0.4.4:
+  * URLs passed into mechanize now automatically have URL unsafe 
+    characters percent encoded. This is necessary because newer 
+    versions of python disallow processing of URLs with unsafe 
+    characters. Note that this means values return by 
+    get_full_url(), get_selector() etc will be percent encoded. 
+
+-------------------------------------------------------------------
+Tue Nov 12 16:11:23 UTC 2019 - Bogdano Arendartchuk <[email protected]>
+
+- added missing dependencies: Twisted, zope.interface and html5lib 
+
+-------------------------------------------------------------------
+Wed Sep 11 12:36:30 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.4.3:
+  * When filling forms with unicode strings automatically encode them into
+    the correct encoding fr the HTML page being viewed
+  * Guess content type when uploading files if not specified
+  * py3 compat - Have the version of simple cookies be 0 rather than None
+
+-------------------------------------------------------------------
+Fri May 17 17:15:36 UTC 2019 - Meera Belur <[email protected]>
+
+- Update to v0.4.2
+  * A couple of python 3 specific fixes for proxy authorization and 
+    adding controls to forms 
+
+-------------------------------------------------------------------
+Fri Apr  5 12:27:36 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.4.1:
+  * A couple of python 3 specific fixes for servers with misisng robots.txt
+    files and also errors when using basic/digest auth
+
+-------------------------------------------------------------------
+Fri Jan 18 11:27:00 CET 2019 - [email protected]
+
+- Upgrade to 0.4.0:
+    * Python 3 compatibility
+    * Add a finalize_request_headers callback to Browser to allow 
+      users full control of what headers are sent with every 
+      request
+    * Preserve header ordering when making HTTP requests
+    * Fix processing of http-equiv meta tags incorrectly lower casing 
+      the content
+    * Fix error when a textbox contained within a form contains 
+      unicode characters
+- Add missing BR for testing (Twisted and zope.interface)
+
+-------------------------------------------------------------------
+Wed Aug 29 10:46:11 UTC 2018 - [email protected]
+
+- Require full python2 as it needs SSL module
+
+-------------------------------------------------------------------
+Mon Aug  6 20:28:11 UTC 2018 - [email protected]
+
+- Remove unneeded dependencies.
+
+-------------------------------------------------------------------
+Thu Jun 14 17:21:43 UTC 2018 - [email protected]
+
+- Clean SPEC file (only py2k, but tests are enabled and run)
+
+-------------------------------------------------------------------
+Thu Aug 24 13:45:20 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -125,0 +202 @@
+

Old:
----
  mechanize-0.2.5.tar.gz

New:
----
  mechanize-0.4.5.tar.gz

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

Other differences:
------------------
++++++ python-mechanize.spec ++++++
--- /var/tmp/diff_new_pack.hgQ8ML/_old  2020-03-09 18:08:44.940971555 +0100
+++ /var/tmp/diff_new_pack.hgQ8ML/_new  2020-03-09 18:08:44.944971560 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mechanize
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,32 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%define modname mechanize
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-mechanize
-Version:        0.2.5
+Version:        0.4.5
 Release:        0
-Url:            http://wwwsearch.sourceforge.net/mechanize/
 Summary:        Stateful programmatic web browsing
-License:        (BSD-3-Clause or ZPL-2.1) and BSD-3-Clause
+License:        (BSD-3-Clause OR ZPL-2.1) AND BSD-3-Clause
 Group:          Development/Languages/Python
-Source:         mechanize-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-Requires:       python-ClientForm
-Requires:       python-beautifulsoup
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+URL:            https://github.com/python-mechanize/mechanize
+Source:         
https://files.pythonhosted.org/packages/source/m/mechanize/%{modname}-%{version}.tar.gz
+BuildRequires:  %{python_module Twisted}
+BuildRequires:  %{python_module html5lib}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module zope.interface}
+BuildRequires:  fdupes
+BuildRequires:  python
+BuildRequires:  python-rpm-macros
+Requires:       python-Twisted
+Requires:       python-html5lib
+Requires:       python-zope.interface
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 Stateful programmatic web browsing, after Andy Lester's Perl module
@@ -53,18 +57,23 @@
 (WWW::Mechanize). urllib2 was written by Jeremy Hylton.
 
 %prep
-%setup -q -n mechanize-%{version}
-sed -i "1d" examples/{forms/echo.cgi,forms/example.py,forms/simple.py} # Fix 
doc-file-dependency
+%setup -q -n %{modname}-%{version}
+sed -i -e '/^#!\/usr\/bin\/env python/d' 
%{modname}/_{entities,equiv,form_controls}.py
+sed -i "1d" examples/forms/{echo.cgi,example.py,simple.py} # Fix 
doc-file-dependency
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
-%defattr(-,root,root)
-%doc examples COPYING.txt README.txt docs/html/ChangeLog.txt
-%{python_sitelib}/*
+%check
+%python_expand $python ./run_tests.py -v
+
+%files %{python_files}
+%license LICENSE
+%doc examples README.rst
+%{python_sitelib}/%{modname}*
 
 %changelog

++++++ mechanize-0.2.5.tar.gz -> mechanize-0.4.5.tar.gz ++++++
++++ 49479 lines of diff (skipped)


Reply via email to