Subject: CVS commit: pkgsrc/www/py-curl
To: None <pkgsrc-changes@netbsd.org>
From: Shell Hung <shell@netbsd.org>
List: pkgsrc-changes
Date: 10/20/2002 05:53:05
Module Name: pkgsrc
Committed By: shell
Date: Sun Oct 20 02:53:04 UTC 2002
Modified Files:
pkgsrc/www/py-curl: Makefile PLIST distinfo
Log Message:
Updated to pycurl-7.10.1
- accept python-21pth only
Changes :
* Added new module-level function version_info() from
libcurl-7.10.
* Added commandline options to setup.py for specifying the path to
'curl-config' (non-windows) and the curl installation directory
(windows). See the 'INSTALL' file for details.
* Added CURLOPT_ENCODING, CURLOPT_NOSIGNAL and CURLOPT_BUFFERSIZE
from libcurl-7.10 (by Markus Oberhumer).
* Added a simple web-browser example based on gtkhtml and pycurl.
See the file 'examples/gtkhtml_demo.py' for details. The example
requires a working installation of gnome-python with gtkhtml
bindings enabled (pass --with-gtkhtml to gnome-python configure).
* Added new method 'select' on CurlMulti objects. Example usage
in 'tests/test_multi5.py'. This method is just an optimization of
the combined use of fdset and select.
* Added support for curl_multi_fdset. See the file
'tests/test_multi4.py' for example usage. Contributed by Conrad
Steenberg <conrad@hep.caltech.edu>.
* perform() on multi objects now returns a tuple (result, number
of handles) like the libcurl interface does.
* Added the 'sfquery' script which retrieves a SourceForge XML
export object for a given project. See the file 'examples/sfquery.py'
for details and usage. 'sfquery' was contributed by Eric
S. Raymond <esr@thyrsus.com>.
* API enhancements: added Curl() and CurlMulti() as aliases for
init() and multi_init(), and added close() methods as aliases
for the cleanup() methods. The new names much better match
the actual intended use of the objects, and they also nicely
correspond to Python's file object.
* Also, all constants for Curl.setopt() and Curl.getinfo() are now
visible from within Curl objects.
* More see Changes
- All changes are fully backward-compatible. -
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/www/py-curl/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/py-curl/PLIST
cvs rdiff -r1.3 -r1.4 pkgsrc/www/py-curl/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.