Mon Jul 3 20:56:04 2017 UTC ()
Add missing py-pretend test dependency.
Update upstream bug report URLs.


(wiz)
diff -r1.44 -r1.45 pkgsrc/security/py-OpenSSL/Makefile

cvs diff -r1.44 -r1.45 pkgsrc/security/py-OpenSSL/Makefile (expand / switch to unified diff)

--- pkgsrc/security/py-OpenSSL/Makefile 2017/07/03 20:25:05 1.44
+++ pkgsrc/security/py-OpenSSL/Makefile 2017/07/03 20:56:04 1.45
@@ -1,31 +1,31 @@ @@ -1,31 +1,31 @@
1# $NetBSD: Makefile,v 1.44 2017/07/03 20:25:05 adam Exp $ 1# $NetBSD: Makefile,v 1.45 2017/07/03 20:56:04 wiz Exp $
2 2
3DISTNAME= pyOpenSSL-17.1.0 3DISTNAME= pyOpenSSL-17.1.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5CATEGORIES= security python 5CATEGORIES= security python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyOpenSSL/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyOpenSSL/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/pyca/pyopenssl/ 9HOMEPAGE= https://github.com/pyca/pyopenssl/
10COMMENT= Python interface to the OpenSSL library 10COMMENT= Python interface to the OpenSSL library
11LICENSE= apache-2.0 11LICENSE= apache-2.0
12 12
13DEPENDS+= ${PYPKGPREFIX}-cryptography>=0.3:../../security/py-cryptography 13DEPENDS+= ${PYPKGPREFIX}-cryptography>=0.3:../../security/py-cryptography
14DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six 14DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
15# TEST_DEPENDS 15# TEST_DEPENDS
16BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 16BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 17BUILD_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
17 18
18.include "../../mk/bsd.prefs.mk" 19.include "../../mk/bsd.prefs.mk"
19.if ${OPSYS} == "Darwin" 20.if ${OPSYS} == "Darwin"
20do-test: 21do-test:
21 cd ${WRKSRC} && PYTHONPATH=src py.test-${PYVERSSUFFIX} -v -k "not test_verify_with_time and not test_set_default_verify_paths and not test_set_verify_callback_exception" 22 cd ${WRKSRC} && PYTHONPATH=src py.test-${PYVERSSUFFIX} -v -k "not test_verify_with_time and not test_set_default_verify_paths and not test_set_verify_callback_exception"
22.else 23.else
23# https://github.com/pyca/pyopenssl/issues/596 24# https://github.com/pyca/pyopenssl/issues/656
24# https://github.com/pyca/pyopenssl/issues/650 
25do-test: 25do-test:
26 cd ${WRKSRC} && PYTHONPATH=src py.test-${PYVERSSUFFIX} -v -k "not load_privatekey_passphrase_exception and not test_load_privatekey_wrongPassphraseCallback and not test_load_privatekey_passphraseCallback and not test_load_privatekey_passphrase_wrong_return_type and not test_load_privatekey_passphrase_callback_length and not test_dump_privatekey_passphrase_callback and not test_dump_privatekey_passphrase_exception and not test_dump_privatekey_passphraseCallbackLength and not test_set_passwd_cb and not test_passwd_callback_exception and not test_passwd_callback_false and not test_passwd_callback_non_string and not test_passwd_callback_too_long and not test_set_info_callback and not test_load_verify_bytes_cafile and not test_load_verify_unicode_cafile and not test_load_verify_directory_bytes_capath and not test_load_verify_directory_unicode_capath and not test_set_default_verify_paths and not test_set_verify_callback_connection_argument and not test_no_servername and not test_servername and not test_npn_success and not test_npn_client_fail and not test_npn_select_error and not test_npn_advertise_error and not test_alpn_success and not test_alpn_set_on_connection and not test_alpn_server_fail and not test_alpn_callback_exception and not test_get_peer_cert_chain and not test_memory_connect and not test_outgoing_overflow and not test_set_empty_ca_list and not test_set_one_ca_list and not test_set_multiple_ca_list and not test_reset_ca_list and not test_mutated_ca_list and not test_one_add_client and not test_multiple_add_client_ca and not test_set_and_add_client_ca and not test_set_after_add_client_ca and not test_client_negotiates_without_server and not test_client_receives_servers_data and not test_callbacks_are_invoked_with_connections and not test_opaque_data_is_passed_through and not test_server_returns_empty_string and not test_client_returns_false_terminates_handshake and not test_exceptions_in_client_bubble_up and not test_exceptions_in_server_bubble_up and not test_server_must_return_bytes" 26 cd ${WRKSRC} && PYTHONPATH=src py.test-${PYVERSSUFFIX} -v
27.endif 27.endif
28 28
29.include "../../lang/python/egg.mk" 29.include "../../lang/python/egg.mk"
30.include "../../security/openssl/buildlink3.mk" 30.include "../../security/openssl/buildlink3.mk"
31.include "../../mk/bsd.pkg.mk" 31.include "../../mk/bsd.pkg.mk"