commit python-mechanize for openSUSE:Factory

2020-01-22 Thread root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2020-01-22 22:46:38

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new.26092 (New)


Package is "python-mechanize"

Wed Jan 22 22:46:38 2020 rev:25 rq:766371 version:0.4.5

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2019-11-13 13:27:17.743633132 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-mechanize.new.26092/python-mechanize.changes 
2020-01-22 22:47:06.680601019 +0100
@@ -1,0 +2,13 @@
+Wed Jan 22 15:45:36 UTC 2020 - Martin Sirringhaus 
+
+- 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. 
+
+---

Old:

  mechanize-0.4.3.tar.gz

New:

  mechanize-0.4.5.tar.gz



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.0gpiva/_old  2020-01-22 22:47:07.768601567 +0100
+++ /var/tmp/diff_new_pack.0gpiva/_new  2020-01-22 22:47:07.772601569 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mechanize
 #
-# Copyright (c) 2019 SUSE LINUX 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
@@ -19,7 +19,7 @@
 %define modname mechanize
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-mechanize
-Version:0.4.3
+Version:0.4.5
 Release:0
 Summary:Stateful programmatic web browsing
 License:(BSD-3-Clause OR ZPL-2.1) AND BSD-3-Clause

++ mechanize-0.4.3.tar.gz -> mechanize-0.4.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.3/ChangeLog 
new/mechanize-0.4.5/ChangeLog
--- old/mechanize-0.4.3/ChangeLog   2019-08-18 10:06:45.0 +0200
+++ new/mechanize-0.4.5/ChangeLog   2019-12-22 10:17:25.0 +0100
@@ -1,6 +1,17 @@
 This isn't really in proper GNU ChangeLog format, it just happens to
 look that way.
 
+2019-12-22 Kovid Goyal
+   * 0.4.5 release
+   * Add a set_html() method to the browser object
+
+2019-11-07 Kovid Goyal
+   * 0.4.4 release
+   * 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.
+
 2019-08-18 Kovid Goyal
* 0.4.3 release
* When filling forms with unicode strings automatically encode them into
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.3/PKG-INFO new/mechanize-0.4.5/PKG-INFO
--- old/mechanize-0.4.3/PKG-INFO2019-08-18 10:08:08.0 +0200
+++ new/mechanize-0.4.5/PKG-INFO2019-12-22 10:18:31.393247600 +0100
@@ -1,12 +1,12 @@
 Metadata-Version: 2.1
 Name: mechanize
-Version: 0.4.3
+Version: 0.4.5
 Summary: Stateful programmatic web browsing.
 Home-page: https://github.com/python-mechanize/mechanize
 Author: Kovid Goyal
 Author-email: n...@no.no
 License: BSD
-Download-URL: 
https://pypi.python.org/packages/source/m/mechanize/mechanize-0.4.3.tar.gz
+Download-URL: 
https://pypi.python.org/packages/source/m/mechanize/mechanize-0.4.5.tar.gz
 Description: Stateful programmatic web browsing, after Andy Lester's Perl 
module
 WWW::Mechanize.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.3/README.rst 
new/mechanize-0.4.5/README.rst
--- old/mechanize-0.4.3/README.rst  2019-02-14 09:39:32.0 +0100
+++ new/mechanize-0.4.5/README.rst  2019-09-05 10:00:47.0 +0200
@@ -85,6 +85,6 @@
 :target: https://pypi.python.org/pypi/mechanize
 :alt: Latest version released on PyPi
 
-.. |build| image:: 
https://dev.azure.com/kovidgoyal/mechanize/_apis/build/status/python-mechanize.mechanize?branchName=master
-:target: 
https://dev.azure.com/kovidgoyal/mechanize/_build/latest?definitionId=1=master
+.. |build| image:: 

commit python-mechanize for openSUSE:Factory

2019-11-13 Thread root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2019-11-13 13:27:15

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new.2990 (New)


Package is "python-mechanize"

Wed Nov 13 13:27:15 2019 rev:24 rq:747816 version:0.4.3

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2019-09-13 14:58:42.757278238 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-mechanize.new.2990/python-mechanize.changes  
2019-11-13 13:27:17.743633132 +0100
@@ -1,0 +2,5 @@
+Tue Nov 12 16:11:23 UTC 2019 - Bogdano Arendartchuk 
+
+- added missing dependencies: Twisted, zope.interface and html5lib 
+
+---



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.d80Z8B/_old  2019-11-13 13:27:18.643634069 +0100
+++ /var/tmp/diff_new_pack.d80Z8B/_new  2019-11-13 13:27:18.647634073 +0100
@@ -33,6 +33,9 @@
 BuildRequires:  fdupes
 BuildRequires:  python
 BuildRequires:  python-rpm-macros
+Requires:   python-Twisted
+Requires:   python-html5lib
+Requires:   python-zope.interface
 BuildArch:  noarch
 %python_subpackages
 




commit python-mechanize for openSUSE:Factory

2019-09-13 Thread root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2019-09-13 14:58:41

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new.7948 (New)


Package is "python-mechanize"

Fri Sep 13 14:58:41 2019 rev:23 rq:730131 version:0.4.3

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2019-05-20 13:17:59.783927068 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-mechanize.new.7948/python-mechanize.changes  
2019-09-13 14:58:42.757278238 +0200
@@ -1,0 +2,9 @@
+Wed Sep 11 12:36:30 UTC 2019 - Tomáš Chvátal 
+
+- 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
+
+---

Old:

  mechanize-0.4.2.tar.gz

New:

  mechanize-0.4.3.tar.gz



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.4Rsv6v/_old  2019-09-13 14:58:43.141278254 +0200
+++ /var/tmp/diff_new_pack.4Rsv6v/_new  2019-09-13 14:58:43.141278254 +0200
@@ -19,17 +19,16 @@
 %define modname mechanize
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-mechanize
-Version:0.4.2
+Version:0.4.3
 Release:0
 Summary:Stateful programmatic web browsing
 License:(BSD-3-Clause OR ZPL-2.1) AND BSD-3-Clause
 Group:  Development/Languages/Python
 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}
-# For testing
-BuildRequires:  %{python_module Twisted}
 BuildRequires:  %{python_module zope.interface}
 BuildRequires:  fdupes
 BuildRequires:  python

++ mechanize-0.4.2.tar.gz -> mechanize-0.4.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.2/ChangeLog 
new/mechanize-0.4.3/ChangeLog
--- old/mechanize-0.4.2/ChangeLog   1970-01-01 01:00:00.0 +0100
+++ new/mechanize-0.4.3/ChangeLog   2019-08-18 10:06:45.0 +0200
@@ -0,0 +1,639 @@
+This isn't really in proper GNU ChangeLog format, it just happens to
+look that way.
+
+2019-08-18 Kovid Goyal
+   * 0.4.3 release
+   * 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
+
+2019-04-12 Kovid Goyal
+   * 0.4.2 release
+   * A couple of python 3 specific fixes for proxy authorization and
+   * adding controls to forms
+
+   
+2019-03-16 Kovid Goyal
+   * 0.4.1 release
+   * A couple of python 3 specific fixes for servers with missing 
robots.txt
+   files and also errors when using basic/digest auth
+
+   
+2019-01-16 Kovid Goyal
+   * 0.4.0 release
+   * 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
+
+2018-09-11 Kovid Goyal
+   * 0.3.7 release
+   * Fix processing of http-equiv meta tags incorrectly lower casing the 
content
+   * Fix error when a textbox contained within a form contains unicode 
characters
+
+2017-10-13 Kovid Goyal
+   * 0.3.6 release.
+   * Use html5-parser for parsing HTML, when available instead of html5lib
+   for a big performance boost.
+   * Fix error when trying to submit forms with non-ascii values on systems
+   where the default encoding is ascii.
+   * Fix errors on python environments with broken threading
+
+2017-06-24 Kovid Goyal
+   * 0.3.5 release.
+   * Fix error when trying to open pages that contain HTML entities that
+ decode to unicode characters in their  sections
+
+2017-05-05 Kovid Goyal
+   * 0.3.3 release.
+   * Add get() and __getitem__ methods to the response object for 
conveninent access to response headers
+
+2017-04-29 Kovid Goyal
+   * 0.3.2 release.
+   * Allow overriding of Host headers via addheaders 
+   * Fix using unicode strings in addheaders and trying to send data with 
a request failing
+

commit python-mechanize for openSUSE:Factory

2019-05-20 Thread root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2019-05-20 13:17:52

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new.5148 (New)


Package is "python-mechanize"

Mon May 20 13:17:52 2019 rev:22 rq:703751 version:0.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2019-04-08 20:53:25.794563680 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-mechanize.new.5148/python-mechanize.changes  
2019-05-20 13:17:59.783927068 +0200
@@ -1,0 +2,7 @@
+Fri May 17 17:15:36 UTC 2019 - Meera Belur 
+
+- Update to v0.4.2
+  * A couple of python 3 specific fixes for proxy authorization and 
+adding controls to forms 
+
+---

Old:

  mechanize-0.4.1.tar.gz

New:

  mechanize-0.4.2.tar.gz



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.B4TDjY/_old  2019-05-20 13:18:01.107926377 +0200
+++ /var/tmp/diff_new_pack.B4TDjY/_new  2019-05-20 13:18:01.111926376 +0200
@@ -19,7 +19,7 @@
 %define modname mechanize
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-mechanize
-Version:0.4.1
+Version:0.4.2
 Release:0
 Summary:Stateful programmatic web browsing
 License:(BSD-3-Clause OR ZPL-2.1) AND BSD-3-Clause

++ mechanize-0.4.1.tar.gz -> mechanize-0.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.1/PKG-INFO new/mechanize-0.4.2/PKG-INFO
--- old/mechanize-0.4.1/PKG-INFO2019-03-16 10:28:05.0 +0100
+++ new/mechanize-0.4.2/PKG-INFO2019-04-12 07:20:14.0 +0200
@@ -1,12 +1,12 @@
 Metadata-Version: 2.1
 Name: mechanize
-Version: 0.4.1
+Version: 0.4.2
 Summary: Stateful programmatic web browsing.
 Home-page: https://github.com/python-mechanize/mechanize
 Author: Kovid Goyal
 Author-email: n...@no.no
 License: BSD
-Download-URL: 
https://pypi.python.org/packages/source/m/mechanize/mechanize-0.4.1.tar.gz
+Download-URL: 
https://pypi.python.org/packages/source/m/mechanize/mechanize-0.4.2.tar.gz
 Description: Stateful programmatic web browsing, after Andy Lester's Perl 
module
 WWW::Mechanize.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.1/mechanize/_form_controls.py 
new/mechanize-0.4.2/mechanize/_form_controls.py
--- old/mechanize-0.4.1/mechanize/_form_controls.py 2019-01-10 
11:34:12.0 +0100
+++ new/mechanize-0.4.2/mechanize/_form_controls.py 2019-04-02 
08:25:15.0 +0200
@@ -2488,6 +2488,8 @@
 for control_index in range(len(self.controls)):
 control = self.controls[control_index]
 for ii, key, val in control._totally_ordered_pairs():
+if ii is None:
+ii = -1
 pairs.append((ii, key, val, control_index))
 
 # stable sort by ONLY first item in tuple
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.1/mechanize/_urllib2_fork.py 
new/mechanize-0.4.2/mechanize/_urllib2_fork.py
--- old/mechanize-0.4.1/mechanize/_urllib2_fork.py  2019-03-15 
17:57:58.0 +0100
+++ new/mechanize-0.4.2/mechanize/_urllib2_fork.py  2019-03-28 
08:00:21.0 +0100
@@ -714,7 +714,11 @@
 
 if user and password:
 user_pass = '%s:%s' % (unquote(user), unquote(password))
+if not isinstance(user_pass, bytes):
+user_pass = user_pass.encode('utf-8')
 creds = base64.b64encode(user_pass).strip()
+if isinstance(creds, bytes):
+creds = creds.decode('ascii')
 req.add_header('Proxy-authorization', 'Basic ' + creds)
 hostport = unquote(hostport)
 req.set_proxy(hostport, proxy_type)
@@ -851,7 +855,7 @@
 raw = "%s:%s" % (user, pw)
 auth = str('Basic %s' % base64.b64encode(
 raw.encode('utf-8')).strip().decode('ascii'))
-if req.headers.get(self.auth_header, None) == auth:
+if req.get_header(self.auth_header, None) == auth:
 return None
 newreq = copy.copy(req)
 newreq.add_header(self.auth_header, auth)
@@ -943,7 +947,7 @@
 auth = self.get_authorization(req, chal)
 if auth:
 auth_val = 'Digest %s' % auth
-if req.headers.get(self.auth_header, None) == auth_val:
+if req.get_header(self.auth_header, None) == auth_val:
 

commit python-mechanize for openSUSE:Factory

2019-04-08 Thread root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2019-04-08 20:53:21

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new.3908 (New)


Package is "python-mechanize"

Mon Apr  8 20:53:21 2019 rev:21 rq:691805 version:0.4.1

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2019-01-21 11:03:21.531042562 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-mechanize.new.3908/python-mechanize.changes  
2019-04-08 20:53:25.794563680 +0200
@@ -1,0 +2,7 @@
+Fri Apr  5 12:27:36 UTC 2019 - Tomáš Chvátal 
+
+- 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
+
+---

Old:

  mechanize-0.4.0.tar.gz

New:

  mechanize-0.4.1.tar.gz



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.nA08fq/_old  2019-04-08 20:53:26.510564205 +0200
+++ /var/tmp/diff_new_pack.nA08fq/_new  2019-04-08 20:53:26.514564208 +0200
@@ -18,8 +18,8 @@
 
 %define modname mechanize
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:   python-%{modname}
-Version:0.4.0
+Name:   python-mechanize
+Version:0.4.1
 Release:0
 Summary:Stateful programmatic web browsing
 License:(BSD-3-Clause OR ZPL-2.1) AND BSD-3-Clause

++ mechanize-0.4.0.tar.gz -> mechanize-0.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.0/PKG-INFO new/mechanize-0.4.1/PKG-INFO
--- old/mechanize-0.4.0/PKG-INFO2019-01-16 11:01:47.0 +0100
+++ new/mechanize-0.4.1/PKG-INFO2019-03-16 10:28:05.0 +0100
@@ -1,12 +1,12 @@
 Metadata-Version: 2.1
 Name: mechanize
-Version: 0.4.0
+Version: 0.4.1
 Summary: Stateful programmatic web browsing.
 Home-page: https://github.com/python-mechanize/mechanize
 Author: Kovid Goyal
 Author-email: n...@no.no
 License: BSD
-Download-URL: 
https://pypi.python.org/packages/source/m/mechanize/mechanize-0.4.0.tar.gz
+Download-URL: 
https://pypi.python.org/packages/source/m/mechanize/mechanize-0.4.1.tar.gz
 Description: Stateful programmatic web browsing, after Andy Lester's Perl 
module
 WWW::Mechanize.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.0/README.rst 
new/mechanize-0.4.1/README.rst
--- old/mechanize-0.4.0/README.rst  2019-01-10 11:34:12.0 +0100
+++ new/mechanize-0.4.1/README.rst  2019-02-14 09:39:32.0 +0100
@@ -1,7 +1,7 @@
 mechanize - Automate interaction with HTTP web servers
 ##
 
-|pypi| |unix_build| |windows_build|
+|pypi| |build|
 
 .. contents::
 
@@ -85,10 +85,6 @@
 :target: https://pypi.python.org/pypi/mechanize
 :alt: Latest version released on PyPi
 
-.. |unix_build| image:: 
https://api.travis-ci.org/python-mechanize/mechanize.svg
-:target: http://travis-ci.org/python-mechanize/mechanize
-:alt: Build status of the master branch on Unix
-
-.. |windows_build|  image:: 
https://ci.appveyor.com/api/projects/status/github/python-mechanize/mechanize?svg=true
-:target: https://ci.appveyor.com/project/python-mechanize/mechanize
-:alt: Build status of the master branch on Windows
+.. |build| image:: 
https://dev.azure.com/kovidgoyal/mechanize/_apis/build/status/python-mechanize.mechanize?branchName=master
+:target: 
https://dev.azure.com/kovidgoyal/mechanize/_build/latest?definitionId=1=master
+:alt: Build status of the master branch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.0/mechanize/_http.py 
new/mechanize-0.4.1/mechanize/_http.py
--- old/mechanize-0.4.0/mechanize/_http.py  2019-01-10 11:34:12.0 
+0100
+++ new/mechanize-0.4.1/mechanize/_http.py  2019-03-07 16:34:29.0 
+0100
@@ -96,8 +96,8 @@
   timeout=self._timeout)
 try:
 f = self._opener.open(req)
-except HTTPError as f:
-pass
+except HTTPError as err:
+f = err
 except (IOError, socket.error, OSError) as exc:
 debug_robots("ignoring error opening %r: %s" %
  (self.url, exc))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mechanize-0.4.0/mechanize/_urllib2_fork.py 
new/mechanize-0.4.1/mechanize/_urllib2_fork.py
--- 

commit python-mechanize for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2019-01-21 11:01:07

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new.28833 (New)


Package is "python-mechanize"

Mon Jan 21 11:01:07 2019 rev:20 rq:667161 version:0.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2018-08-31 10:45:44.795296604 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-mechanize.new.28833/python-mechanize.changes 
2019-01-21 11:03:21.531042562 +0100
@@ -1,0 +2,15 @@
+Fri Jan 18 11:27:00 CET 2019 - mc...@suse.com
+
+- 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)
+
+---

Old:

  mechanize-0.3.6.tar.gz

New:

  mechanize-0.4.0.tar.gz



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.rX71qQ/_old  2019-01-21 11:03:22.023041930 +0100
+++ /var/tmp/diff_new_pack.rX71qQ/_new  2019-01-21 11:03:22.027041925 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mechanize
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,15 +12,14 @@
 # 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 skip_python3 1
 %define modname mechanize
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-%{modname}
-Version:0.3.6
+Version:0.4.0
 Release:0
 Summary:Stateful programmatic web browsing
 License:(BSD-3-Clause OR ZPL-2.1) AND BSD-3-Clause
@@ -29,6 +28,9 @@
 Source: 
https://files.pythonhosted.org/packages/source/m/mechanize/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module html5lib}
 BuildRequires:  %{python_module setuptools}
+# For testing
+BuildRequires:  %{python_module Twisted}
+BuildRequires:  %{python_module zope.interface}
 BuildRequires:  fdupes
 BuildRequires:  python
 BuildRequires:  python-rpm-macros
@@ -65,7 +67,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand $python ./run_tests.py
+%python_expand $python ./run_tests.py -v
 
 %files %{python_files}
 %license LICENSE

++ mechanize-0.3.6.tar.gz -> mechanize-0.4.0.tar.gz ++
 9931 lines of diff (skipped)




commit python-mechanize for openSUSE:Factory

2018-08-31 Thread root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2018-08-31 10:45:38

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new (New)


Package is "python-mechanize"

Fri Aug 31 10:45:38 2018 rev:19 rq:632132 version:0.3.6

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2018-08-07 09:44:41.485478436 +0200
+++ /work/SRC/openSUSE:Factory/.python-mechanize.new/python-mechanize.changes   
2018-08-31 10:45:44.795296604 +0200
@@ -1,0 +2,5 @@
+Wed Aug 29 10:46:11 UTC 2018 - tchva...@suse.com
+
+- Require full python2 as it needs SSL module
+
+---



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.tJje2j/_old  2018-08-31 10:45:46.175298275 +0200
+++ /var/tmp/diff_new_pack.tJje2j/_new  2018-08-31 10:45:46.179298280 +0200
@@ -19,7 +19,6 @@
 %define skip_python3 1
 %define modname mechanize
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
 Name:   python-%{modname}
 Version:0.3.6
 Release:0
@@ -27,10 +26,11 @@
 License:(BSD-3-Clause OR ZPL-2.1) AND BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/python-mechanize/mechanize
-Source: 
https://pypi.python.org/packages/source/m/%{modname}/%{modname}-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/m/mechanize/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module html5lib}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
 %python_subpackages




commit python-mechanize for openSUSE:Factory

2018-08-07 Thread root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2018-08-07 09:44:37

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new (New)


Package is "python-mechanize"

Tue Aug  7 09:44:37 2018 rev:18 rq:627756 version:0.3.6

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2013-11-13 10:18:06.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-mechanize.new/python-mechanize.changes   
2018-08-07 09:44:41.485478436 +0200
@@ -1,0 +2,15 @@
+Mon Aug  6 20:28:11 UTC 2018 - toddrme2...@gmail.com
+
+- Remove unneeded dependencies.
+
+---
+Thu Jun 14 17:21:43 UTC 2018 - mc...@suse.com
+
+- Clean SPEC file (only py2k, but tests are enabled and run)
+
+---
+Thu Aug 24 13:45:20 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -125,0 +141 @@
+

Old:

  mechanize-0.2.5.tar.gz

New:

  mechanize-0.3.6.tar.gz



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.IURgAH/_old  2018-08-07 09:44:42.013479354 +0200
+++ /var/tmp/diff_new_pack.IURgAH/_new  2018-08-07 09:44:42.017479361 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mechanize
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,24 @@
 #
 
 
-Name:   python-mechanize
-Version:0.2.5
+%define skip_python3 1
+%define modname mechanize
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
+Name:   python-%{modname}
+Version:0.3.6
 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://pypi.python.org/packages/source/m/%{modname}/%{modname}-%{version}.tar.gz
+BuildRequires:  %{python_module html5lib}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 Stateful programmatic web browsing, after Andy Lester's Perl module
@@ -53,18 +53,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}
+
+%check
+%python_expand $python ./run_tests.py
 
-%files
-%defattr(-,root,root)
-%doc examples COPYING.txt README.txt docs/html/ChangeLog.txt
-%{python_sitelib}/*
+%files %{python_files}
+%license LICENSE
+%doc examples README.rst
+%{python_sitelib}/%{modname}*
 
 %changelog

++ mechanize-0.2.5.tar.gz -> mechanize-0.3.6.tar.gz ++
 43618 lines of diff (skipped)




commit python-mechanize for openSUSE:Factory

2013-11-13 Thread h_root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2013-11-13 10:18:05

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new (New)


Package is python-mechanize

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2013-10-25 11:21:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-mechanize.new/python-mechanize.changes   
2013-11-13 10:18:06.0 +0100
@@ -1,0 +2,11 @@
+Sat Nov  9 10:59:58 UTC 2013 - p.drou...@gmail.com
+
+- Fix changes file by removing name of committer
+- Fix Group : Development/Libraries/Python  Development/Languages/Python
+
+---
+Sat Nov  9 09:20:53 UTC 2013 - saigk...@opensuse.org
+
+- changed BR python-clientform to python-ClientForm (now it matches) 
+
+---



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.4EHCdO/_old  2013-11-13 10:18:06.0 +0100
+++ /var/tmp/diff_new_pack.4EHCdO/_new  2013-11-13 10:18:06.0 +0100
@@ -22,13 +22,13 @@
 Url:http://wwwsearch.sourceforge.net/mechanize/
 Summary:Stateful programmatic web browsing
 License:(BSD-3-Clause or ZPL-2.1) and BSD-3-Clause
-Group:  Development/Libraries/Python
+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
-Requires:   python-clientform
 %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

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-mechanize for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2013-10-25 11:21:42

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new (New)


Package is python-mechanize

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2012-03-13 09:38:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-mechanize.new/python-mechanize.changes   
2013-10-25 11:21:50.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:08:33 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.zgnzSF/_old  2013-10-25 11:21:54.0 +0200
+++ /var/tmp/diff_new_pack.zgnzSF/_new  2013-10-25 11:21:54.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mechanize
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 Source: mechanize-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
+BuildRequires:  python-setuptools
 Requires:   python-beautifulsoup
 Requires:   python-clientform
 %if 0%{?suse_version}  0%{?suse_version} = 1110

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-mechanize for openSUSE:Factory

2012-03-13 Thread h_root
Hello community,

here is the log from the commit of package python-mechanize for 
openSUSE:Factory checked in at 2012-03-13 09:38:42

Comparing /work/SRC/openSUSE:Factory/python-mechanize (Old)
 and  /work/SRC/openSUSE:Factory/.python-mechanize.new (New)


Package is python-mechanize, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-mechanize/python-mechanize.changes
2011-09-26 10:16:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-mechanize.new/python-mechanize.changes   
2012-03-13 09:38:43.0 +0100
@@ -1,0 +2,5 @@
+Mon Mar 12 21:51:45 UTC 2012 - sasc...@gmx.de
+
+- Simplified macro usage
+
+---



Other differences:
--
++ python-mechanize.spec ++
--- /var/tmp/diff_new_pack.PLH9r8/_old  2012-03-13 09:38:44.0 +0100
+++ /var/tmp/diff_new_pack.PLH9r8/_new  2012-03-13 09:38:44.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mechanize
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # 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 @@
 #
 
 
-
 Name:   python-mechanize
 Version:0.2.5
 Release:0
@@ -30,13 +29,11 @@
 BuildRequires:  python-distribute
 Requires:   python-beautifulsoup
 Requires:   python-clientform
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version}  1110
+%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
 BuildArch:  noarch
 %endif
-%endif
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
 
 %description
 Stateful programmatic web browsing, after Andy Lester's Perl module

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org