15
0

Accepting request 51928 from devel:languages:python

Accepted submit request 51928 from user coolo

OBS-URL: https://build.opensuse.org/request/show/51928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mechanize?expand=0&rev=5
This commit is contained in:
Ruediger Oertel
2010-11-02 12:51:11 +00:00
committed by Git OBS Bridge
parent af389a55b9
commit 09535a31d0
5 changed files with 45 additions and 11 deletions

View File

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

3
mechanize-0.2.4.tar.gz Normal file
View File

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

View File

@@ -1,4 +0,0 @@
# This line is mandatory to access the configuration functions
from Config import *
addFilter("files-duplicate .*/site-packages/mechanize-.*-py.*.egg-info/zip-safe")

View File

@@ -1,3 +1,41 @@
-------------------------------------------------------------------
Fri Oct 29 15:19:59 UTC 2010 - rwobben@hotmail.com
- update to version 0.2.4
* Fix IndexError on empty Content-type header value. (GH-18)
* Fall back to another encoding if an unknown one is declared.
Fixes traceback on unknoqn encoding in Content-type header. (GH-30)
- additional changes from version 0.2.3
* Fix str(ParseError()) traceback. (GH-25)
* Add equality methods to mechanize.Cookie . (GH-29)
- additional changes from version 0.2.2
* Officially support Python 2.7 (no changes were required)
* Fix TypeError on .open()ing ftp: URL (only affects Python 2.4
and 2.5)
* Don't include HTTPSHandler in __all__ if it's not available
- additional changes from version 0.2.0
* Behaviour change: merged upstream urllib2 change (allegedly a
"bug fix") to return a response for all 2** HTTP responses (e.g.
206 Partial Content). Previously, only 200 caused a response
object to be returned. All other HTTP response codes resulted
in a response object being raised as an exception.
* Behaviour change: Use of mechanize classes with `urllib2` (and
vice-versa) is no longer supported. However, existing classes
implementing the urllib2 Handler interface are likely to work
unchanged with mechanize. Removed RequestUpgradeProcessor,
ResponseUpgradeProcessor, SeekableProcessor.
* ClientForm has been merged into mechanize. This means that
mechanize has no dependencies other than Python itself. The
ClientForm API is still available -- to switch from ClientForm to
mechanize, just s/ClientForm/mechanize in your source code, and
ensure any use of the module logging logger named "ClientForm" is
updated to use the new logger name "mechanize.forms". I probably
won't do further standalone releases of ClientForm.
for the remaining changes in 0.2.0 and 0.2.1 see
/usr/share/doc/packages/python-mechanize/ChangeLog.txt
-------------------------------------------------------------------
Thu Jul 1 13:36:53 UTC 2010 - toms@suse.de

View File

@@ -20,13 +20,13 @@
%define modname mechanize
Name: python-%{modname}
Version: 0.1.11
Version: 0.2.4
Release: 1
Summary: Stateful programmatic web browsing
Url: http://wwwsearch.sourceforge.net/mechanize/
License: BSD
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
Source: %{modname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
Requires: python-clientform python-beautifulsoup
@@ -72,7 +72,7 @@ rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc examples COPYING.txt ChangeLog.txt GeneralFAQ.html README.html README.txt
%doc doc.html
%doc docs/html/ChangeLog.txt
%doc examples COPYING.txt README.txt
%changelog