Compare commits

..

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
9799f9674f
!12 [sync] PR-10: update package for openstack yoga
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-11-07 08:56:21 +00:00
liksh
7f593b1b49 update package for openstack yoga
(cherry picked from commit c81fcba6d6369101d0ca0d1c91b6473d6716fdf6)
2022-10-27 17:18:46 +08:00
openeuler-ci-bot
64803eb06b
!9 [sync] PR-7: enable tests
From: @openeuler-sync-bot 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-04-18 02:56:33 +00:00
zhanzhimin
de8fb65255 enable tests
(cherry picked from commit e9daa75ffdf85ac0ccc1f5574a5aeb2e9b04f2c1)
2022-04-14 09:45:11 +08:00
openeuler-ci-bot
ee1e714da6 !3 fix build fail, delete python2 buildrequire
Merge pull request !3 from Markeryang/master
2020-08-05 16:45:59 +08:00
Markeryang
78130ddc52 update python-pynacl.spec. 2020-08-05 16:11:16 +08:00
Markeryang
648218f343 fix build fail
fix build fail
2020-08-05 15:43:05 +08:00
openeuler-ci-bot
e802ecc38a !2 update package to 1.4.0
Merge pull request !2 from 季新杰/master
2020-07-20 10:59:41 +08:00
ji_xinjie
daf062a534 update package to 1.4.0 2020-07-16 14:53:04 +08:00
openeuler-ci-bot
2a0cc663c2 !1 python-pynacl
Merge pull request !1 from wangef/master
2020-05-19 14:49:42 +08:00
wwx913452
b2eb2c354e added python-pynacl.yaml 2020-05-07 15:37:11 +08:00
4 changed files with 20 additions and 23 deletions

Binary file not shown.

BIN
pynacl-1.5.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,9 +1,10 @@
%{?python_enable_dependency_generator}
%bcond_without check
Name: python-pynacl
Summary: Python binding to the libsodium library
Version: 1.2.1
Release: 4
Version: 1.5.0
Release: 1
License: ASL 2.0
URL: https://github.com/pyca/pynacl
Source0: https://github.com/pyca/pynacl/archive/%{version}/pynacl-%{version}.tar.gz
@ -15,23 +16,12 @@ PyNaCl is a Python binding to libsodium, which is a fork of the Networking and C
These libraries have a stated goal of improving usability, security and speed. It supports Python 2.7
and 3.4+ as well as PyPy 2.6+.
%package -n python2-pynacl
Summary: Python binding to the libsodium library
BuildRequires: python2-devel python2-setuptools python2-cffi >= 1.4.1
BuildRequires: python2-six python2-pytest >= 3.2.1 python2-hypothesis >= 3.27.0
%{?python_provide:%python_provide python2-pynacl}
%description -n python2-pynacl
PyNaCl is a Python binding to libsodium, which is a fork of the Networking and Cryptography library.
These libraries have a stated goal of improving usability, security and speed. python2-pynacl supports
Python 2.7 as well as PyPy 2.6+.
%package -n python3-pynacl
Summary: Python binding to the libsodium library
BuildRequires: python3-devel python3-setuptools python3-cffi >= 1.4.1
BuildRequires: python3-six python3-pytest >= 3.2.1 python3-hypothesis >= 3.27.0
BuildRequires: python3-wheel
%{?python_provide:%python_provide python3-pynacl}
%description -n python3-pynacl
@ -45,25 +35,16 @@ rm -vrf src/libsodium/
%build
export SODIUM_INSTALL=system
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%if %{with check}
PYTHONPATH=%{buildroot}%{python2_sitearch} py.test-2 -v
PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-3 -v
%endif
%files -n python2-pynacl
%license LICENSE
%doc README.rst
%{python2_sitearch}/PyNaCl-*.egg-info/
%{python2_sitearch}/nacl/
%files -n python3-pynacl
%license LICENSE
%doc README.rst
@ -71,5 +52,17 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-3 -v
%{python3_sitearch}/nacl/
%changelog
* Fri Jul 22 2022 liks11@chinaunicom.cn - 1.5.0-1
- update package to 1.5.0
* Mon Apr 11 2022 zhanzhimin<zhanzhimin@h.partners.com> - 1.4.0-3
- enable tests
* Wed Aug 5 2020 yanglongkang <yanglongkang@huawei.com> - 1.4.0-2
- fix build fail,delete python2 buildrequire
* Thu Jul 16 2020 jixinjie <jixinjie@huawei.com> - 1.4.0-1
- update package to 1.4.0
* Wed Nov 13 2019 Lijin Yang <yanglijin@huawei.com> - 1.2.1-4
- init package

4
python-pynacl.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: pyca/pynacl
tag_prefix: ^v
seperator: .