forked from pool/python-libnacl
Accepting request 351962 from home:aboe76:branches:devel:languages:python
Updated to latest version 1.4.4 OBS-URL: https://build.opensuse.org/request/show/351962 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libnacl?expand=0&rev=26
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:873614913c90c4011f791a8fd1448f6bb3ab7dc8cdd329d1baaa65e7e1d1a929
|
|
||||||
size 28777
|
|
@@ -1,13 +0,0 @@
|
|||||||
Index: libnacl-1.4.3/libnacl/__init__.py
|
|
||||||
===================================================================
|
|
||||||
--- libnacl-1.4.3.orig/libnacl/__init__.py
|
|
||||||
+++ libnacl-1.4.3/libnacl/__init__.py
|
|
||||||
@@ -9,7 +9,7 @@ from libnacl.version import __version__
|
|
||||||
import ctypes
|
|
||||||
import sys
|
|
||||||
|
|
||||||
-__SONAMES = (13, 10, 5, 4)
|
|
||||||
+__SONAMES = (17, 13, 10, 5, 4)
|
|
||||||
|
|
||||||
|
|
||||||
def _get_nacl():
|
|
3
libnacl-1.4.4.tar.gz
Normal file
3
libnacl-1.4.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f2ee401a78dc693fcbc2051befcee2f76bb13ce75a933420646abfa47a39a6db
|
||||||
|
size 30965
|
@@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 4 20:13:15 UTC 2016 - aboe76@gmail.com
|
||||||
|
|
||||||
|
- Updated to 1.4.4
|
||||||
|
- Add pack_nonce options to secretbox
|
||||||
|
libnacl secretbox has been packing the nonce in each message,
|
||||||
|
the new pack_nonce option allows for the nonce to be omitted
|
||||||
|
which allows for more flexible options
|
||||||
|
- Add soversion 17 detection
|
||||||
|
Added explicit soversion support for libsodium 17
|
||||||
|
- Fix crypto_onetimeauth tests
|
||||||
|
The crypto onetimeauth test issues have been resolved
|
||||||
|
- Remove tweetnacl Support
|
||||||
|
The tweetnacl support was never really tested, and since the
|
||||||
|
tweetnacl api is not complete we have removed support for it
|
||||||
|
- Add sodium_init calls
|
||||||
|
Added calls to sodium_init when the lib is loaded
|
||||||
|
- packaging:
|
||||||
|
- New BuildRequirement python-setuptools
|
||||||
|
- Updated the description
|
||||||
|
- Removed the patch for soname: libnacl-1.4.3_bump_libsodium_soversion.patch
|
||||||
|
not needed anymore
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 19 17:04:26 UTC 2015 - mrueckert@suse.de
|
Thu Nov 19 17:04:26 UTC 2015 - mrueckert@suse.de
|
||||||
|
|
||||||
|
@@ -16,17 +16,17 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: python-libnacl
|
Name: python-libnacl
|
||||||
Version: 1.4.3
|
Version: 1.4.4
|
||||||
Release: 0
|
Release: 0
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Summary: Python bindings for libsodium/tweetnacl based on ctypes
|
Summary: Python bindings for libsodium based on ctypes
|
||||||
Url: https://github.com/saltstack/libnacl
|
Url: https://github.com/saltstack/libnacl
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source0: https://pypi.python.org/packages/source/l/libnacl/libnacl-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/l/libnacl/libnacl-%{version}.tar.gz
|
||||||
Patch: libnacl-1.4.3_bump_libsodium_soversion.patch
|
|
||||||
BuildRoot: %{_tmppath}/libnacl-%{version}-build
|
BuildRoot: %{_tmppath}/libnacl-%{version}-build
|
||||||
|
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: libsodium-devel
|
BuildRequires: libsodium-devel
|
||||||
|
|
||||||
@@ -37,13 +37,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%(LC_ALL=C rpm -q -a --qf "Requires: %%{name}(%{__isa}) = %%{epoch}:%%{version}\n" 'libsodium*' | grep -v libsodium-devel | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
%(LC_ALL=C rpm -q -a --qf "Requires: %%{name}(%{__isa}) = %%{epoch}:%%{version}\n" 'libsodium*' | grep -v libsodium-devel | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library is used to gain direct access to the functions exposed by Daniel J. Bernstein's nacl library via libsodium or tweetnacl.
|
This library is used to gain direct access to the functions exposed by Daniel J. Bernstein's nacl library via libsodium.
|
||||||
It has been constructed to maintain extensive documentation on how to use nacl as well as being completely portable. The file
|
It has been constructed to maintain extensive documentation on how to use nacl as well as being completely portable. The file
|
||||||
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}
|
%setup -q -n libnacl-%{version}
|
||||||
%patch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
Reference in New Issue
Block a user