Compare commits

..

29 Commits
f28 ... rawhide

Author SHA1 Message Date
Remi Collet ba3c739ab6 rebuild for new libsodium 2023-10-05 09:37:34 +02:00
Fedora Release Engineering add382b51c Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 12:50:57 +00:00
Python Maint 9a9f6a4f15 Rebuilt for Python 3.12 2023-06-15 11:13:49 +02:00
Fedora Release Engineering 30bcce1f4e Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 16:12:25 +00:00
Major Hayden 0be87d10a7
Update to 1.5.0 (#2038614)
Signed-off-by: Major Hayden <major@mhtx.net>
2022-08-31 09:37:01 -05:00
Fedora Release Engineering 5b16857123 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 21:21:26 +00:00
Python Maint e86e7b63b1 Rebuilt for Python 3.11 2022-06-13 18:57:24 +02:00
Carl George 28387ac15d Convert to pyproject macros 2022-05-11 13:50:27 -05:00
Fedora Release Engineering 60473c05e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 14:37:43 +00:00
Fedora Release Engineering a3c788a953 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 08:40:25 +00:00
Python Maint 824c107920 Rebuilt for Python 3.10 2021-06-04 02:00:52 +02:00
Fedora Release Engineering a4c48252a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 12:40:22 +00:00
Damien Ciabrini 01acaa9839 Update to 1.4.0 (#1840424) 2020-08-26 11:32:33 +02:00
Fedora Release Engineering b9c714693a - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 03:09:38 +00:00
Miro Hrončok e2125cb7fc Rebuilt for Python 3.9 2020-05-24 02:36:26 +02:00
Miro Hrončok 627f9318ab Fix build with hypothesis 5
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1830961
2020-05-11 12:36:52 +02:00
Fedora Release Engineering 818bc768ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 14:29:10 +00:00
Miro Hrončok f4941a2ee3 Subpackage python2-pynacl has been removed 2019-10-13 12:30:52 +02:00
Miro Hrončok 1b359c133b Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:25:28 +02:00
Miro Hrončok 50221b7b2f Rebuilt for Python 3.8 2019-08-19 10:52:10 +02:00
Fedora Release Engineering c262d27ac5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 15:34:07 +00:00
Miro Hrončok 36c1895f29 hypothesis 4 support (#1704924) 2019-05-03 01:50:30 +02:00
yatin 9ba168810f Update to latest release i.e 1.3.0
Update to latest release from Sept 2018 i.e. 1.3.0.
2019-02-15 16:27:30 +05:30
Fedora Release Engineering 16c3183d4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 08:40:23 +00:00
Fedora Release Engineering c68c8ea41c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 01:38:32 +00:00
Igor Gnatenko 70937b7434 add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-10 15:56:26 +02:00
Miro Hrončok b08218351e Prolong the deadline for tests on s390x
Don't ignore the test results on arm, do the same as on s390x
2018-06-26 15:39:03 +02:00
Miro Hrončok a0e85d8795 Rebuilt for Python 3.7 2018-06-19 11:15:11 +02:00
Igor Gnatenko 82641f99bc
Update to 1.2.1
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-03-27 20:11:53 +02:00
3 changed files with 111 additions and 64 deletions

4
.gitignore vendored
View File

@ -2,3 +2,7 @@
/pynacl-1.1.1.tar.gz
/pynacl-1.1.2.tar.gz
/pynacl-1.2.0.tar.gz
/pynacl-1.2.1.tar.gz
/pynacl-1.3.0.tar.gz
/pynacl-1.4.0.tar.gz
/pynacl-1.5.0.tar.gz

View File

@ -3,104 +3,147 @@
%global modname pynacl
Name: python-%{modname}
Version: 1.2.0
Release: 2%{?dist}
Version: 1.5.0
Release: 5%{?dist}
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
BuildRequires: gcc
BuildRequires: libsodium-devel
%global _description \
PyNaCl is a Python binding to the Networking and Cryptography library,\
a crypto library with the stated goal of improving usability, security\
and speed.
%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.}
%description %{_description}
%package -n python2-%{modname}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{modname}}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-cffi >= 1.4.1
%if %{with check}
BuildRequires: python2-six
BuildRequires: python2-pytest >= 3.2.1
BuildRequires: python2-hypothesis >= 3.27.0
%endif
Requires: python2-cffi >= 1.4.1
Requires: python2-six
%description -n python2-%{modname} %{_description}
Python 2 version.
%package -n python3-%{modname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{modname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-cffi >= 1.4.1
%if %{with check}
BuildRequires: python3-six
BuildRequires: python3-pytest >= 3.2.1
BuildRequires: python3-hypothesis >= 3.27.0
%endif
Requires: python3-cffi >= 1.4.1
Requires: python3-six
%description -n python3-%{modname} %{_description}
Python 3 version.
%prep
%autosetup -n %{modname}-%{version}
%autosetup -p1 -n %{modname}-%{version}
# Remove bundled libsodium, to be sure
rm -vrf src/libsodium/
# 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
%generate_buildrequires
%pyproject_buildrequires %{?with_check:-x tests}
%build
export SODIUM_INSTALL=system
%py2_build
%py3_build
%pyproject_wheel
%install
%py2_install
%py3_install
%pyproject_install
%pyproject_save_files nacl
%if %{with check}
%check
# ARM is too slow for upstream tests
# https://github.com/pyca/pynacl/issues/370
PYTHONPATH=%{buildroot}%{python2_sitearch} py.test-%{python2_version} -v \
%ifarch %{arm}
|| :
%if %{with check}
%pytest
%else
;
%endif
PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -v \
%ifarch %{arm}
|| :
%else
;
%endif
%pyproject_check_import
%endif
%files -n python2-%{modname}
%license LICENSE
%files -n python3-%{modname} -f %{pyproject_files}
%doc README.rst
%{python2_sitearch}/PyNaCl-*.egg-info/
%{python2_sitearch}/nacl/
%files -n python3-%{modname}
%license LICENSE
%doc README.rst
%{python3_sitearch}/PyNaCl-*.egg-info/
%{python3_sitearch}/nacl/
%changelog
* Thu Oct 05 2023 Remi Collet <remi@remirepo.net> - 1.5.0-5
- rebuild for new libsodium
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1.5.0-3
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Aug 31 2022 Major Hayden <major@mhtx.net> - 1.5.0-1
- Update to 1.5.0 (#2038614)
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4.0-7
- Rebuilt for Python 3.11
* Wed May 11 2022 Carl George <carl@george.computer> - 1.4.0-6
- Convert to pyproject macros
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4.0-3
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Aug 26 2020 Damien Ciabrini <dciabrin@redhat.com> - 1.4.0-1
- Update to 1.4.0 (#1840424)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-8
- Rebuilt for Python 3.9
* Mon May 11 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-7
- Fix build with hypothesis 5 (#1830961)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* 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
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-4
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-3
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 15 2019 Yatin Karel <ykarel@redhat.com> - 1.3.0-1
- Update to 1.3.0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-2
- Rebuilt for Python 3.7
- Prolong the deadline for tests on s390x
- Don't ignore the test results on arm, do the same as on s390x
* Tue Mar 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.1-1
- Update to 1.2.1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pynacl-1.2.0.tar.gz) = ffc3b91766aad9d0d21c88c198ebb7520d204e58ffbcac815a382af7eaf9b489f85ae6c2fc4cfe4dd5e04576062bfe248bdcc08fb42bf184a73e41f4352c7bd1
SHA512 (pynacl-1.5.0.tar.gz) = 905d3a7ce7f758b31a5d34471d5a0202fd2ba3d904a7ec59a158bcd1ea572fc87e29fc144c733d151cbaa48788c939808bc51d00acc973fe6d190eefdd3bfd59