forked from pool/python-libnacl
- 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:
@@ -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
3
libnacl-2.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4bef42f811f5c8d2509a34efd64e9028b223aa06fb52127cd4dad9301edde6f5
|
||||||
|
size 46400
|
@@ -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>
|
Wed Jul 5 08:28:58 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-libnacl
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,15 +18,16 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-libnacl
|
Name: python-libnacl
|
||||||
Version: 1.7.2
|
Version: 2.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python bindings for libsodium based on ctypes
|
Summary: Python bindings for libsodium based on ctypes
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/saltstack/libnacl
|
URL: https://github.com/saltstack/libnacl
|
||||||
Source0: https://github.com/saltstack/libnacl/archive/v%{version}.tar.gz#/libnacl-%{version}.tar.gz
|
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 devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module poetry}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -34,6 +35,7 @@ BuildRequires: pkgconfig(libsodium)
|
|||||||
# This will need updating and verification but smart magic is not copied by
|
# This will need updating and verification but smart magic is not copied by
|
||||||
# singlespec macros
|
# singlespec macros
|
||||||
Requires: libsodium23
|
Requires: libsodium23
|
||||||
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%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.
|
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
|
%prep
|
||||||
%setup -q -n libnacl-%{version}
|
%autosetup -p1 -n libnacl-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -58,6 +59,7 @@ in libnacl/__init__.py can be pulled out and placed directly in any project to g
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/libnacl
|
||||||
|
%{python_sitelib}/libnacl-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user