437eab598f
- 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. -
19 lines
499 B
Makefile
19 lines
499 B
Makefile
# $NetBSD: Makefile,v 1.5 2002/10/20 02:53:03 shell Exp $
|
|
|
|
DISTNAME= pycurl-7.10.1
|
|
PKGNAME= ${PYPKGPREFIX}-curl-7.10.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://pycurl.sourceforge.net/download/
|
|
|
|
MAINTAINER= shell@netbsd.org
|
|
HOMEPAGE= http://pycurl.sf.net/
|
|
COMMENT= python module interface to the cURL library
|
|
|
|
DEPENDS+= curl>=7.10.1:../../www/curl
|
|
|
|
PYDISTUTILSPKG= # defined
|
|
PYBINMODULE= # defined
|
|
PYTHON_VERSIONS_ACCEPTED= 21pth
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|