Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-pynacl revision 24915a5654e38709c0188688b38b1204

This commit is contained in:
Adrian Schröter 2024-07-15 12:57:24 +02:00
commit c4db54a4b3
4 changed files with 169 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
PyNaCl-1.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,72 @@
-------------------------------------------------------------------
Thu Dec 14 10:17:30 UTC 2023 - Victor Zhestkov <vzhestkov@suse.com>
- Update to 1.5.0:
* Removed support for Python 2.7 and Python 3.5.
* Changes of binary wheel distributions.
* Update libsodium to 1.0.18-stable (July 25, 2021 release).
* Add inline type hints.
- 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.
- 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.
-------------------------------------------------------------------
Fri Jun 17 09:37:42 UTC 2022 - Victor Zhestkov <victor.zhestkov@suse.com>
- Disable automatic dependency processing
-------------------------------------------------------------------
Mon Apr 4 12:55:59 UTC 2022 - Victor Zhestkov <victor.zhestkov@suse.com>
- Strictly require Python 3.10 with saltbundlepy requrement
-------------------------------------------------------------------
Tue Jan 21 13:46:13 UTC 2020 - pgajdos@suse.com
- python-PyNaCl requires python-cffi as demonstrated by python-dkimpy
tests [SLE-7686] [bsc#1161557]
-------------------------------------------------------------------
Fri Dec 22 14:13:04 UTC 2017 - mimi.vx@gmail.com
- update to 1.2.1
- use system libsodium
-------------------------------------------------------------------
Sun Jun 11 16:20:28 UTC 2017 - mimi.vx@gmail.com
- initial import

71
saltbundlepy-pynacl.spec Normal file
View File

@ -0,0 +1,71 @@
#
# spec file for package saltbundlepy-pynacl
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}}
%define pythons saltbundlepy
# Disable python bytecompile for all distros
# It's called explicitly in the spec
%global __brp_python_bytecompile %{nil}
Name: saltbundlepy-pynacl
Version: 1.5.0
Release: 0
Summary: Python binding to the Networking and Cryptography (NaCl) library
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/pyca/pynacl/
Source: https://pypi.org/packages/source/P/PyNaCl/PyNaCl-%{version}.tar.gz
BuildRequires: %{saltbundlepy_module base >= 3.10}
BuildRequires: %{saltbundlepy_module cffi}
BuildRequires: %{saltbundlepy_module devel}
BuildRequires: %{saltbundlepy_module pycparser}
BuildRequires: %{saltbundlepy_module setuptools}
BuildRequires: %{saltbundlepy_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: saltbundle-libsodium-devel
BuildRequires: saltbundlepy-rpm-macros
Requires: saltbundle-libsodium
Requires: saltbundlepy-cffi
AutoReqProv: 0
%python_subpackages
%description
PyNaCl is a Python binding to the `Networking and Cryptography library`_,
a crypto library with the stated goal of improving usability, security and
speed.
%prep
%setup -q -n PyNaCl-%{version}
rm -Rf src/libsodium
%build
export SODIUM_INSTALL="system"
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}/%{$python_sitearch}
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitearch}/*
%changelog