pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-curl PycURL 7.43.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/514df5898744
branches:  trunk
changeset: 360733:514df5898744
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 05 17:56:18 2017 +0000

description:
PycURL 7.43.0:

Highlights of this release:

1. Binary wheels are now built for Windows systems.

2. setopt_string method added to Curl objects to permit setting string libcurl
   options that PycURL does not know about.

3. curl module can now be imported on Windows again.

4. OPENSOCKETFUNCTION callback is now invoked with the address as bytes on
   Python 3 as was documented.

5. Support for many libcurl options and constants was added.

diffstat:

 www/py-curl/Makefile               |  11 ++---
 www/py-curl/PLIST                  |  74 ++++++++-----------------------------
 www/py-curl/distinfo               |  12 +++---
 www/py-curl/patches/patch-aa       |  18 ---------
 www/py-curl/patches/patch-setup.py |  18 +++++++++
 5 files changed, 45 insertions(+), 88 deletions(-)

diffs (182 lines):

diff -r d93769b29e31 -r 514df5898744 www/py-curl/Makefile
--- a/www/py-curl/Makefile      Wed Apr 05 17:38:25 2017 +0000
+++ b/www/py-curl/Makefile      Wed Apr 05 17:56:18 2017 +0000
@@ -1,17 +1,16 @@
-# $NetBSD: Makefile,v 1.52 2017/01/01 16:06:39 adam Exp $
+# $NetBSD: Makefile,v 1.53 2017/04/05 17:56:18 adam Exp $
 
-DISTNAME=      pycurl-7.19.3.1
+DISTNAME=      pycurl-7.43.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   3
 CATEGORIES=    www python
-MASTER_SITES=  http://pycurl.sourceforge.net/download/
+MASTER_SITES=  http://dl.bintray.com/pycurl/pycurl/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://pycurl.sourceforge.net/
+HOMEPAGE=      http://pycurl.io/
 COMMENT=       Python module interface to the cURL library
 LICENSE=       gnu-lgpl-v2.1 OR mit
 
-PYSETUPARGS=   --with-ssl
+PYSETUPARGS=   --with-openssl
 
 BUILDLINK_API_DEPENDS.curl+=   curl>=7.19.0
 .include "../../www/curl/buildlink3.mk"
diff -r d93769b29e31 -r 514df5898744 www/py-curl/PLIST
--- a/www/py-curl/PLIST Wed Apr 05 17:38:25 2017 +0000
+++ b/www/py-curl/PLIST Wed Apr 05 17:56:18 2017 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.12 2014/04/23 10:32:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2017/04/05 17:56:18 adam Exp $
+${PYSITELIB}/${EGG_FILE}
 ${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
@@ -10,66 +10,24 @@
 share/doc/pycurl${PYVERSSUFFIX}/ChangeLog
 share/doc/pycurl${PYVERSSUFFIX}/INSTALL.rst
 share/doc/pycurl${PYVERSSUFFIX}/README.rst
+share/doc/pycurl${PYVERSSUFFIX}/RELEASE-NOTES.rst
 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/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
+share/doc/pycurl${PYVERSSUFFIX}/examples/quickstart/follow_redirect.py
+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_python3.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
 share/doc/pycurl${PYVERSSUFFIX}/examples/retriever-multi.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/retriever.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/sfquery.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/smtp.py
+share/doc/pycurl${PYVERSSUFFIX}/examples/ssh_keyfunction.py
 share/doc/pycurl${PYVERSSUFFIX}/examples/xmlrpc_curl.py
-share/doc/pycurl${PYVERSSUFFIX}/rst/callbacks.rst
-share/doc/pycurl${PYVERSSUFFIX}/rst/curlmultiobject.rst
-share/doc/pycurl${PYVERSSUFFIX}/rst/curlobject.rst
-share/doc/pycurl${PYVERSSUFFIX}/rst/curlshareobject.rst
-share/doc/pycurl${PYVERSSUFFIX}/rst/files.rst
-share/doc/pycurl${PYVERSSUFFIX}/rst/internals.rst
-share/doc/pycurl${PYVERSSUFFIX}/rst/pycurl.rst
-share/doc/pycurl${PYVERSSUFFIX}/rst/release-process.rst
-share/doc/pycurl${PYVERSSUFFIX}/rst/unicode.rst
-share/doc/pycurl${PYVERSSUFFIX}/tests/__init__.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/app.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/appmanager.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/certinfo_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/debug_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/default_write_function_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/easy_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/error_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/ftp_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/functools_backport.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/getinfo_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/global_init_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/header_function_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/header_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/internals_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/matrix.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/memory_mgmt_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/multi_option_constants_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/multi_socket_select_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/multi_socket_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/multi_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/multi_timer_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/option_constants_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/pause_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/post_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/procmgr.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/pycurl_object_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/read_callback_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/relative_url_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/reset_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/resolve_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/runwsgi.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/seek_function_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/setopt_lifecycle_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/setopt_unicode_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/setup_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/share_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/socket_open_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/unset_range_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/user_agent_string_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/util.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/version_comparison_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/version_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/write_abort_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/write_cb_bogus_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/write_to_file_test.py
-share/doc/pycurl${PYVERSSUFFIX}/tests/write_to_stringio_test.py
diff -r d93769b29e31 -r 514df5898744 www/py-curl/distinfo
--- a/www/py-curl/distinfo      Wed Apr 05 17:38:25 2017 +0000
+++ b/www/py-curl/distinfo      Wed Apr 05 17:56:18 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.20 2015/11/04 02:47:24 agc Exp $
+$NetBSD: distinfo,v 1.21 2017/04/05 17:56:18 adam Exp $
 
-SHA1 (pycurl-7.19.3.1.tar.gz) = fd82722e2abc108b7bd469ab6a743cebe8cd8f78
-RMD160 (pycurl-7.19.3.1.tar.gz) = 091e66521b942dbf25afac952776cdecc3649142
-SHA512 (pycurl-7.19.3.1.tar.gz) = 65ccb07638c663bc2a723664f1ade50f08eafa70bbcdc492cc99362a91873f453b63336a6b393d9f6591308f1450dadc64ce729b29990f37b170dda0eae0b23f
-Size (pycurl-7.19.3.1.tar.gz) = 116687 bytes
-SHA1 (patch-aa) = 0c237e7b8e01ff9398c26765976f0c36e19cc5d2
+SHA1 (pycurl-7.43.0.tar.gz) = e8e9c7e9ae91ae32096b8c86cfc7d49976a66d1b
+RMD160 (pycurl-7.43.0.tar.gz) = 887605e420279d92862187e7f989fb032c3e08ed
+SHA512 (pycurl-7.43.0.tar.gz) = 7442462c74c19964b9d72976e9b92bf68bb37debc1401bc399590bea42704065da13d6de710e795eeae79a4651b9a08841d50454243cb0994c7eb1c1bab233a5
+Size (pycurl-7.43.0.tar.gz) = 182522 bytes
+SHA1 (patch-setup.py) = 41722b45efbbc3e3b65f88354b647b4c6304ab50
diff -r d93769b29e31 -r 514df5898744 www/py-curl/patches/patch-aa
--- a/www/py-curl/patches/patch-aa      Wed Apr 05 17:38:25 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-aa,v 1.10 2014/04/23 10:32:55 adam Exp $
-
-* add multi python variant support
-
---- setup.py.orig      2014-02-06 09:55:59.000000000 +0000
-+++ setup.py
-@@ -392,9 +392,9 @@ def get_data_files():
-     # a list of tuples with (path to install to, a list of local files)
-     data_files = []
-     if sys.platform == "win32":
--        datadir = os.path.join("doc", PACKAGE)
-+        datadir = os.path.join("doc", PACKAGE + sys.version[0:3])
-     else:
--        datadir = os.path.join("share", "doc", PACKAGE)
-+        datadir = os.path.join("share", "doc", PACKAGE  + sys.version[0:3])
-     #
-     files = ["AUTHORS", "ChangeLog", "COPYING-LGPL", "COPYING-MIT",
-         "INSTALL.rst", "README.rst"]
diff -r d93769b29e31 -r 514df5898744 www/py-curl/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-curl/patches/patch-setup.py        Wed Apr 05 17:56:18 2017 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-setup.py,v 1.1 2017/04/05 17:56:18 adam Exp $
+
+Add multi Python variant support.
+
+--- setup.py.orig      2016-02-04 04:39:06.000000000 +0000
++++ setup.py
+@@ -520,9 +520,9 @@ def get_data_files():
+     # a list of tuples with (path to install to, a list of local files)
+     data_files = []
+     if sys.platform == "win32":
+-        datadir = os.path.join("doc", PACKAGE)
++        datadir = os.path.join("doc", PACKAGE + sys.version[0:3])
+     else:
+-        datadir = os.path.join("share", "doc", PACKAGE)
++        datadir = os.path.join("share", "doc", PACKAGE  + sys.version[0:3])
+     #
+     files = ["AUTHORS", "ChangeLog", "COPYING-LGPL", "COPYING-MIT",
+         "INSTALL.rst", "README.rst", "RELEASE-NOTES.rst"]



Home | Main Index | Thread Index | Old Index