From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 79D43138334 for ; Wed, 4 Dec 2019 00:51:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD368E083D; Wed, 4 Dec 2019 00:51:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9FE5CE083D for ; Wed, 4 Dec 2019 00:51:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6330634D789 for ; Wed, 4 Dec 2019 00:51:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA9767FE for ; Wed, 4 Dec 2019 00:51:46 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1575420689.c902106e6752c0dad27fb1760c2d78ee03f7ead5.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pynacl/files/, dev-python/pynacl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pynacl/files/pynacl-1.3.0-hypothesis-4.patch dev-python/pynacl/pynacl-1.3.0.ebuild X-VCS-Directories: dev-python/pynacl/files/ dev-python/pynacl/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: c902106e6752c0dad27fb1760c2d78ee03f7ead5 X-VCS-Branch: master Date: Wed, 4 Dec 2019 00:51:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e0cfab02-b511-4816-bfa2-8285b4cb9de1 X-Archives-Hash: d2d2151190d349ea62db3c4089e3a506 commit: c902106e6752c0dad27fb1760c2d78ee03f7ead5 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Dec 3 23:17:45 2019 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Wed Dec 4 00:51:29 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c902106e dev-python/pynacl: Fix tests with >=dev-python/hypothesis-4.0.0 Closes: https://bugs.gentoo.org/701936 Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Andreas Sturmlechner gentoo.org> Signed-off-by: Aaron Bauman gentoo.org> .../pynacl/files/pynacl-1.3.0-hypothesis-4.patch | 29 ++++++++++++++++++++++ dev-python/pynacl/pynacl-1.3.0.ebuild | 2 ++ 2 files changed, 31 insertions(+) diff --git a/dev-python/pynacl/files/pynacl-1.3.0-hypothesis-4.patch b/dev-python/pynacl/files/pynacl-1.3.0-hypothesis-4.patch new file mode 100644 index 00000000000..9b7a5a905d4 --- /dev/null +++ b/dev-python/pynacl/files/pynacl-1.3.0-hypothesis-4.patch @@ -0,0 +1,29 @@ +From af2d8c241872318baba42d7f5fbfb1869de91baa Mon Sep 17 00:00:00 2001 +From: Valentin Heidelberger +Date: Thu, 27 Sep 2018 22:36:34 +0200 +Subject: [PATCH] Remove average_size hypothesis setting from test_bindings.py + +--- + tests/test_bindings.py | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/tests/test_bindings.py b/tests/test_bindings.py +index 22930cc7..d7951a21 100644 +--- a/tests/test_bindings.py ++++ b/tests/test_bindings.py +@@ -306,7 +306,6 @@ def test_unpad_not_padded(): + + + @given(binary(min_size=0, +- average_size=128, + max_size=2049), + integers(min_value=16, + max_value=256) +@@ -320,7 +319,6 @@ def test_pad_sizes(msg, bl_sz): + + + @given(binary(min_size=0, +- average_size=128, + max_size=2049), + integers(min_value=16, + max_value=256) diff --git a/dev-python/pynacl/pynacl-1.3.0.ebuild b/dev-python/pynacl/pynacl-1.3.0.ebuild index ce1ea9dec3e..391ddc75589 100644 --- a/dev-python/pynacl/pynacl-1.3.0.ebuild +++ b/dev-python/pynacl/pynacl-1.3.0.ebuild @@ -27,6 +27,8 @@ DEPEND="${RDEPEND} >=dev-python/pytest-3.2.1[${PYTHON_USEDEP}] ) " +PATCHES=( "${FILESDIR}/${P}-hypothesis-4.patch" ) + src_prepare() { # For not using the bundled libsodium export SODIUM_INSTALL=system