代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-pynacl 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%{?python_enable_dependency_generator}
Name: python-pynacl
Summary: Python binding to the libsodium library
Version: 1.4.0
Release: 2
License: ASL 2.0
URL: https://github.com/pyca/pynacl
Source0: https://github.com/pyca/pynacl/archive/%{version}/pynacl-%{version}.tar.gz
BuildRequires: gcc libsodium-devel
%description
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. It supports Python 2.7
and 3.4+ 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
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. python3-pynacl supports
Python 3.4+ as well as PyPy 2.6+.
%prep
%autosetup -n pynacl-%{version}
rm -vrf src/libsodium/
%build
export SODIUM_INSTALL=system
%py3_build
%install
%py3_install
%check
%if %{with check}
PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-3 -v
%endif
%files -n python3-pynacl
%license LICENSE
%doc README.rst
%{python3_sitearch}/PyNaCl-*.egg-info/
%{python3_sitearch}/nacl/
%changelog
* 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。