123 Star 0 Fork 14

src-openEuler/python-pynacl

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
python-pynacl.spec 2.42 KB
Copy Edit Raw Blame History
markeryang authored 2020-08-21 10:34 +08:00 . update python-pynacl.spec.
%{?python_enable_dependency_generator}
Name: python-pynacl
Summary: Python binding to the libsodium library
Version: 1.2.1
Release: 5
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 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
%{?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
%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
%{python3_sitearch}/PyNaCl-*.egg-info/
%{python3_sitearch}/nacl/
%changelog
* Fri Aug 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-5
- Add release version for rebuild
* Wed Nov 13 2019 Lijin Yang <yanglijin@huawei.com> - 1.2.1-4
- init package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-pynacl.git
git@gitee.com:src-openeuler/python-pynacl.git
src-openeuler
python-pynacl
python-pynacl
openEuler-20.03-LTS-SP4

Search