14
0

- Update to 2.1.0:

* Added classes to the libnacl.aead module allowing for the use of
    XChaCha20-Poly1305-IETF, ChaCha20-Poly1305-IETF, and AES256-GCM.
  * Added the libnacl.kx module. This module contains the ExchangeKey class.
- Switch to autosetup and pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libnacl?expand=0&rev=50
This commit is contained in:
2024-03-01 03:19:57 +00:00
committed by Git OBS Bridge
parent e12971655f
commit 585cacd1ce
4 changed files with 23 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bbfbb595ba6acfdd8f40a143bddb62c54fb53580330ed6ba3dca1ba4036437bb
size 43343

3
libnacl-2.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bef42f811f5c8d2509a34efd64e9028b223aa06fb52127cd4dad9301edde6f5
size 46400

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Mar 1 03:19:33 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.1.0:
* Added classes to the libnacl.aead module allowing for the use of
XChaCha20-Poly1305-IETF, ChaCha20-Poly1305-IETF, and AES256-GCM.
* Added the libnacl.kx module. This module contains the ExchangeKey class.
- Switch to autosetup and pyproject macros.
-------------------------------------------------------------------
Wed Jul 5 08:28:58 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-libnacl
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-libnacl
Version: 1.7.2
Version: 2.1.0
Release: 0
Summary: Python bindings for libsodium based on ctypes
License: Apache-2.0
URL: https://github.com/saltstack/libnacl
Source0: https://github.com/saltstack/libnacl/archive/v%{version}.tar.gz#/libnacl-%{version}.tar.gz
Patch0: crypto_kdf_derive.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@@ -34,6 +35,7 @@ BuildRequires: pkgconfig(libsodium)
# This will need updating and verification but smart magic is not copied by
# singlespec macros
Requires: libsodium23
BuildArch: noarch
%python_subpackages
%description
@@ -42,14 +44,13 @@ It has been constructed to maintain extensive documentation on how to use nacl a
in libnacl/__init__.py can be pulled out and placed directly in any project to give a single file binding to all of nacl.
%prep
%setup -q -n libnacl-%{version}
%patch0 -p1
%autosetup -p1 -n libnacl-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
%check
@@ -58,6 +59,7 @@ in libnacl/__init__.py can be pulled out and placed directly in any project to g
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/libnacl
%{python_sitelib}/libnacl-%{version}.dist-info
%changelog