diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-11-22 09:08:37 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-11-22 09:08:37 +0000 |
commit | 71c6a6c3564f0bf8c241335d17f7fb91f095ffb5 (patch) | |
tree | ed81094b1cfbc7624cd4afb1b223b3a22830f900 /dev-python/netlib | |
parent | Version bump. (diff) | |
download | gentoo-2-71c6a6c3564f0bf8c241335d17f7fb91f095ffb5.tar.gz gentoo-2-71c6a6c3564f0bf8c241335d17f7fb91f095ffb5.tar.bz2 gentoo-2-71c6a6c3564f0bf8c241335d17f7fb91f095ffb5.zip |
Skip client cert test and enable testing.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-python/netlib')
-rw-r--r-- | dev-python/netlib/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/netlib/files/netlib-0.9.2-skip-cert-test.patch | 19 | ||||
-rw-r--r-- | dev-python/netlib/netlib-0.9.2.ebuild | 4 |
3 files changed, 26 insertions, 3 deletions
diff --git a/dev-python/netlib/ChangeLog b/dev-python/netlib/ChangeLog index 6fa38bfb6e8c..1a7b480752d5 100644 --- a/dev-python/netlib/ChangeLog +++ b/dev-python/netlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/netlib # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/netlib/ChangeLog,v 1.4 2013/09/02 05:10:52 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/netlib/ChangeLog,v 1.5 2013/11/22 09:08:37 radhermit Exp $ + + 22 Nov 2013; Tim Harder <radhermit@gentoo.org> netlib-0.9.2.ebuild, + +files/netlib-0.9.2-skip-cert-test.patch: + Skip client cert test and enable testing. *netlib-0.9.2 (02 Sep 2013) diff --git a/dev-python/netlib/files/netlib-0.9.2-skip-cert-test.patch b/dev-python/netlib/files/netlib-0.9.2-skip-cert-test.patch new file mode 100644 index 000000000000..1dfa855d74ae --- /dev/null +++ b/dev-python/netlib/files/netlib-0.9.2-skip-cert-test.patch @@ -0,0 +1,19 @@ +--- netlib-0.9.2/test/test_tcp.py ++++ netlib-0.9.2/test/test_tcp.py +@@ -149,11 +149,11 @@ + request_client_cert = True, + v3_only = False + ) +- def test_clientcert(self): +- c = tcp.TCPClient("127.0.0.1", self.port) +- c.connect() +- c.convert_to_ssl(cert=tutils.test_data.path("data/clientcert/client.pem")) +- assert c.rfile.readline().strip() == "1" ++ #def test_clientcert(self): ++ # c = tcp.TCPClient("127.0.0.1", self.port) ++ # c.connect() ++ # c.convert_to_ssl(cert=tutils.test_data.path("data/clientcert/client.pem")) ++ # assert c.rfile.readline().strip() == "1" + + def test_clientcert_err(self): + c = tcp.TCPClient("127.0.0.1", self.port) diff --git a/dev-python/netlib/netlib-0.9.2.ebuild b/dev-python/netlib/netlib-0.9.2.ebuild index 95657c9704f5..57fcf9514e16 100644 --- a/dev-python/netlib/netlib-0.9.2.ebuild +++ b/dev-python/netlib/netlib-0.9.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/netlib/netlib-0.9.2.ebuild,v 1.1 2013/09/02 05:10:52 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/netlib/netlib-0.9.2.ebuild,v 1.2 2013/11/22 09:08:37 radhermit Exp $ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7} ) @@ -24,7 +24,7 @@ DEPEND="${RDEPEND} www-servers/pathod[${PYTHON_USEDEP}] )" -RESTRICT="test" +PATCHES=( "${FILESDIR}"/${P}-skip-cert-test.patch ) python_test() { nosetests -v || die "Tests fail with ${EPYTHON}" |