2016-12-19 14:09:56 +00:00
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
%global modname pynacl
|
|
|
|
|
|
|
|
Name: python-%{modname}
|
2022-05-04 18:53:48 +00:00
|
|
|
Version: 1.5.0
|
2023-10-05 07:37:34 +00:00
|
|
|
Release: 5%{?dist}
|
2016-12-19 14:09:56 +00:00
|
|
|
Summary: Python binding to the Networking and Cryptography (NaCl) library
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/pyca/pynacl
|
|
|
|
Source0: %{url}/archive/%{version}/%{modname}-%{version}.tar.gz
|
|
|
|
|
2018-07-10 13:56:26 +00:00
|
|
|
BuildRequires: gcc
|
2016-12-19 14:09:56 +00:00
|
|
|
BuildRequires: libsodium-devel
|
|
|
|
|
2022-05-11 18:50:27 +00:00
|
|
|
%global _description %{expand:
|
|
|
|
PyNaCl is a Python binding to the Networking and Cryptography library,
|
|
|
|
a crypto library with the stated goal of improving usability, security
|
|
|
|
and speed.}
|
2016-12-19 14:09:56 +00:00
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
%package -n python3-%{modname}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
%description -n python3-%{modname} %{_description}
|
|
|
|
|
|
|
|
Python 3 version.
|
|
|
|
|
|
|
|
%prep
|
2019-05-02 23:50:30 +00:00
|
|
|
%autosetup -p1 -n %{modname}-%{version}
|
2016-12-19 14:09:56 +00:00
|
|
|
# Remove bundled libsodium, to be sure
|
|
|
|
rm -vrf src/libsodium/
|
|
|
|
|
2018-06-26 13:39:03 +00:00
|
|
|
# ARM and s390x is too slow for upstream tests
|
|
|
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=1594901
|
|
|
|
# And https://github.com/pyca/pynacl/issues/370
|
|
|
|
%ifarch s390x %{arm}
|
|
|
|
sed -i 's/@settings(deadline=1500, max_examples=5)/@settings(deadline=4000, max_examples=5)/' tests/test_pwhash.py
|
|
|
|
%endif
|
|
|
|
|
2022-05-11 18:50:27 +00:00
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires %{?with_check:-x tests}
|
|
|
|
|
2016-12-19 14:09:56 +00:00
|
|
|
%build
|
|
|
|
export SODIUM_INSTALL=system
|
2022-05-11 18:50:27 +00:00
|
|
|
%pyproject_wheel
|
2016-12-19 14:09:56 +00:00
|
|
|
|
|
|
|
%install
|
2022-05-11 18:50:27 +00:00
|
|
|
%pyproject_install
|
|
|
|
%pyproject_save_files nacl
|
2016-12-19 14:09:56 +00:00
|
|
|
|
|
|
|
%check
|
2022-05-11 18:50:27 +00:00
|
|
|
%if %{with check}
|
|
|
|
%pytest
|
|
|
|
%else
|
|
|
|
%pyproject_check_import
|
2016-12-19 14:09:56 +00:00
|
|
|
%endif
|
|
|
|
|
2022-05-11 18:50:27 +00:00
|
|
|
%files -n python3-%{modname} -f %{pyproject_files}
|
2016-12-19 14:09:56 +00:00
|
|
|
%doc README.rst
|
|
|
|
|
|
|
|
%changelog
|
2023-10-05 07:37:34 +00:00
|
|
|
* Thu Oct 05 2023 Remi Collet <remi@remirepo.net> - 1.5.0-5
|
|
|
|
- rebuild for new libsodium
|
|
|
|
|
2023-07-21 12:50:57 +00:00
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-06-15 09:13:49 +00:00
|
|
|
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1.5.0-3
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
2023-01-20 16:12:25 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-05-04 18:53:48 +00:00
|
|
|
* Wed Aug 31 2022 Major Hayden <major@mhtx.net> - 1.5.0-1
|
|
|
|
- Update to 1.5.0 (#2038614)
|
|
|
|
|
2022-07-22 21:21:26 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-13 16:57:24 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4.0-7
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-05-11 18:50:27 +00:00
|
|
|
* Wed May 11 2022 Carl George <carl@george.computer> - 1.4.0-6
|
|
|
|
- Convert to pyproject macros
|
|
|
|
|
2022-01-21 14:37:43 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 08:40:25 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-04 00:00:52 +00:00
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4.0-3
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-01-27 12:40:22 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-26 09:32:33 +00:00
|
|
|
* Wed Aug 26 2020 Damien Ciabrini <dciabrin@redhat.com> - 1.4.0-1
|
|
|
|
- Update to 1.4.0 (#1840424)
|
|
|
|
|
2020-07-29 03:09:38 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-24 00:36:26 +00:00
|
|
|
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-8
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-05-11 10:36:52 +00:00
|
|
|
* Mon May 11 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-7
|
|
|
|
- Fix build with hypothesis 5 (#1830961)
|
|
|
|
|
2020-01-30 14:29:10 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-13 10:30:52 +00:00
|
|
|
* Sun Oct 13 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-5
|
|
|
|
- Subpackage python2-pynacl has been removed
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
2019-10-03 12:25:28 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-4
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-19 08:52:10 +00:00
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-3
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-26 15:34:07 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-15 10:31:06 +00:00
|
|
|
* Fri Feb 15 2019 Yatin Karel <ykarel@redhat.com> - 1.3.0-1
|
|
|
|
- Update to 1.3.0
|
|
|
|
|
2019-02-02 08:40:23 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 01:38:32 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 09:15:11 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-2
|
|
|
|
- Rebuilt for Python 3.7
|
2018-06-26 13:39:03 +00:00
|
|
|
- Prolong the deadline for tests on s390x
|
|
|
|
- Don't ignore the test results on arm, do the same as on s390x
|
2018-06-19 09:15:11 +00:00
|
|
|
|
2018-03-27 18:08:27 +00:00
|
|
|
* Tue Mar 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.1-1
|
|
|
|
- Update to 1.2.1
|
|
|
|
|
2018-02-09 10:09:04 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-02 07:47:34 +00:00
|
|
|
* Thu Nov 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.0-1
|
|
|
|
- Update to 1.2.0
|
|
|
|
|
2017-10-02 07:03:29 +00:00
|
|
|
* Mon Oct 02 2017 Remi Collet <remi@fedoraproject.org> - 1.1.2-4
|
|
|
|
- rebuild for libsodium
|
|
|
|
|
2017-08-03 06:55:54 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 11:29:01 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-04-01 12:20:54 +00:00
|
|
|
* Sat Apr 01 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.1.2-1
|
|
|
|
- Update to 1.1.2
|
|
|
|
|
2017-03-16 06:07:00 +00:00
|
|
|
* Thu Mar 16 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.1.1-1
|
|
|
|
- Update to 1.1.1
|
|
|
|
|
2017-02-11 10:07:56 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-22 12:08:41 +00:00
|
|
|
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-2
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-12-19 14:09:56 +00:00
|
|
|
* Mon Dec 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.0.1-1
|
|
|
|
- Initial package
|