commit python-PyNaCl for openSUSE:Factory

2020-07-15 Thread root
Hello community,

here is the log from the commit of package python-PyNaCl for openSUSE:Factory 
checked in at 2020-07-15 12:01:41

Comparing /work/SRC/openSUSE:Factory/python-PyNaCl (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyNaCl.new.3060 (New)


Package is "python-PyNaCl"

Wed Jul 15 12:01:41 2020 rev:8 rq:819131 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-PyNaCl/python-PyNaCl.changes  
2020-04-19 21:50:04.260153145 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyNaCl.new.3060/python-PyNaCl.changes
2020-07-15 12:02:02.019957975 +0200
@@ -1,0 +2,28 @@
+Sun Jul  5 14:42:24 UTC 2020 - Michael Ströder 
+
+- Update to 1.4.0
+  * Update ``libsodium`` to 1.0.18.
+  * **BACKWARDS INCOMPATIBLE:** We no longer distribute 32-bit ``manylinux1``
+wheels. Continuing to produce them was a maintenance burden.
+  * Added support for Python 3.8, and removed support for Python 3.4.
+  * Add low level bindings for extracting the seed and the public key
+from crypto_sign_ed25519 secret key
+  * Add low level bindings for deterministic random generation.
+  * Add ``wheel`` and ``setuptools`` setup_requirements in ``setup.py`` (#485)
+  * Fix checks on very slow builders (#481, #495)
+  * Add low-level bindings to ed25519 arithmetic functions
+  * Update low-level blake2b state implementation
+  * Fix wrong short-input behavior of SealedBox.decrypt() (#517)
+  * Raise CryptPrefixError exception instead of InvalidkeyError when trying
+to check a password against a verifier stored in a unknown format (#519)
+  * Add support for minimal builds of libsodium. Trying to call functions
+not available in a minimal build will raise an UnavailableError
+exception. To compile a minimal build of the bundled libsodium, set
+the SODIUM_INSTALL_MINIMAL environment variable to any non-empty
+string (e.g. ``SODIUM_INSTALL_MINIMAL=1``) for setup.
+- removed obsolete back-port patch:
+  * fix_tests.patch
+  * hypothesis-no-unilmited.patch
+  * python-PyNaCl-hypothesis-remove-average_size.patch
+
+---

Old:

  PyNaCl-1.3.0.tar.gz
  fix_tests.patch
  hypothesis-no-unilmited.patch
  python-PyNaCl-hypothesis-remove-average_size.patch

New:

  PyNaCl-1.4.0.tar.gz



Other differences:
--
++ python-PyNaCl.spec ++
--- /var/tmp/diff_new_pack.4uyxER/_old  2020-07-15 12:02:04.651960879 +0200
+++ /var/tmp/diff_new_pack.4uyxER/_new  2020-07-15 12:02:04.655960884 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyNaCl
-Version:1.3.0
+Version:1.4.0
 Release:0
 Summary:Python binding to the Networking and Cryptography (NaCl) 
library
 License:Apache-2.0
@@ -26,13 +26,11 @@
 URL:https://github.com/pyca/pynacl/
 Source: 
https://pypi.org/packages/source/P/PyNaCl/PyNaCl-%{version}.tar.gz
 # 
https://github.com/pyca/pynacl/commit/a8c08b18f3a2e8f2140c531afaf42715fcab68e7
-Patch0: python-PyNaCl-hypothesis-remove-average_size.patch
-Patch1: fix_tests.patch
-Patch2: hypothesis-no-unilmited.patch
 BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pycparser}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
@@ -52,7 +50,6 @@
 
 %prep
 %setup -q -n PyNaCl-%{version}
-%autopatch -p1
 rm -Rf src/libsodium
 
 %build

++ PyNaCl-1.3.0.tar.gz -> PyNaCl-1.4.0.tar.gz ++
 34613 lines of diff (skipped)




commit python-PyNaCl for openSUSE:Factory

2020-04-19 Thread root
Hello community,

here is the log from the commit of package python-PyNaCl for openSUSE:Factory 
checked in at 2020-04-19 21:50:01

Comparing /work/SRC/openSUSE:Factory/python-PyNaCl (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyNaCl.new.2738 (New)


Package is "python-PyNaCl"

Sun Apr 19 21:50:01 2020 rev:7 rq:794783 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-PyNaCl/python-PyNaCl.changes  
2019-09-30 15:56:26.709688275 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyNaCl.new.2738/python-PyNaCl.changes
2020-04-19 21:50:04.260153145 +0200
@@ -1,0 +2,6 @@
+Fri Apr 17 06:48:28 UTC 2020 - Tomáš Chvátal 
+
+- Fix tests with latest hypothesis:
+  * hypothesis-no-unilmited.patch
+
+---

New:

  hypothesis-no-unilmited.patch



Other differences:
--
++ python-PyNaCl.spec ++
--- /var/tmp/diff_new_pack.XVywkN/_old  2020-04-19 21:50:05.592155817 +0200
+++ /var/tmp/diff_new_pack.XVywkN/_new  2020-04-19 21:50:05.596155825 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyNaCl
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@
 # 
https://github.com/pyca/pynacl/commit/a8c08b18f3a2e8f2140c531afaf42715fcab68e7
 Patch0: python-PyNaCl-hypothesis-remove-average_size.patch
 Patch1: fix_tests.patch
+Patch2: hypothesis-no-unilmited.patch
 BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pycparser}

++ hypothesis-no-unilmited.patch ++
>From d28395dafd1b87f377299a8646551a454759e161 Mon Sep 17 00:00:00 2001
From: Alex Gaynor 
Date: Sun, 12 Jan 2020 21:41:03 -0600
Subject: [PATCH] Fix the tests (#572)

* Fix the tests

* for azure
---
 tests/test_aead.py   |  4 ++--
 tests/test_pwhash.py | 10 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/test_aead.py b/tests/test_aead.py
index 1fa32a2b..d5c58d56 100644
--- a/tests/test_aead.py
+++ b/tests/test_aead.py
@@ -18,7 +18,7 @@
 import sys
 from collections import namedtuple
 
-from hypothesis import given, settings, unlimited
+from hypothesis import given, settings
 from hypothesis.strategies import binary, sampled_from
 
 import pytest
@@ -97,7 +97,7 @@ def test_chacha20poly1305_variants_kat(kv):
   max_size=b.crypto_aead_xchacha20poly1305_ietf_NPUBBYTES),
binary(min_size=b.crypto_aead_chacha20poly1305_KEYBYTES,
   max_size=b.crypto_aead_chacha20poly1305_KEYBYTES))
-@settings(deadline=None, max_examples=20, timeout=unlimited)
+@settings(deadline=None, max_examples=20)
 def test_chacha20poly1305_variants_roundtrip(construction,
  message,
  aad,
diff --git a/tests/test_pwhash.py b/tests/test_pwhash.py
index ac603665..9e53966b 100644
--- a/tests/test_pwhash.py
+++ b/tests/test_pwhash.py
@@ -20,7 +20,7 @@
 import sys
 import unicodedata as ud
 
-from hypothesis import given, settings, unlimited
+from hypothesis import given, settings
 from hypothesis.strategies import integers, text
 
 import pytest
@@ -410,7 +410,7 @@ def test_str_verify_argon2_ref_fail(password_hash, 
password):
integers(min_value=1024 * 1024,
 max_value=16 * 1024 * 1024)
)
-@settings(deadline=None, max_examples=20, timeout=unlimited)
+@settings(deadline=None, max_examples=20)
 def test_argon2i_str_and_verify(password, ops, mem):
 _psw = password.encode('utf-8')
 pw_hash = nacl.pwhash.argon2i.str(_psw, opslimit=ops, memlimit=mem)
@@ -424,7 +424,7 @@ def test_argon2i_str_and_verify(password, ops, mem):
integers(min_value=1024 * 1024,
 max_value=16 * 1024 * 1024)
)
-@settings(deadline=None, max_examples=20, timeout=unlimited)
+@settings(deadline=None, max_examples=20)
 def test_argon2id_str_and_verify(password, ops, mem):
 _psw = password.encode('utf-8')
 pw_hash = nacl.pwhash.argon2id.str(_psw, opslimit=ops, memlimit=mem)
@@ -438,7 +438,7 @@ def test_argon2id_str_and_verify(password, ops, mem):
integers(min_value=1024 * 1024,
 max_value=16 * 1024 * 1024)
)
-@settings(deadline=None, max_examples=20, timeout=unlimited)
+@settings(deadline=None, max_examples=20)
 def test_argon2i_str_and_verify_fail(password, ops, mem):
 _psw = password.encode('utf-8')
 pw_hash = nacl.pwhash.argon2i.str(_psw, opslimit=ops, memlimit=mem)
@@ -447,7 +447,7 @@ def test_argon2i_str_and_verify_fail(password, ops, mem):
 
 
 

commit python-PyNaCl for openSUSE:Factory

2019-09-30 Thread root
Hello community,

here is the log from the commit of package python-PyNaCl for openSUSE:Factory 
checked in at 2019-09-30 15:56:24

Comparing /work/SRC/openSUSE:Factory/python-PyNaCl (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyNaCl.new.2352 (New)


Package is "python-PyNaCl"

Mon Sep 30 15:56:24 2019 rev:6 rq:733177 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-PyNaCl/python-PyNaCl.changes  
2019-07-30 13:01:00.154441340 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyNaCl.new.2352/python-PyNaCl.changes
2019-09-30 15:56:26.709688275 +0200
@@ -1,0 +2,5 @@
+Wed Sep 25 14:15:57 UTC 2019 - Tomáš Chvátal 
+
+- Add missing runtime dependency on cffi
+
+---



Other differences:
--
++ python-PyNaCl.spec ++
--- /var/tmp/diff_new_pack.YzP4e4/_old  2019-09-30 15:56:27.713685604 +0200
+++ /var/tmp/diff_new_pack.YzP4e4/_new  2019-09-30 15:56:27.713685604 +0200
@@ -23,25 +23,25 @@
 Summary:Python binding to the Networking and Cryptography (NaCl) 
library
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:https://github.com/pyca/pynacl/
+URL:https://github.com/pyca/pynacl/
 Source: 
https://pypi.org/packages/source/P/PyNaCl/PyNaCl-%{version}.tar.gz
 # 
https://github.com/pyca/pynacl/commit/a8c08b18f3a2e8f2140c531afaf42715fcab68e7
 Patch0: python-PyNaCl-hypothesis-remove-average_size.patch
 Patch1: fix_tests.patch
-BuildRequires:  %{python_module base}
 BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pycparser}
 BuildRequires:  %{python_module setuptools}
-# SECTION test requirements
-BuildRequires:  %{python_module hypothesis >= 3.27.0}
-BuildRequires:  %{python_module pytest >= 3.2.1}
-# /SECTION
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(libsodium)
+Requires:   python-cffi
 Requires:   python-six
+# SECTION test requirements
+BuildRequires:  %{python_module hypothesis >= 3.27.0}
+BuildRequires:  %{python_module pytest >= 3.2.1}
+# /SECTION
 %python_subpackages
 
 %description
@@ -63,7 +63,7 @@
 %python_expand %fdupes %{buildroot}/%{$python_sitearch}
 
 %check
-%pytest_arch -v
+%pytest_arch
 
 %files %{python_files}
 %license LICENSE




commit python-PyNaCl for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package python-PyNaCl for openSUSE:Factory 
checked in at 2019-07-30 13:00:58

Comparing /work/SRC/openSUSE:Factory/python-PyNaCl (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyNaCl.new.4126 (New)


Package is "python-PyNaCl"

Tue Jul 30 13:00:58 2019 rev:5 rq:716282 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-PyNaCl/python-PyNaCl.changes  
2019-06-06 18:14:50.248729686 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyNaCl.new.4126/python-PyNaCl.changes
2019-07-30 13:01:00.154441340 +0200
@@ -1,0 +2,5 @@
+Thu Jul 18 11:12:47 UTC 2019 - Ondřej Súkup 
+
+- add fix_tests.patch for new pytest 
+
+---

New:

  fix_tests.patch



Other differences:
--
++ python-PyNaCl.spec ++
--- /var/tmp/diff_new_pack.nuugQF/_old  2019-07-30 13:01:01.338441156 +0200
+++ /var/tmp/diff_new_pack.nuugQF/_new  2019-07-30 13:01:01.342441155 +0200
@@ -27,6 +27,7 @@
 Source: 
https://pypi.org/packages/source/P/PyNaCl/PyNaCl-%{version}.tar.gz
 # 
https://github.com/pyca/pynacl/commit/a8c08b18f3a2e8f2140c531afaf42715fcab68e7
 Patch0: python-PyNaCl-hypothesis-remove-average_size.patch
+Patch1: fix_tests.patch
 BuildRequires:  %{python_module base}
 BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel}
@@ -50,7 +51,7 @@
 
 %prep
 %setup -q -n PyNaCl-%{version}
-%patch0 -p1
+%autopatch -p1
 rm -Rf src/libsodium
 
 %build

++ fix_tests.patch ++
>From 3479eaed36a32c6bd91331573a450a5bf099bdd5 Mon Sep 17 00:00:00 2001
From: Alex Gaynor 
Date: Mon, 1 Jul 2019 00:11:38 -0400
Subject: [PATCH] Fixed tests for change in pytest repr (#546)

* Fixed tests for change in pytest repr

* Fixed tests for change in pytest repr

* Fixed tests for change in pytest repr

* Fixed tests for change in pytest repr
---
 tests/test_box.py| 2 +-
 tests/test_sealed_box.py | 2 +-
 tests/test_secret.py | 2 +-
 tests/test_signing.py| 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/test_box.py b/tests/test_box.py
index d547ac27..46f3b793 100644
--- a/tests/test_box.py
+++ b/tests/test_box.py
@@ -268,7 +268,7 @@ def test_box_wrong_length():
 def check_type_error(expected, f, *args):
 with pytest.raises(TypeError) as e:
 f(*args)
-assert expected in str(e)
+assert expected in str(e.value)
 
 
 def test_wrong_types():
diff --git a/tests/test_sealed_box.py b/tests/test_sealed_box.py
index f7ba15c3..49ea2324 100644
--- a/tests/test_sealed_box.py
+++ b/tests/test_sealed_box.py
@@ -110,7 +110,7 @@ def test_sealed_box_decryption(privalice, pubalice, 
plaintext, encrypted):
 def check_type_error(expected, f, *args):
 with pytest.raises(TypeError) as e:
 f(*args)
-assert expected in str(e)
+assert expected in str(e.value)
 
 
 def test_wrong_types():
diff --git a/tests/test_secret.py b/tests/test_secret.py
index 3b52459a..73987fcb 100644
--- a/tests/test_secret.py
+++ b/tests/test_secret.py
@@ -142,7 +142,7 @@ def test_secret_box_wrong_lengths():
 def check_type_error(expected, f, *args):
 with pytest.raises(TypeError) as e:
 f(*args)
-assert expected in str(e)
+assert expected in str(e.value)
 
 
 def test_wrong_types():
diff --git a/tests/test_signing.py b/tests/test_signing.py
index 4304afb9..3e2cf359 100644
--- a/tests/test_signing.py
+++ b/tests/test_signing.py
@@ -219,7 +219,7 @@ def test_key_conversion(self):
 def check_type_error(expected, f, *args):
 with pytest.raises(TypeError) as e:
 f(*args)
-assert expected in str(e)
+assert expected in str(e.value)
 
 
 def test_wrong_types():



commit python-PyNaCl for openSUSE:Factory

2019-06-06 Thread root
Hello community,

here is the log from the commit of package python-PyNaCl for openSUSE:Factory 
checked in at 2019-06-06 18:14:46

Comparing /work/SRC/openSUSE:Factory/python-PyNaCl (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyNaCl.new.4811 (New)


Package is "python-PyNaCl"

Thu Jun  6 18:14:46 2019 rev:4 rq:707231 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-PyNaCl/python-PyNaCl.changes  
2018-12-14 20:49:02.769372506 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyNaCl.new.4811/python-PyNaCl.changes
2019-06-06 18:14:50.248729686 +0200
@@ -1,0 +2,8 @@
+Mon Jun  3 14:17:29 UTC 2019 - pgaj...@suse.com
+
+- run the testsuite
+- added patches
+  
https://github.com/pyca/pynacl/commit/a8c08b18f3a2e8f2140c531afaf42715fcab68e7
+  + python-PyNaCl-hypothesis-remove-average_size.patch
+
+---

New:

  python-PyNaCl-hypothesis-remove-average_size.patch



Other differences:
--
++ python-PyNaCl.spec ++
--- /var/tmp/diff_new_pack.aPqWdv/_old  2019-06-06 18:14:50.780729531 +0200
+++ /var/tmp/diff_new_pack.aPqWdv/_new  2019-06-06 18:14:50.780729531 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyNaCl
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,11 +25,17 @@
 Group:  Development/Languages/Python
 Url:https://github.com/pyca/pynacl/
 Source: 
https://pypi.org/packages/source/P/PyNaCl/PyNaCl-%{version}.tar.gz
+# 
https://github.com/pyca/pynacl/commit/a8c08b18f3a2e8f2140c531afaf42715fcab68e7
+Patch0: python-PyNaCl-hypothesis-remove-average_size.patch
 BuildRequires:  %{python_module base}
 BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pycparser}
 BuildRequires:  %{python_module setuptools}
+# SECTION test requirements
+BuildRequires:  %{python_module hypothesis >= 3.27.0}
+BuildRequires:  %{python_module pytest >= 3.2.1}
+# /SECTION
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
@@ -44,6 +50,7 @@
 
 %prep
 %setup -q -n PyNaCl-%{version}
+%patch0 -p1
 rm -Rf src/libsodium
 
 %build
@@ -54,6 +61,9 @@
 %python_install
 %python_expand %fdupes %{buildroot}/%{$python_sitearch}
 
+%check
+%pytest_arch -v
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst

++ python-PyNaCl-hypothesis-remove-average_size.patch ++
iff --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)




commit python-PyNaCl for openSUSE:Factory

2018-12-14 Thread root
Hello community,

here is the log from the commit of package python-PyNaCl for openSUSE:Factory 
checked in at 2018-12-14 20:48:53

Comparing /work/SRC/openSUSE:Factory/python-PyNaCl (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyNaCl.new.28833 (New)


Package is "python-PyNaCl"

Fri Dec 14 20:48:53 2018 rev:3 rq:657564 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-PyNaCl/python-PyNaCl.changes  
2018-01-10 23:32:57.726234029 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyNaCl.new.28833/python-PyNaCl.changes   
2018-12-14 20:49:02.769372506 +0100
@@ -1,0 +2,19 @@
+Wed Dec 12 13:05:57 UTC 2018 - Antonio Larrosa 
+
+- Update to 1.3.0
+  * Added support for Python 3.7.
+  * Run and test all code examples in PyNaCl docs through sphinx's doctest
+builder.
+  * Add low-level bindings for chacha20-poly1305 AEAD constructions.
+  * Add low-level bindings for the chacha20-poly1305 secretstream
+constructions.
+  * Add low-level bindings for ed25519ph pre-hashed signing construction.
+  * Add low-level bindings for constant-time increment and addition on
+fixed-precision big integers represented as little-endian byte sequences.
+  * Add low-level bindings for the ISO/IEC 7816-4 compatible padding API.
+  * Add low-level bindings for libsodium's crypto_kx... key exchange
+construction.
+  * Set hypothesis deadline to None in tests/test_pwhash.py to avoid incorrect
+test failures on slower processor architectures.
+
+---

Old:

  PyNaCl-1.2.1.tar.gz

New:

  PyNaCl-1.3.0.tar.gz



Other differences:
--
++ python-PyNaCl.spec ++
--- /var/tmp/diff_new_pack.rdOPsq/_old  2018-12-14 20:49:03.161371967 +0100
+++ /var/tmp/diff_new_pack.rdOPsq/_new  2018-12-14 20:49:03.161371967 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyNaCl
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,13 +12,13 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyNaCl
-Version:1.2.1
+Version:1.3.0
 Release:0
 Summary:Python binding to the Networking and Cryptography (NaCl) 
library
 License:Apache-2.0

++ PyNaCl-1.2.1.tar.gz -> PyNaCl-1.3.0.tar.gz ++
 25358 lines of diff (skipped)




commit python-PyNaCl for openSUSE:Factory

2018-01-10 Thread root
Hello community,

here is the log from the commit of package python-PyNaCl for openSUSE:Factory 
checked in at 2018-01-10 23:32:55

Comparing /work/SRC/openSUSE:Factory/python-PyNaCl (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyNaCl.new (New)


Package is "python-PyNaCl"

Wed Jan 10 23:32:55 2018 rev:2 rq:559379 version:1.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-PyNaCl/python-PyNaCl.changes  
2017-08-12 20:24:07.889849731 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyNaCl.new/python-PyNaCl.changes 
2018-01-10 23:32:57.726234029 +0100
@@ -1,0 +2,6 @@
+Fri Dec 22 14:13:04 UTC 2017 - mimi...@gmail.com
+
+- update to 1.2.1
+- use system libsodium
+
+---

Old:

  PyNaCl-1.1.2.tar.gz

New:

  PyNaCl-1.2.1.tar.gz



Other differences:
--
++ python-PyNaCl.spec ++
--- /var/tmp/diff_new_pack.cADDvS/_old  2018-01-10 23:32:59.734139804 +0100
+++ /var/tmp/diff_new_pack.cADDvS/_new  2018-01-10 23:32:59.738139615 +0100
@@ -1,3 +1,4 @@
+#
 # spec file for package python-PyNaCl
 #
 # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
@@ -12,26 +13,28 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyNaCl
-Version:1.1.2
+Version:1.2.1
 Release:0
-License:Apache-2.0
 Summary:Python binding to the Networking and Cryptography (NaCl) 
library
-Url:https://github.com/pyca/pynacl/
+License:Apache-2.0
 Group:  Development/Languages/Python
-Source: 
https://pypi.python.org/packages/8d/f3/02605b056e465bf162508c4d1635a2bccd9abd1ee3ed2a1bb4e9676eac33/PyNaCl-%{version}.tar.gz
+Url:https://github.com/pyca/pynacl/
+Source: 
https://pypi.org/packages/source/P/PyNaCl/PyNaCl-%{version}.tar.gz
 BuildRequires:  %{python_module base}
+BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pycparser}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module cffi}
-BuildRequires:  python-rpm-macros
 BuildRequires:  fdupes
+BuildRequires:  pkgconfig
+BuildRequires:  python-rpm-macros
+BuildRequires:  pkgconfig(libsodium)
 Requires:   python-six
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 %python_subpackages
 
 %description
@@ -41,8 +44,10 @@
 
 %prep
 %setup -q -n PyNaCl-%{version}
+rm -Rf src/libsodium
 
 %build
+export SODIUM_INSTALL="system"
 %python_build
 
 %install
@@ -50,8 +55,8 @@
 %python_expand %fdupes %{buildroot}/%{$python_sitearch}
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
 %{python_sitearch}/*
 
 %changelog

++ PyNaCl-1.1.2.tar.gz -> PyNaCl-1.2.1.tar.gz ++
 73873 lines of diff (skipped)