Commit graph

11 commits

Author SHA1 Message Date
asau
5eae6a18a3 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-28 06:30:00 +00:00
wiz
aada88e659 Remove python24 and all traces of it from pkgsrc.
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
2012-04-08 19:08:44 +00:00
obache
cffcbe58c8 Update py-mechanize to 0.2.5.
(added test target)

2011-03-31 John J Lee <jjl@pobox.com>
	* 0.2.5 release.
	* This is essentially a no-changes release to fix easy_install
	  breakage caused by a SourceForge issue
	* Sourceforge is returning invalid HTTP responses, make download
	  links point to PyPI instead
	* Include cookietest.cgi in source distribution
	* Note new IETF cookie standardisation effort

2010-10-28 John J Lee <jjl@pobox.com>
	* 0.2.4 release.
	* 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)

2010-10-16 John J Lee <jjl@pobox.com>
	* 0.2.3 release.
	* Fix str(ParseError()) traceback. (GH-25)
	* Add equality methods to mechanize.Cookie . (GH-29)

2010-07-17 John J Lee <jjl@pobox.com>
	* 0.2.2 release.
	* 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

2010-05-16 John J Lee <jjl@pobox.com>
	* 0.2.1 release.
	* API change: Change argument order of
	  HTTPRedirectHandler.redirect_request() to match urllib2.
	* Fix failure to use bundled BeautifulSoup for forms. (GH-15)
	* Fix default cookie path where request path has query containing
	  / character. (http://bugs.python.org/issue3704)
	* Fix failure to raise on click for nonexistent label. (GH-16)
	* Documentation fixes.

2010-04-22 John J Lee <jjl@pobox.com>
	* 0.2.0 release.
	* 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.
	* Stop monkey-patching Python stdlib.
	* Merge fixes from urllib2 trunk
	* Close file objects on .read() failure in .retrieve()
	* Fix a python 2.4 bug due to buggy urllib.splithost
	* Fix Python 2.4 syntax error in _firefox3cookiejar
	* Fix __init__.py typo that hid mechanize.seek_wrapped_response and
	  mechanize.str2time.  Fixes
	  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465206
	* Fix an obvious bug with experimental firefox 3 cookiejar support.
	  It's still experimental and not properly tested.
	* Change documentation to not require a .port attribute on request
	  objects, since that's unused.
	* Doc fixes
	* Added mechanize.urljoin (RFC 3986 compliant function for joining
	  a base URI with a URI reference)
	* Merge of ClientForm (see above).
	* Moved to git (from SVN) http://github.com/jjlee/mechanize
	* Created an issue tracker http://github.com/jjlee/mechanize/issues
	* Docs are now in markdown format (thanks John Gabriele).
	* Website rearranged.  The old website has been archived at
	  http://wwwsearch.sourceforge.net/old/ .  The new website is
	  essentially just the mechanize pages, rearranged and cleaned up a
	  bit.
	* Source code rearranged for easier merging with upstream urllib2
	* Fully automated release process.
	* New test runner.  Single test suite; tests create their own HTTP
	  server fixtures (server fixtures are cached where possible for
	  speed).
2011-11-26 09:18:25 +00:00
obache
6480e49118 Add missing dependency on py-ClientForm.
PR pkg/45651.

Bump PKGREVISION.
2011-11-25 13:29:43 +00:00
wiz
f09b8dbca6 Let's assume for now that everything that worked with python-2.6 also
works with python-2.7.
2011-02-25 09:47:18 +00:00
wiz
295f5a444b Update to 0.1.11:
2009-02-07 John J Lee <jjl@pobox.com>
	* 0.1.11 release.
	* Fix quadratic performance in number of .read() calls (and add an
	  automated performance test).
2009-10-11 08:32:04 +00:00
wiz
41034dbe1f Allow python26. 2009-09-22 00:56:14 +00:00
joerg
fbaf149543 user-destdir support 2009-07-07 18:58:47 +00:00
joerg
e031855e4a Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +00:00
joerg
4d9d0ec703 Needs Python 2.5 yield. 2009-02-09 18:57:56 +00:00
wiz
1966a9ad5c Initial import of py-mechanize-0.1.10:
Stateful programmatic web browsing, after Andy Lester's Perl module
WWW::Mechanize.

The library is layered: mechanize.Browser (stateful web browser),
mechanize.UserAgent (configurable URL opener), plus urllib2 handlers.

Features include: ftp:, http: and file: URL schemes, browser history,
high-level hyperlink and HTML form support, HTTP cookies, HTTP-EQUIV
and Refresh, Referer [sic] header, robots.txt, redirections, proxies,
and Basic and Digest HTTP authentication.  mechanize's response
objects are (lazily-) .seek()able and still work after .close().
2009-01-17 20:46:55 +00:00