r1791 - in python-mechanize/trunk/debian (6 files)

doko at users.alioth.debian.org doko at users.alioth.debian.org
Mon Sep 21 22:46:35 UTC 2009


    Date: Monday, September 21, 2009 @ 22:46:34
  Author: doko
Revision: 1791

python-mechanize (0.1.11-1) unstable; urgency=low

  * New upstream release, uploaded to unstable.
    - Closes: #518945.

 -- Matthias Klose <doko at ubuntu.com>  Tue, 22 Sep 2009 00:14:06 +0200

python-mechanize (0.1.11-0ubuntu1) jaunty; urgency=low

  [ Ken VanDine ]
  * New upstream release (LP: #337918)
    - Fix quadratic performance in number of .read() calls (and add an
      automated performance test).
    - Add support for Python 2.6: Raise URLError on file: URL errors,
      not IOError (port of upstream urllib2 fix).  Add support for
      Python 2.6's per-connection timeouts: Add timeout arguments to
      urlopen(), Request constructor, .open(), and .open_novisit().
    - Drop support for Python 2.3
    - Add Content-length header to Request object (httplib bug that
      prevented doing that was fixed in Python 2.4).  There's no
      change is what is actually sent over the wire here, just in what
      headers get added to the Request object.
    - Fix AttributeError on .retrieve() with a Request (as opposed to
      URL string) argument
    - Don't change CookieJar state in .make_cookies().
    - Fix AttributeError in case where .make_cookies() or
      .cookies_for_request() is called before other methods like
      .extract_cookies() or .make_cookie_header()
    - Fixes affecting version cookie-attribute
      (http://bugs.python.org/issue3924).
    - Silence module logging's "no handlers could be found for logger
      mechanize" warning in a way that doesn't clobber attempts to set
      log level sometimes
    - Don't use private attribute of request in request upgrade
      handler (what was I thinking??)
    - Don't call setup() on import of setup.py
    - Add new public function effective_request_host
    - Add .get_policy() method to CookieJar
    - Add method CookieJar.cookies_for_request()
    - Fix documented interface required of requests and responses (and
      add some tests for this!)
    - Allow either .is_unverifiable() or .unverifiable on request
      objects (preferring the former)
    - Note that there's a new functional test for digest auth, which
      fails when run against the sourceforge site (which is the 
      default).  It looks like this reflects the fact that digest auth
      has been fairly broken since it was introduced in urllib2.  I
      don't plan to fix this myself.
    - Fix ImportError if sqlite3 not available
    - Fix a couple of functional tests not to wait 5 seconds each
    - Close sockets.  This only affects Python 2.5 (and later) -
      earlier versions of Python were unaffected.  See
      http://bugs.python.org/issue1627441
    - Make title parsing follow Firefox behaviour wrt child
      elements (previously the behaviour differed between Factory and
      RobustFactory).
    - Fix BeautifulSoup RobustLinksFactory (hence RobustFactory) link
      text parsing for case of link text containing tags (Titus Brown)
    - Fix issue where more tags after <title> caused default parser to
      raise an exception
    - Handle missing cookie max-age value.  Previously, a warning was
      emitted in this case.
    - Fix thoroughly broken digest auth (still need functional
      test!) (trebor74hr at ...)
    - Handle cookies containing embedded tabs in mozilla format files
    - Remove an assertion about mozilla format cookies file
      contents (raise LoadError instead)
    - Fix MechanizeRobotFileParser.set_opener()
    - Fix selection of global form using .select_form() (Titus Brown)
    - Log skipped Refreshes
    - Stop tests from clobbering files that happen to be lying around
      in cwd (!)
    - Use SO_REUSEADDR for local test server.
    - Raise exception if local test server fails to start.
    - Tests no longer (accidentally) depend on third-party coverage
      module
    - Add convenience method Browser.open_local_file(filename)
    - Add experimental support for Firefox 3 cookie jars
      ("cookies.sqlite").  Requires Python 2.5
    - Fix a _gzip.py NameError (gzip support is experimental)
  * debian/patches/drop-Gopher.dpatch:
      * removed, fixed upstream

  [ Martin Pitt ]
  * debian/control: Fix XS-Python-Version to only build for Python >= 2.5.

 -- Ken VanDine <ken.vandine at canonical.com>  Mon, 09 Mar 2009 16:34:31 -0400

python-mechanize (0.1.7b-3ubuntu1) jaunty; urgency=low

  * Add drop-Gopher.dpatch: Drop GopherError and GopherHandler, since
    Python 2.6's version does not define that any more. (LP: #336225)
  * debian/rules: Use glob instead of hardcoded site-packages/, python2.6 uses
    dist-packages now.
  * debian/rules: Supply --install-layout=deb.

 -- Martin Pitt <martin.pitt at ubuntu.com>  Sun, 01 Mar 2009 18:17:43 +0100

Added:
  python-mechanize/trunk/debian/README.source
Modified:
  python-mechanize/trunk/debian/changelog
  python-mechanize/trunk/debian/compat
  python-mechanize/trunk/debian/control
  python-mechanize/trunk/debian/rules
Deleted:
  python-mechanize/trunk/debian/pycompat

Added: python-mechanize/trunk/debian/README.source
===================================================================
--- python-mechanize/trunk/debian/README.source	                        (rev 0)
+++ python-mechanize/trunk/debian/README.source	2009-09-21 22:46:34 UTC (rev 1791)
@@ -0,0 +1,2 @@
+This package uses dpatch to patch the source.
+See /usr/share/doc/dpatch/README.source.gz for the details.

Modified: python-mechanize/trunk/debian/changelog
===================================================================
--- python-mechanize/trunk/debian/changelog	2009-09-20 15:27:05 UTC (rev 1790)
+++ python-mechanize/trunk/debian/changelog	2009-09-21 22:46:34 UTC (rev 1791)
@@ -1,3 +1,107 @@
+python-mechanize (0.1.11-1) unstable; urgency=low
+
+  * New upstream release, uploaded to unstable.
+    - Closes: #518945.
+
+ -- Matthias Klose <doko at ubuntu.com>  Tue, 22 Sep 2009 00:14:06 +0200
+
+python-mechanize (0.1.11-0ubuntu1) jaunty; urgency=low
+
+  [ Ken VanDine ]
+  * New upstream release (LP: #337918)
+    - Fix quadratic performance in number of .read() calls (and add an
+      automated performance test).
+    - Add support for Python 2.6: Raise URLError on file: URL errors,
+      not IOError (port of upstream urllib2 fix).  Add support for
+      Python 2.6's per-connection timeouts: Add timeout arguments to
+      urlopen(), Request constructor, .open(), and .open_novisit().
+    - Drop support for Python 2.3
+    - Add Content-length header to Request object (httplib bug that
+      prevented doing that was fixed in Python 2.4).  There's no
+      change is what is actually sent over the wire here, just in what
+      headers get added to the Request object.
+    - Fix AttributeError on .retrieve() with a Request (as opposed to
+      URL string) argument
+    - Don't change CookieJar state in .make_cookies().
+    - Fix AttributeError in case where .make_cookies() or
+      .cookies_for_request() is called before other methods like
+      .extract_cookies() or .make_cookie_header()
+    - Fixes affecting version cookie-attribute
+      (http://bugs.python.org/issue3924).
+    - Silence module logging's "no handlers could be found for logger
+      mechanize" warning in a way that doesn't clobber attempts to set
+      log level sometimes
+    - Don't use private attribute of request in request upgrade
+      handler (what was I thinking??)
+    - Don't call setup() on import of setup.py
+    - Add new public function effective_request_host
+    - Add .get_policy() method to CookieJar
+    - Add method CookieJar.cookies_for_request()
+    - Fix documented interface required of requests and responses (and
+      add some tests for this!)
+    - Allow either .is_unverifiable() or .unverifiable on request
+      objects (preferring the former)
+    - Note that there's a new functional test for digest auth, which
+      fails when run against the sourceforge site (which is the 
+      default).  It looks like this reflects the fact that digest auth
+      has been fairly broken since it was introduced in urllib2.  I
+      don't plan to fix this myself.
+    - Fix ImportError if sqlite3 not available
+    - Fix a couple of functional tests not to wait 5 seconds each
+    - Close sockets.  This only affects Python 2.5 (and later) -
+      earlier versions of Python were unaffected.  See
+      http://bugs.python.org/issue1627441
+    - Make title parsing follow Firefox behaviour wrt child
+      elements (previously the behaviour differed between Factory and
+      RobustFactory).
+    - Fix BeautifulSoup RobustLinksFactory (hence RobustFactory) link
+      text parsing for case of link text containing tags (Titus Brown)
+    - Fix issue where more tags after <title> caused default parser to
+      raise an exception
+    - Handle missing cookie max-age value.  Previously, a warning was
+      emitted in this case.
+    - Fix thoroughly broken digest auth (still need functional
+      test!) (trebor74hr at ...)
+    - Handle cookies containing embedded tabs in mozilla format files
+    - Remove an assertion about mozilla format cookies file
+      contents (raise LoadError instead)
+    - Fix MechanizeRobotFileParser.set_opener()
+    - Fix selection of global form using .select_form() (Titus Brown)
+    - Log skipped Refreshes
+    - Stop tests from clobbering files that happen to be lying around
+      in cwd (!)
+    - Use SO_REUSEADDR for local test server.
+    - Raise exception if local test server fails to start.
+    - Tests no longer (accidentally) depend on third-party coverage
+      module
+    - Add convenience method Browser.open_local_file(filename)
+    - Add experimental support for Firefox 3 cookie jars
+      ("cookies.sqlite").  Requires Python 2.5
+    - Fix a _gzip.py NameError (gzip support is experimental)
+  * debian/patches/drop-Gopher.dpatch:
+      * removed, fixed upstream
+
+  [ Martin Pitt ]
+  * debian/control: Fix XS-Python-Version to only build for Python >= 2.5.
+
+ -- Ken VanDine <ken.vandine at canonical.com>  Mon, 09 Mar 2009 16:34:31 -0400
+
+python-mechanize (0.1.7b-3ubuntu1) jaunty; urgency=low
+
+  * Add drop-Gopher.dpatch: Drop GopherError and GopherHandler, since
+    Python 2.6's version does not define that any more. (LP: #336225)
+  * debian/rules: Use glob instead of hardcoded site-packages/, python2.6 uses
+    dist-packages now.
+  * debian/rules: Supply --install-layout=deb.
+
+ -- Martin Pitt <martin.pitt at ubuntu.com>  Sun, 01 Mar 2009 18:17:43 +0100
+
+python-mechanize (0.1.7b-3) unstable; urgency=low
+
+  * Rebuild to move files into /usr/share/pyshared. Closes: #490495.
+
+ -- Matthias Klose <doko at debian.org>  Sat, 12 Jul 2008 13:33:14 +0200
+
 python-mechanize (0.1.7b-2) unstable; urgency=low
 
   * debian/patches/mechanize_seek.dpatch: applied a patch from the twill

Modified: python-mechanize/trunk/debian/compat
===================================================================
--- python-mechanize/trunk/debian/compat	2009-09-20 15:27:05 UTC (rev 1790)
+++ python-mechanize/trunk/debian/compat	2009-09-21 22:46:34 UTC (rev 1791)
@@ -1 +1 @@
-4
+5

Modified: python-mechanize/trunk/debian/control
===================================================================
--- python-mechanize/trunk/debian/control	2009-09-20 15:27:05 UTC (rev 1790)
+++ python-mechanize/trunk/debian/control	2009-09-21 22:46:34 UTC (rev 1791)
@@ -2,11 +2,11 @@
 Section: python
 Priority: extra
 Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
-Uploaders: Brian Sutherland <jinty at web.de>, Fabio Tranchitella <kobold at debian.org>, Jérémy Bobbio <lunar at debian.org>
+Uploaders: Brian Sutherland <jinty at web.de>, Fabio Tranchitella <kobold at debian.org>, Jérémy Bobbio <lunar at debian.org>, Matthias Klose <doko at ubuntu.com>
 Build-Depends-Indep: python-all-dev (>= 2.3.5-9), python-central (>= 0.5)
 Build-Depends: debhelper (>= 5.0.37.2), python-setuptools (>= 0.6b3), dpatch
-Standards-Version: 3.7.2
-XS-Python-Version: all
+Standards-Version: 3.8.3
+XS-Python-Version: >= 2.5
 XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/python-mechanize/trunk
 
 Package: python-mechanize
@@ -17,7 +17,7 @@
 Conflicts: python2.3-mechanize (<< 0.0.11a-3), python2.4-mechanize (<< 0.0.11a-3)
 Replaces: python2.3-mechanize (<< 0.0.11a-3), python2.4-mechanize (<< 0.0.11a-3)
 Description: stateful programmatic web browsing
- A library for browsing the web in python. Mechanize acts like a browser
+ A library for browsing the web in Python. Mechanize acts like a browser
  allowing you to do web scraping, functional testing of web sites and
  things no one has thought of yet.
  .

Deleted: python-mechanize/trunk/debian/pycompat
===================================================================
--- python-mechanize/trunk/debian/pycompat	2009-09-20 15:27:05 UTC (rev 1790)
+++ python-mechanize/trunk/debian/pycompat	2009-09-21 22:46:34 UTC (rev 1791)
@@ -1 +0,0 @@
-2

Modified: python-mechanize/trunk/debian/rules
===================================================================
--- python-mechanize/trunk/debian/rules	2009-09-20 15:27:05 UTC (rev 1790)
+++ python-mechanize/trunk/debian/rules	2009-09-21 22:46:34 UTC (rev 1791)
@@ -41,11 +41,11 @@
 	$(MAKE) -f debian/rules $(PYVERS:%=install-python%)
 
 install-python%:
-	python$* setup.py install --no-compile --single-version-externally-managed --root=debian/$(PACKAGE)
+	python$* setup.py install --no-compile --install-layout=deb --single-version-externally-managed --root=debian/$(PACKAGE)
 	# Remove python and module version from .egg-info
 	echo python:Provides=$(foreach pv,$(shell pyversions -s),$(pv)-mechanize)|sed 's/ /, /g' >> debian/python-mechanize.substvars
-	mv debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-$(DEB_UPSTREAM_VERSION)-py$*.egg-info \
-	   debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info 
+	(cd debian/$(PACKAGE)/usr/lib/python$*/*-packages/; \
+		mv $(PYMOD)-$(DEB_UPSTREAM_VERSION)-py$*.egg-info $(PYMOD).egg-info)
 
 .PHONY: binary-common
 binary-common:




More information about the pkg-zope-developers mailing list