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