Commit graph

22 commits

Author SHA1 Message Date
recht
367eed19fe Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23 20:41:45 +00:00
wiz
f472d1ec5e Bump PKGREVISION because of curl dependency bump. 2005-01-03 15:59:12 +00:00
recht
fc950e852c update to pycurl-7.12.2
Version 7.12.2 [requires libcurl-7.12.2 or better]
--------------

2004-10-15  Kjetil Jacobsen  <kjetilja>

        * Added CURLOPT_FTPSSLAUTH (and CURLFTPAUTH_*).

        * Added CURLINFO_OS_ERRNO.


2004-08-17 Kjetil Jacobsen <kjetilja>

        * Use LONG_LONG instead of PY_LONG_LONG to make pycurl compile
          on Python versions < 2.3 (fix from Domenico Andreoli
          <cavok at libero.it>).
2004-11-28 13:04:03 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
recht
856d53c447 Update to PycURL 7.12.1
Version 7.12.1 [requires libcurl-7.12.1 or better]
--------------
2004-08-02  Kjetil Jacobsen  <kjetilja>
        * Added INFOTYPE_SSL_DATA_IN/OUT.

2004-07-16  Markus F.X.J. Oberhumer <mfx>
        * WARNING: removed deprecated PROXY_, TIMECOND_ and non-prefixed                  INFOTYPE constant names. See ChangeLog entry 2003-06-10.

2004-06-21  Kjetil Jacobsen  <kjetilja>
        * Added test program for HTTP post using the read callback (see
          tests/test_post3.py for details).
        * Use the new CURL_READFUNC_ABORT return code where appropriate
          to avoid hanging in perform() when read callbacks are used.
        * Added support for libcurl 7.12.1 CURLOPT features:
          SOURCE_HOST, SOURCE_USERPWD, SOURCE_PATH, SOURCE_PORT,
          PASV_HOST, SOURCE_PREQUOTE, SOURCE_POSTQUOTE.

2004-06-08  Markus F.X.J. Oberhumer <mfx>
        * Setting CURLOPT_POSTFIELDS now allows binary data and
          automatically sets CURLOPT_POSTFIELDSIZE for you. If you really
          want a different size you have to manually set POSTFIELDSIZE
          after setting POSTFIELDS.
          (Based on a patch by Martin Muenstermann).

2004-06-05  Markus F.X.J. Oberhumer <mfx>
        * Added stricter checks within the callback handlers.
        * Unify the behaviour of int and long parameters where appropriate.


Version 7.12
------------
2004-05-18  Kjetil Jacobsen  <kjetilja>
        * WARNING: To simplify code maintenance pycurl now requires
          libcurl 7.11.2 and python 2.2 or newer to work.
        * GC support is now always enabled.

Version 7.11.3
--------------
2004-04-30  Kjetil Jacobsen  <kjetilja>
        * Do not use the deprecated curl_formparse function.
          API CHANGE: HTTPPOST now takes a list of tuples where each
          tuple contains a form name and a form value, both strings
          (see test/test_post2.py for example usage).

        * Found a possible reference count bug in the multithreading
          code which may have contributed to the long-standing GC
          segfault which has haunted pycurl.  Fingers crossed.


Version 7.11.2
--------------
2004-04-21  Kjetil Jacobsen  <kjetilja>
        * Added support for libcurl 7.11.2 CURLOPT features:
          CURLOPT_TCP_NODELAY.

2004-03-25 Kjetil Jacobsen   <kjetilja>
        * Store Python longs in off_t with PyLong_AsLongLong instead
          of PyLong_AsLong.  Should make the options which deal
          with large files behave a little better.  Note that this
          requires the long long support in Python 2.2 or newer to
          work properly.


Version 7.11.1
--------------
2004-03-16  Kjetil Jacobsen  <kjetilja>
        * WARNING: Removed support for the PASSWDFUNCTION callback, which
          is no longer supported by libcurl.

2004-03-15  Kjetil Jacobsen  <kjetilja>
        * Added support for libcurl 7.11.1 CURLOPT features:
          CURLOPT_POSTFIELDSIZE_LARGE.
2004-08-21 11:31:41 +00:00
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
snj
e34dafd5ab Convert to buildlink3. 2004-04-21 04:58:19 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
recht
ba3cf11d97 pycurl needs Python 2.2 or later - so remove 2.1 from the list.
While at it make 2.3 the default version.
spotted by kristerw@'s bulk build
2004-03-04 10:58:09 +00:00
recht
549bad8121 update to 7.11.0
* Added support for libcurl 7.11.0 CURLOPT features:
  INFILESIZE_LARGE, RESUME_FROM_LARGE, MAXFILESIZE_LARGE
  and FTP_SSL.

* Circular garbage collection support can now be enabled or
  disabled by passing the '--use-gc=[0|1]' parameter to setup.py
  when building pycurl.

* HTTP_VERSION options are known as CURL_HTTP_VERSION_NONE,
  CURL_HTTP_VERSION_1_0, CURL_HTTP_VERSION_1_1 and
  CURL_HTTP_VERSION_LAST.

* Added support for these new libcurl 7.11.0 features:
  CURLOPT_NETRC_FILE.
2004-02-15 18:44:01 +00:00
recht
0d32790d4b update to PycURL 7.10.8
changes:

* Added support for these new libcurl 7.10.8 features:
  CURLOPT_FTP_RESPONSE_TIMEOUT, CURLOPT_IPRESOLVE,
  CURLOPT_MAXFILESIZE,
  CURLINFO_HTTPAUTH_AVAIL, CURLINFO_PROXYAUTH_AVAIL,
  CURL_IPRESOLVE_* constants.

* Added support for these new libcurl 7.10.7 features:
  CURLOPT_FTP_CREATE_MISSING_DIRS, CURLOPT_PROXYAUTH,
  CURLINFO_HTTP_CONNECTCODE.

* Added missing CURLOPT_ENCODING option (patch by Martijn
  Boerwinkel <xim@xs4all.nl>)
2004-01-23 23:08:01 +00:00
recht
440ae98093 update to 7.10.6
added python23-pth support

Many changes and fixes.

See ChangeLog for a complete list.

Important:
* WARNING: Removed the deprecated pycurl.init() and pycurl.multi_init()
  names - use pycurl.Curl() and pycurl.CurlMulti() instead.

* WARNING: Removed the deprecated Curl.cleanup() and CurlMulti.cleanup()
  methods - use Curl.close() and CurlMulti.close() instead.
2003-09-14 18:03:53 +00:00
martti
33e2a02324 COMMENT should start with a capital letter. 2003-07-22 04:14:17 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
drochner
6b4a1e1ba7 accept python22-pth 2002-10-25 11:01:29 +00:00
drochner
0e25fd7806 -move the doc files and examples to share/doc/pycurl<pythonversion>
for coexistence with a future py22pth (or even native thread) pkg
-use buildlink2
2002-10-22 14:21:04 +00:00
shell
437eab598f 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. -
2002-10-20 02:53:03 +00:00
jlam
e44bf515dc Strip the ".buildlink" from the names of the python application and
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks.  Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
2002-09-21 23:46:45 +00:00
shell
2dd3b782de Updated py-curl to 7.9.7
Change since 0.4.8 :

 * New versioning scheme.  Pycurl now has the same version number
 as the libcurl version it was built with.  The pycurl version
 number thus indicates which version of libcurl is required to run.

 * Added CURLINFO_REDIRECT_TIME and CURLINFO_REDIRECT_COUNT.

 * Fixed potential memory leak and thread race (by Markus
 Oberhumer)

 * Added CURLOPT_DEBUGFUNCTION to allow debug callbacks to be
 specified (see the file 'test_debug.py' for details on how to use
 debug callbacks).

 * Added CURLOPT_DNS_USE_GLOBAL_CACHE and
 CURLOPT_DNS_CACHE_TIMEOUT.

 * Fixed a segfault when finalizing curl objects in Python 1.5.2.

 * Added 'test_post2.py' file which is another example on how to
 issue POST requests.

 * Added the 'test_post.py' file which demonstrates the use of
 POST requests.
2002-06-10 01:47:15 +00:00
shell
9bcb2dbd69 Updated to pycurl-0.4.9
- Change my email address
- Require curl-7.9.6


Changes since 0.4.7 :
* Added CURLOPT_DEBUGFUNCTION to allow debug callbacks to be
  specified (see the file 'test_debug.py' for details on how to use
  debug callbacks).
* Added CURLOPT_DNS_USE_GLOBAL_CACHE and
  CURLOPT_DNS_CACHE_TIMEOUT.
* Fixed a segfault when finalizing curl objects in Python 1.5.2.
* Added 'test_post2.py' file which is another example on how to
  issue POST requests.
* Added the 'test_post.py' file which demonstrates the use of
  POST requests.
* Added CURLOPT_PREQUOTE.
* Other minor code cleanups and bugfixes.
* Do not allow WRITEFUNCTION and WRITEHEADER on the same handle.
2002-04-21 12:14:50 +00:00
drochner
a0ad18e39c initial import of py-curl-0.4.5, a python module interface to the cURL library,
submitted by Shell Hung per PR pkg/15103
2002-01-29 16:22:18 +00:00