diff options
author | adam <adam@pkgsrc.org> | 2017-04-05 17:56:18 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-04-05 17:56:18 +0000 |
commit | 11770fd94b982236ecff7d4a4737cc0546d17080 (patch) | |
tree | a0dbcaaf91dd1598b69bc4b44c614197c8d64d0e | |
parent | 9ef5f875143f79a559ecaffaaa6e8d10e659640e (diff) | |
download | pkgsrc-11770fd94b982236ecff7d4a4737cc0546d17080.tar.gz |
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.
-rw-r--r-- | www/py-curl/Makefile | 11 | ||||
-rw-r--r-- | www/py-curl/PLIST | 74 | ||||
-rw-r--r-- | www/py-curl/distinfo | 12 | ||||
-rw-r--r-- | www/py-curl/patches/patch-setup.py (renamed from www/py-curl/patches/patch-aa) | 10 |
4 files changed, 32 insertions, 75 deletions
diff --git a/www/py-curl/Makefile b/www/py-curl/Makefile index 78dc83e7013..d16ff255e28 100644 --- a/www/py-curl/Makefile +++ b/www/py-curl/Makefile @@ -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 -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 --git a/www/py-curl/PLIST b/www/py-curl/PLIST index 3877a5def7a..526080e62ff 100644 --- a/www/py-curl/PLIST +++ b/www/py-curl/PLIST @@ -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}/COPYING-MIT 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 --git a/www/py-curl/distinfo b/www/py-curl/distinfo index a1552c4ed10..e7b6ba1245b 100644 --- a/www/py-curl/distinfo +++ b/www/py-curl/distinfo @@ -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 --git a/www/py-curl/patches/patch-aa b/www/py-curl/patches/patch-setup.py index 0335842fcb9..f500d1978c8 100644 --- a/www/py-curl/patches/patch-aa +++ b/www/py-curl/patches/patch-setup.py @@ -1,10 +1,10 @@ -$NetBSD: patch-aa,v 1.10 2014/04/23 10:32:55 adam Exp $ +$NetBSD: patch-setup.py,v 1.1 2017/04/05 17:56:18 adam Exp $ -* add multi python variant support +Add multi Python variant support. ---- setup.py.orig 2014-02-06 09:55:59.000000000 +0000 +--- setup.py.orig 2016-02-04 04:39:06.000000000 +0000 +++ setup.py -@@ -392,9 +392,9 @@ def get_data_files(): +@@ -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": @@ -15,4 +15,4 @@ $NetBSD: patch-aa,v 1.10 2014/04/23 10:32:55 adam Exp $ + datadir = os.path.join("share", "doc", PACKAGE + sys.version[0:3]) # files = ["AUTHORS", "ChangeLog", "COPYING-LGPL", "COPYING-MIT", - "INSTALL.rst", "README.rst"] + "INSTALL.rst", "README.rst", "RELEASE-NOTES.rst"] |