|
|
f032650 |
%bcond_without check
|
|
|
f032650 |
|
|
|
f032650 |
%global modname pynacl
|
|
|
f032650 |
|
|
|
f032650 |
Name: python-%{modname}
|
|
|
0be87d1 |
Version: 1.5.0
|
|
|
240827d |
Release: 7%{?dist}
|
|
|
f032650 |
Summary: Python binding to the Networking and Cryptography (NaCl) library
|
|
|
f032650 |
|
|
|
f032650 |
License: ASL 2.0
|
|
|
f032650 |
URL: https://github.com/pyca/pynacl
|
|
|
f032650 |
Source0: %{url}/archive/%{version}/%{modname}-%{version}.tar.gz
|
|
|
f032650 |
|
|
|
70937b7 |
BuildRequires: gcc
|
|
|
f032650 |
BuildRequires: libsodium-devel
|
|
|
f032650 |
|
|
|
28387ac |
%global _description %{expand:
|
|
|
28387ac |
PyNaCl is a Python binding to the Networking and Cryptography library,
|
|
|
28387ac |
a crypto library with the stated goal of improving usability, security
|
|
|
28387ac |
and speed.}
|
|
|
f032650 |
|
|
|
f032650 |
%description %{_description}
|
|
|
f032650 |
|
|
|
f032650 |
%package -n python3-%{modname}
|
|
|
f032650 |
Summary: %{summary}
|
|
|
f032650 |
BuildRequires: python3-devel
|
|
|
f032650 |
|
|
|
f032650 |
%description -n python3-%{modname} %{_description}
|
|
|
f032650 |
|
|
|
f032650 |
Python 3 version.
|
|
|
f032650 |
|
|
|
f032650 |
%prep
|
|
|
36c1895 |
%autosetup -p1 -n %{modname}-%{version}
|
|
|
f032650 |
# Remove bundled libsodium, to be sure
|
|
|
f032650 |
rm -vrf src/libsodium/
|
|
|
f032650 |
|
|
|
b082183 |
# ARM and s390x is too slow for upstream tests
|
|
|
b082183 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1594901
|
|
|
b082183 |
# And https://github.com/pyca/pynacl/issues/370
|
|
|
b082183 |
%ifarch s390x %{arm}
|
|
|
b082183 |
sed -i 's/@settings(deadline=1500, max_examples=5)/@settings(deadline=4000, max_examples=5)/' tests/test_pwhash.py
|
|
|
b082183 |
%endif
|
|
|
b082183 |
|
|
|
28387ac |
%generate_buildrequires
|
|
|
28387ac |
%pyproject_buildrequires %{?with_check:-x tests}
|
|
|
28387ac |
|
|
|
f032650 |
%build
|
|
|
f032650 |
export SODIUM_INSTALL=system
|
|
|
28387ac |
%pyproject_wheel
|
|
|
f032650 |
|
|
|
f032650 |
%install
|
|
|
28387ac |
%pyproject_install
|
|
|
28387ac |
%pyproject_save_files nacl
|
|
|
f032650 |
|
|
|
f032650 |
%check
|
|
|
28387ac |
%if %{with check}
|
|
|
28387ac |
%pytest
|
|
|
28387ac |
%else
|
|
|
28387ac |
%pyproject_check_import
|
|
|
f032650 |
%endif
|
|
|
f032650 |
|
|
|
28387ac |
%files -n python3-%{modname} -f %{pyproject_files}
|
|
|
f032650 |
%doc README.rst
|
|
|
f032650 |
|
|
|
f032650 |
%changelog
|
|
|
240827d |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-7
|
|
|
240827d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
240827d |
|
|
|
5f9cfdf |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-6
|
|
|
5f9cfdf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
5f9cfdf |
|
|
|
ba3c739 |
* Thu Oct 05 2023 Remi Collet <remi@remirepo.net> - 1.5.0-5
|
|
|
ba3c739 |
- rebuild for new libsodium
|
|
|
ba3c739 |
|
|
|
add382b |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
|
|
|
add382b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
add382b |
|
|
|
9a9f6a4 |
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1.5.0-3
|
|
|
9a9f6a4 |
- Rebuilt for Python 3.12
|
|
|
9a9f6a4 |
|
|
|
30bcce1 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
|
30bcce1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
30bcce1 |
|
|
|
0be87d1 |
* Wed Aug 31 2022 Major Hayden <major@mhtx.net> - 1.5.0-1
|
|
|
0be87d1 |
- Update to 1.5.0 (#2038614)
|
|
|
0be87d1 |
|
|
|
5b16857 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-8
|
|
|
5b16857 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
5b16857 |
|
|
|
e86e7b6 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4.0-7
|
|
|
e86e7b6 |
- Rebuilt for Python 3.11
|
|
|
e86e7b6 |
|
|
|
28387ac |
* Wed May 11 2022 Carl George <carl@george.computer> - 1.4.0-6
|
|
|
28387ac |
- Convert to pyproject macros
|
|
|
28387ac |
|
|
|
60473c0 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-5
|
|
|
60473c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
60473c0 |
|
|
|
a3c788a |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
|
|
|
a3c788a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
a3c788a |
|
|
|
824c107 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4.0-3
|
|
|
824c107 |
- Rebuilt for Python 3.10
|
|
|
824c107 |
|
|
|
a4c4825 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
|
a4c4825 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a4c4825 |
|
|
|
01acaa9 |
* Wed Aug 26 2020 Damien Ciabrini <dciabrin@redhat.com> - 1.4.0-1
|
|
|
01acaa9 |
- Update to 1.4.0 (#1840424)
|
|
|
01acaa9 |
|
|
|
b9c7146 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-9
|
|
|
b9c7146 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b9c7146 |
|
|
|
e2125cb |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-8
|
|
|
e2125cb |
- Rebuilt for Python 3.9
|
|
|
e2125cb |
|
|
|
627f931 |
* Mon May 11 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-7
|
|
|
627f931 |
- Fix build with hypothesis 5 (#1830961)
|
|
|
627f931 |
|
|
|
818bc76 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
|
|
|
818bc76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
818bc76 |
|
|
|
f4941a2 |
* Sun Oct 13 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-5
|
|
|
f4941a2 |
- Subpackage python2-pynacl has been removed
|
|
|
f4941a2 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
f4941a2 |
|
|
|
1b359c1 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-4
|
|
|
1b359c1 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
1b359c1 |
|
|
|
50221b7 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-3
|
|
|
50221b7 |
- Rebuilt for Python 3.8
|
|
|
50221b7 |
|
|
|
c262d27 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
c262d27 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
c262d27 |
|
|
|
9ba1688 |
* Fri Feb 15 2019 Yatin Karel <ykarel@redhat.com> - 1.3.0-1
|
|
|
9ba1688 |
- Update to 1.3.0
|
|
|
9ba1688 |
|
|
|
16c3183 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
|
|
|
16c3183 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
16c3183 |
|
|
|
c68c8ea |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
|
|
c68c8ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c68c8ea |
|
|
|
a0e85d8 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-2
|
|
|
a0e85d8 |
- Rebuilt for Python 3.7
|
|
|
b082183 |
- Prolong the deadline for tests on s390x
|
|
|
b082183 |
- Don't ignore the test results on arm, do the same as on s390x
|
|
|
a0e85d8 |
|
|
|
82641f9 |
* Tue Mar 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.1-1
|
|
|
82641f9 |
- Update to 1.2.1
|
|
|
82641f9 |
|
|
|
565c972 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
565c972 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
565c972 |
|
|
|
3bc4a6a |
* Thu Nov 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.0-1
|
|
|
3bc4a6a |
- Update to 1.2.0
|
|
|
3bc4a6a |
|
|
|
32008ba |
* Mon Oct 02 2017 Remi Collet <remi@fedoraproject.org> - 1.1.2-4
|
|
|
32008ba |
- rebuild for libsodium
|
|
|
32008ba |
|
|
|
6e98df1 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
|
|
|
6e98df1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
6e98df1 |
|
|
|
fdd5f37 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
|
|
|
fdd5f37 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
fdd5f37 |
|
|
Igor Gnatenko |
d4b8c41 |
* Sat Apr 01 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.1.2-1
|
|
Igor Gnatenko |
d4b8c41 |
- Update to 1.1.2
|
|
Igor Gnatenko |
d4b8c41 |
|
|
Igor Gnatenko |
22a8ea6 |
* Thu Mar 16 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.1.1-1
|
|
Igor Gnatenko |
22a8ea6 |
- Update to 1.1.1
|
|
Igor Gnatenko |
22a8ea6 |
|
|
|
5a145b8 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
|
|
5a145b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
5a145b8 |
|
|
|
2b0bb38 |
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-2
|
|
|
2b0bb38 |
- Rebuild for Python 3.6
|
|
|
2b0bb38 |
|
|
|
f032650 |
* Mon Dec 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.0.1-1
|
|
|
f032650 |
- Initial package
|