diff --git a/libnacl-1.7.2.tar.gz b/libnacl-1.7.2.tar.gz deleted file mode 100644 index b3d2989..0000000 --- a/libnacl-1.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bbfbb595ba6acfdd8f40a143bddb62c54fb53580330ed6ba3dca1ba4036437bb -size 43343 diff --git a/libnacl-2.1.0.tar.gz b/libnacl-2.1.0.tar.gz new file mode 100644 index 0000000..0d6d36b --- /dev/null +++ b/libnacl-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4bef42f811f5c8d2509a34efd64e9028b223aa06fb52127cd4dad9301edde6f5 +size 46400 diff --git a/python-libnacl.changes b/python-libnacl.changes index aacef54..5741ac4 100644 --- a/python-libnacl.changes +++ b/python-libnacl.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Mar 1 03:19:33 UTC 2024 - Steve Kowalik + +- 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 diff --git a/python-libnacl.spec b/python-libnacl.spec index c4849dc..10a3239 100644 --- a/python-libnacl.spec +++ b/python-libnacl.spec @@ -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