Blame SPECS/python-scrypt.spec

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