Blame SPECS/python-scrypt.spec

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