|
 |
c75f694 |
%global pypi_name scrypt
|
|
 |
c75f694 |
|
|
 |
c75f694 |
%global common_desc Python scrypt bindings This is a set of Python bindings \
|
|
 |
c75f694 |
for the scrypt key derivation function. Scrypt is useful when encrypting \
|
|
 |
c75f694 |
password as it is possible to specify a *minimum* amount of time to use when \
|
|
 |
c75f694 |
encrypting and decrypting. If, for example, a password takes 0.05 seconds to \
|
|
 |
c75f694 |
verify, a user won't notice the slight delay when signing in, but doing a \
|
|
 |
c75f694 |
brute force search of several...
|
|
 |
c75f694 |
|
|
 |
c75f694 |
|
|
 |
c75f694 |
Name: python-%{pypi_name}
|
|
 |
8123c14 |
Version: 0.8.20
|
|
 |
6ee870c |
Release: 3%{?dist}
|
|
 |
c75f694 |
Summary: Bindings for the scrypt key derivation function library
|
|
 |
c75f694 |
|
|
 |
c75f694 |
License: BSD
|
|
 |
c75f694 |
URL: http://bitbucket.org/mhallin/py-scrypt
|
|
 |
c75f694 |
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
 |
c75f694 |
|
|
 |
491435f |
BuildRequires: gcc
|
|
 |
c75f694 |
BuildRequires: openssl-devel
|
|
 |
c75f694 |
|
|
 |
c75f694 |
# Missing license file: https://bitbucket.org/mhallin/py-scrypt/issues/31
|
|
 |
c75f694 |
# Broken tests in source tarball: https://bitbucket.org/mhallin/py-scrypt/issues/21
|
|
 |
c75f694 |
|
|
 |
c75f694 |
%description
|
|
 |
c75f694 |
%{common_desc}
|
|
 |
c75f694 |
|
|
 |
c75f694 |
%package -n python3-%{pypi_name}
|
|
 |
c75f694 |
Summary: Bindings for the scrypt key derivation function library
|
|
 |
c75f694 |
BuildRequires: python3-devel
|
|
 |
c75f694 |
BuildRequires: python3-setuptools
|
|
 |
c75f694 |
Provides: bundled(scrypt) = 1.2.0
|
|
 |
c75f694 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
c75f694 |
|
|
 |
c75f694 |
%description -n python3-%{pypi_name}
|
|
 |
c75f694 |
%{common_desc}
|
|
 |
c75f694 |
|
|
 |
c75f694 |
|
|
 |
c75f694 |
%prep
|
|
 |
c75f694 |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
c75f694 |
# Remove bundled egg-info
|
|
 |
c75f694 |
rm -rf %{pypi_name}.egg-info
|
|
 |
8123c14 |
# remove useless shebang
|
|
 |
8123c14 |
sed -i '1d' scrypt/scrypt.py
|
|
 |
c75f694 |
|
|
 |
c75f694 |
%build
|
|
 |
c75f694 |
%py3_build
|
|
 |
c75f694 |
|
|
 |
c75f694 |
%install
|
|
 |
c75f694 |
%py3_install
|
|
 |
c75f694 |
|
|
 |
c75f694 |
|
|
 |
c75f694 |
%files -n python3-%{pypi_name}
|
|
 |
c75f694 |
%doc README.rst
|
|
 |
8123c14 |
%{python3_sitearch}/%{pypi_name}
|
|
 |
c75f694 |
%{python3_sitearch}/_%{pypi_name}*.so
|
|
 |
d13dfa2 |
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
 |
c75f694 |
|
|
 |
c75f694 |
%changelog
|
|
 |
6ee870c |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.20-3
|
|
 |
6ee870c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
 |
6ee870c |
|
|
 |
0d2b04b |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.8.20-2
|
|
 |
0d2b04b |
- Rebuilt for Python 3.12
|
|
 |
0d2b04b |
|
|
 |
8123c14 |
* Thu Feb 2 2023 Haïkel Guémar <hguemar@fedoraproject.org> - 0.8.20-1
|
|
 |
8123c14 |
- Upstream 0.8.20
|
|
 |
8123c14 |
|
|
 |
0872832 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-22
|
|
 |
0872832 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
0872832 |
|
|
 |
cc46aa9 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-21
|
|
 |
cc46aa9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
cc46aa9 |
|
|
 |
02523c2 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.8.0-20
|
|
 |
02523c2 |
- Rebuilt for Python 3.11
|
|
 |
02523c2 |
|
|
 |
3c11c3e |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-19
|
|
 |
3c11c3e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
3c11c3e |
|
|
 |
cbc49f6 |
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.8.0-18
|
|
 |
cbc49f6 |
- Rebuilt with OpenSSL 3.0.0
|
|
 |
cbc49f6 |
|
|
 |
8ec18cc |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-17
|
|
 |
8ec18cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
8ec18cc |
|
|
 |
62a5e71 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.8.0-16
|
|
 |
62a5e71 |
- Rebuilt for Python 3.10
|
|
 |
62a5e71 |
|
|
 |
913446e |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-15
|
|
 |
913446e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
913446e |
|
|
 |
1f7d006 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-14
|
|
 |
1f7d006 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
1f7d006 |
|
|
 |
df7fb0a |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-13
|
|
 |
df7fb0a |
- Rebuilt for Python 3.9
|
|
 |
df7fb0a |
|
|
 |
7eaa587 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-12
|
|
 |
7eaa587 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
7eaa587 |
|
|
 |
fc5f63a |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-11
|
|
 |
fc5f63a |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
fc5f63a |
|
|
 |
254ad37 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-10
|
|
 |
254ad37 |
- Rebuilt for Python 3.8
|
|
 |
254ad37 |
|
|
 |
46f7909 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-9
|
|
 |
46f7909 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
46f7909 |
|
|
 |
9f99804 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-8
|
|
 |
9f99804 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
9f99804 |
|
|
 |
7b16a06 |
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.8.0-7
|
|
 |
7b16a06 |
- Python2 binary package has been removed
|
|
 |
7b16a06 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
 |
7b16a06 |
|
|
 |
c6a36d6 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-6
|
|
 |
c6a36d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
c6a36d6 |
|
|
 |
e9a5dec |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-5
|
|
 |
e9a5dec |
- Rebuilt for Python 3.7
|
|
 |
e9a5dec |
|
|
 |
aa2f04a |
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8.0-4
|
|
 |
aa2f04a |
- Update Python 2 dependency declarations to new packaging standards
|
|
 |
aa2f04a |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
 |
aa2f04a |
|
|
 |
fb8f8fc |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
|
 |
fb8f8fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
fb8f8fc |
|
|
 |
c75f694 |
* Wed Jun 7 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 0.8.0-2
|
|
 |
c75f694 |
- Add virtual provides for bundled code
|
|
 |
c75f694 |
|
|
 |
c75f694 |
* Fri Jun 2 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 0.8.0-1
|
|
 |
c75f694 |
- Initial package.
|