Update py-curl to 7.19.0. (change to register distutils egg-info) Version 7.19.0 [requires libcurl-7.19.0 or better] -------------- * Added CURLFILE, ADDRESS_SCOPE and ISSUERCERT options, as well as the APPCONNECT_TIME info. * Added PRIMARY_IP info (patch by Yuhui H <eyecat at gmail.com>). * Added support for curl_easy_reset through a new 'reset' method on curl objects (patch by Nick Pilon <npilon at oreilly.com>). * Added support for OPENSOCKET callbacks. See 'tests/test_opensocket.py' for example usage (patch by Thomas Hunger <teh at camvine.com>). Version 7.18.2 -------------- * Added REDIRECT_URL info and M_MAXCONNECTS option (patch by Yuhui H <eyecat at gmail.com>). * Added socket_action() method to CurlMulti objects. See 'tests/test_multi_socket_select.py' for example usage (patch by Yuhui H <eyecat at gmail.com>). * Added AUTOREFERER option. * Allow resetting some list operations (HTTPHEADER, QUOTE, POSTQUOTE, PREQUOTE) by passing an empty list to setopt (patch by Jim Patterson). Version 7.18.1 -------------- * Added POST301, SSH_HOST_PUBLIC_KEY_MD5, COPYPOSTFIELDS and PROXY_TRANSFER_MODE options. * Check for static libs in setup.py to better detect whether libcurl was linked with OpenSSL or GNUTLS. * PycURL is now dual licensed under the LGPL and a license similar to the cURL license (an MIT/X derivative).diff -r1.40 -r1.41 pkgsrc/www/py-curl/Makefile
(obache)
@@ -1,22 +1,21 @@ | @@ -1,22 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.40 2011/04/22 13:45:00 obache Exp $ | 1 | # $NetBSD: Makefile,v 1.41 2012/01/25 13:19:57 obache Exp $ | |
2 | 2 | |||
3 | DISTNAME= pycurl-7.16.4 | 3 | DISTNAME= pycurl-7.19.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | |
5 | PKGREVISION= 3 | |||
6 | CATEGORIES= www python | 5 | CATEGORIES= www python | |
7 | MASTER_SITES= http://pycurl.sourceforge.net/download/ | 6 | MASTER_SITES= http://pycurl.sourceforge.net/download/ | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://pycurl.sourceforge.net/ | 9 | HOMEPAGE= http://pycurl.sourceforge.net/ | |
11 | COMMENT= Python module interface to the cURL library | 10 | COMMENT= Python module interface to the cURL library | |
11 | LICENSE= gnu-lgpl-v2.1 OR mit | |||
12 | 12 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 14 | |||
15 | PYDISTUTILSPKG= # defined | |||
16 | PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q} | 15 | PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q} | |
17 | 16 | |||
18 | BUILDLINK_API_DEPENDS.curl+= curl>=7.16.1 | 17 | BUILDLINK_API_DEPENDS.curl+= curl>=7.19.0 | |
19 | 18 | |||
20 | .include "../../www/curl/buildlink3.mk" | 19 | .include "../../www/curl/buildlink3.mk" | |
21 | .include "../../lang/python/extension.mk" | 20 | .include "../../lang/python/distutils.mk" | |
22 | .include "../../mk/bsd.pkg.mk" | 21 | .include "../../mk/bsd.pkg.mk" |
@@ -1,19 +1,21 @@ | @@ -1,19 +1,21 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.8 2009/06/14 22:00:31 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.9 2012/01/25 13:19:57 obache Exp $ | |
2 | ${PYSITELIB}/curl/__init__.py | 2 | ${PYSITELIB}/curl/__init__.py | |
3 | ${PYSITELIB}/curl/__init__.pyc | 3 | ${PYSITELIB}/curl/__init__.pyc | |
4 | ${PYSITELIB}/curl/__init__.pyo | 4 | ${PYSITELIB}/curl/__init__.pyo | |
5 | ${PLIST.eggfile}${PYSITELIB}/${EGG_FILE} | |||
5 | ${PYSITELIB}/pycurl.so | 6 | ${PYSITELIB}/pycurl.so | |
6 | share/doc/pycurl${PYVERSSUFFIX}/COPYING | 7 | share/doc/pycurl${PYVERSSUFFIX}/COPYING | |
8 | share/doc/pycurl${PYVERSSUFFIX}/COPYING2 | |||
7 | share/doc/pycurl${PYVERSSUFFIX}/ChangeLog | 9 | share/doc/pycurl${PYVERSSUFFIX}/ChangeLog | |
8 | share/doc/pycurl${PYVERSSUFFIX}/INSTALL | 10 | share/doc/pycurl${PYVERSSUFFIX}/INSTALL | |
9 | share/doc/pycurl${PYVERSSUFFIX}/README | 11 | share/doc/pycurl${PYVERSSUFFIX}/README | |
10 | share/doc/pycurl${PYVERSSUFFIX}/TODO | 12 | share/doc/pycurl${PYVERSSUFFIX}/TODO | |
11 | share/doc/pycurl${PYVERSSUFFIX}/examples/basicfirst.py | 13 | share/doc/pycurl${PYVERSSUFFIX}/examples/basicfirst.py | |
12 | share/doc/pycurl${PYVERSSUFFIX}/examples/file_upload.py | 14 | share/doc/pycurl${PYVERSSUFFIX}/examples/file_upload.py | |
13 | share/doc/pycurl${PYVERSSUFFIX}/examples/linksys.py | 15 | share/doc/pycurl${PYVERSSUFFIX}/examples/linksys.py | |
14 | share/doc/pycurl${PYVERSSUFFIX}/examples/retriever-multi.py | 16 | share/doc/pycurl${PYVERSSUFFIX}/examples/retriever-multi.py | |
15 | share/doc/pycurl${PYVERSSUFFIX}/examples/retriever.py | 17 | share/doc/pycurl${PYVERSSUFFIX}/examples/retriever.py | |
16 | share/doc/pycurl${PYVERSSUFFIX}/examples/sfquery.py | 18 | share/doc/pycurl${PYVERSSUFFIX}/examples/sfquery.py | |
17 | share/doc/pycurl${PYVERSSUFFIX}/examples/xmlrpc_curl.py | 19 | share/doc/pycurl${PYVERSSUFFIX}/examples/xmlrpc_curl.py | |
18 | share/doc/pycurl${PYVERSSUFFIX}/html/callbacks.html | 20 | share/doc/pycurl${PYVERSSUFFIX}/html/callbacks.html | |
19 | share/doc/pycurl${PYVERSSUFFIX}/html/curlmultiobject.html | 21 | share/doc/pycurl${PYVERSSUFFIX}/html/curlmultiobject.html | |
@@ -25,22 +27,24 @@ share/doc/pycurl${PYVERSSUFFIX}/tests/te | @@ -25,22 +27,24 @@ share/doc/pycurl${PYVERSSUFFIX}/tests/te | |||
25 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_debug.py | 27 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_debug.py | |
26 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_ftp.py | 28 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_ftp.py | |
27 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_getinfo.py | 29 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_getinfo.py | |
28 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_gtk.py | 30 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_gtk.py | |
29 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_internals.py | 31 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_internals.py | |
30 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_memleak.py | 32 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_memleak.py | |
31 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi.py | 33 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi.py | |
32 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi2.py | 34 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi2.py | |
33 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi3.py | 35 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi3.py | |
34 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi4.py | 36 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi4.py | |
35 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi5.py | 37 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi5.py | |
36 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi6.py | 38 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi6.py | |
37 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi_socket.py | 39 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi_socket.py | |
40 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi_socket_select.py | |||
38 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi_timer.py | 41 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi_timer.py | |
39 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi_vs_thread.py | 42 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_multi_vs_thread.py | |
40 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_post.py | 43 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_post.py | |
41 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_post2.py | 44 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_post2.py | |
42 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_post3.py | 45 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_post3.py | |
43 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_share.py | 46 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_share.py | |
47 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_socketopen.py | |||
44 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_stringio.py | 48 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_stringio.py | |
45 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_xmlrpc.py | 49 | share/doc/pycurl${PYVERSSUFFIX}/tests/test_xmlrpc.py | |
46 | share/doc/pycurl${PYVERSSUFFIX}/tests/util.py | 50 | share/doc/pycurl${PYVERSSUFFIX}/tests/util.py |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.15 2007/07/20 12:24:00 drochner Exp $ | 1 | $NetBSD: distinfo,v 1.16 2012/01/25 13:19:57 obache Exp $ | |
2 | 2 | |||
3 | SHA1 (pycurl-7.16.4.tar.gz) = a06ae60030cf27953f75c4a0cd4316a12765b22f | 3 | SHA1 (pycurl-7.19.0.tar.gz) = 3fb59eca1461331bb9e9e8d6fe3b23eda961a416 | |
4 | RMD160 (pycurl-7.16.4.tar.gz) = bc4e7f3471a0ff20e46dd0b2566e4942dccf839d | 4 | RMD160 (pycurl-7.19.0.tar.gz) = dab547b3db67ed30cafb556a1a383f567064de49 | |
5 | Size (pycurl-7.16.4.tar.gz) = 68849 bytes | 5 | Size (pycurl-7.19.0.tar.gz) = 71346 bytes | |
6 | SHA1 (patch-aa) = e1764035363c0c35f36e7a1c85c837de771ccf28 | 6 | SHA1 (patch-aa) = 2635d59e4d8aee29abb6797ffb4b46260f94be72 |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | $NetBSD: patch-aa,v 1.6 2007/03/22 22:24:08 recht Exp $ | 1 | $NetBSD: patch-aa,v 1.7 2012/01/25 13:19:57 obache Exp $ | |
2 | 2 | |||
3 | --- setup.py.orig 2007-03-04 20:26:59.000000000 +0100 | 3 | --- setup.py.orig 2008-09-09 17:40:34.000000000 +0000 | |
4 | +++ setup.py 2007-03-22 23:13:42.000000000 +0100 | 4 | +++ setup.py | |
5 | @@ -146,9 +146,9 @@ | 5 | @@ -149,9 +149,9 @@ def get_data_files(): | |
6 | # a list of tuples with (path to install to, a list of local files) | 6 | # a list of tuples with (path to install to, a list of local files) | |
7 | data_files = [] | 7 | data_files = [] | |
8 | if sys.platform == "win32": | 8 | if sys.platform == "win32": | |
9 | - datadir = os.path.join("doc", PACKAGE) | 9 | - datadir = os.path.join("doc", PACKAGE) | |
10 | + datadir = os.path.join("doc", PACKAGE + sys.version[0:3]) | 10 | + datadir = os.path.join("doc", PACKAGE + sys.version[0:3]) | |
11 | else: | 11 | else: | |
12 | - datadir = os.path.join("share", "doc", PACKAGE) | 12 | - datadir = os.path.join("share", "doc", PACKAGE) | |
13 | + datadir = os.path.join("share", "doc", PACKAGE + sys.version[0:3]) | 13 | + datadir = os.path.join("share", "doc", PACKAGE + sys.version[0:3]) | |
14 | # | 14 | # | |
15 | files = ["ChangeLog", "COPYING", "INSTALL", "README", "TODO",] | 15 | files = ["ChangeLog", "COPYING", "COPYING2", "INSTALL", "README", "TODO",] | |
16 | if files: | 16 | if files: |