pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-curl py-curl: update to 7.43.0.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4573f4bb9a3a
branches:  trunk
changeset: 308958:4573f4bb9a3a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jun 05 18:50:31 2018 +0000

description:
py-curl: update to 7.43.0.2.

PycURL 7.43.0.2 - 2018-06-02
----------------------------

Highlights of this release:

1. Experimental perform_rs and perform_rb methods have been added to Curl
   objects. They return response body as a string and a byte string,
   respectively. The goal of these methods is to improve PycURL's usability
   for typical use cases, specifically removing the need to set up
   StringIO/BytesIO objects to store the response body.

2. getinfo_raw and errstr_raw methods have been added to Curl objects to
   return transfer information as byte strings, permitting applications to
   retrieve transfer information that is not decodable using Python's
   default encoding.

3. errstr and "fail or error" exceptions now replace undecodable bytes
   so as to provide usable strings; use errstr_raw to retrieve original
   byte strings.

4. There is no longer a need to keep references to Curl objects when they
   are used in CurlMulti objects - PycURL now maintains such references
   internally.

5. Official Windows builds now include HTTP/2 and international domain
   name support.

6. PycURL now officially supports BoringSSL.

7. A number of smaller improvements have been made and bugs fixed.

diffstat:

 www/py-curl/Makefile |   5 ++---
 www/py-curl/PLIST    |   9 +++++++--
 www/py-curl/distinfo |  10 +++++-----
 3 files changed, 14 insertions(+), 10 deletions(-)

diffs (64 lines):

diff -r 76834dacc0e3 -r 4573f4bb9a3a www/py-curl/Makefile
--- a/www/py-curl/Makefile      Tue Jun 05 18:49:01 2018 +0000
+++ b/www/py-curl/Makefile      Tue Jun 05 18:50:31 2018 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.58 2018/04/29 21:32:08 adam Exp $
+# $NetBSD: Makefile,v 1.59 2018/06/05 18:50:31 wiz Exp $
 
-DISTNAME=      pycurl-7.43.0.1
+DISTNAME=      pycurl-7.43.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   2
 CATEGORIES=    www python
 MASTER_SITES=  http://dl.bintray.com/pycurl/pycurl/
 
diff -r 76834dacc0e3 -r 4573f4bb9a3a www/py-curl/PLIST
--- a/www/py-curl/PLIST Tue Jun 05 18:49:01 2018 +0000
+++ b/www/py-curl/PLIST Tue Jun 05 18:50:31 2018 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.13 2017/04/05 17:56:18 adam Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.14 2018/06/05 18:50:31 wiz Exp $
 ${PYSITELIB}/curl/__init__.py
 ${PYSITELIB}/curl/__init__.pyc
 ${PYSITELIB}/curl/__init__.pyo
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/pycurl.so
 share/doc/pycurl${PYVERSSUFFIX}/AUTHORS
 share/doc/pycurl${PYVERSSUFFIX}/COPYING-LGPL
@@ -14,6 +14,7 @@
 share/doc/pycurl${PYVERSSUFFIX}/examples/basicfirst.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/file_upload.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/linksys.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/opensocketexception.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/file_upload_buffer.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/file_upload_real.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/file_upload_real_fancy.py
@@ -21,7 +22,11 @@
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/form_post.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/get.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/get_python2.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/get_python2_https.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/get_python3.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/get_python3_https.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/put_buffer.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/put_file.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/response_headers.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/response_info.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/write_file.py
diff -r 76834dacc0e3 -r 4573f4bb9a3a www/py-curl/distinfo
--- a/www/py-curl/distinfo      Tue Jun 05 18:49:01 2018 +0000
+++ b/www/py-curl/distinfo      Tue Jun 05 18:50:31 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.23 2017/12/10 17:33:33 adam Exp $
+$NetBSD: distinfo,v 1.24 2018/06/05 18:50:31 wiz Exp $
 
-SHA1 (pycurl-7.43.0.1.tar.gz) = caa8e7b21c1552a1638b771e9c4933b51b7acebd
-RMD160 (pycurl-7.43.0.1.tar.gz) = 29e3009d4c99576f9ad4624fcccaea7ada935e56
-SHA512 (pycurl-7.43.0.1.tar.gz) = c084955d6239230a9cb694fe31465da10daab37a5d030d5cbf69ae860402471d1b0c820858451d239363d9b0829899189e9939abf67875ad035867e5f72a66fe
-Size (pycurl-7.43.0.1.tar.gz) = 195861 bytes
+SHA1 (pycurl-7.43.0.2.tar.gz) = cd617ed4e40a3b8f5ca5bf54aba7f35ed25afa46
+RMD160 (pycurl-7.43.0.2.tar.gz) = d6f40fc0f1e3f69bead2c2b9daf71a7195635f2c
+SHA512 (pycurl-7.43.0.2.tar.gz) = 8635fb33107c9351b7527036b8ab16d76aad72c2170643928034641770d07ab1507a8b2adc8b1a1dcfff29272f55cb00fee65abfcc0c639db14fdc20fc3a0fd0
+Size (pycurl-7.43.0.2.tar.gz) = 214212 bytes
 SHA1 (patch-setup.py) = 41722b45efbbc3e3b65f88354b647b4c6304ab50



Home | Main Index | Thread Index | Old Index