[gentoo-commits] repo/gentoo:master commit in: dev-python/pynacl/files/

2020-08-12 Thread Louis Sautier
commit: 463a93f1e84e5975aefdf60074b599680ea45a39
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Aug 12 18:45:14 2020 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Wed Aug 12 22:43:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=463a93f1

dev-python/pynacl: remove unused patch(es)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17103
Signed-off-by: Louis Sautier  gentoo.org>

 .../pynacl/files/pynacl-1.3.0-hypothesis-4.patch   | 29 --
 1 file changed, 29 deletions(-)

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
deleted file mode 100644
index 9b7a5a905d4..000
--- a/dev-python/pynacl/files/pynacl-1.3.0-hypothesis-4.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-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)



[gentoo-commits] repo/gentoo:master commit in: dev-python/pynacl/files/, dev-python/pynacl/

2019-12-03 Thread Aaron Bauman
commit: c902106e6752c0dad27fb1760c2d78ee03f7ead5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Dec  3 23:17:45 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Dec  4 00:51:29 2019 +
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 000..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