43 lines
997 B
RPMSpec
43 lines
997 B
RPMSpec
%bcond_with bootstrap
|
|
|
|
Name: python-pbkdf2
|
|
Version: 1.3
|
|
Release: 1
|
|
Summary: This module implements the password-based key derivation function, PBKDF2, specified in RSA PKCS#5 v2.0.
|
|
License: MIT
|
|
URL: https://pypi.org/project/pbkdf2/
|
|
Source0: pypi.org/%{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This module implements the password-based key derivation function, PBKDF2, specified in RSA PKCS#5 v2.0.
|
|
|
|
%package -n python3-pbkdf2
|
|
Summary: password-based key derivation function
|
|
BuildRequires: python3-pytest
|
|
|
|
%description -n python3-pbkdf2
|
|
This module implements the password-based key derivation function, PBKDF2, specified in RSA PKCS#5 v2.0.
|
|
|
|
%prep
|
|
%autosetup -n pbkdf2-%{version}
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%check
|
|
%{__python3} -m pytest test/
|
|
|
|
%files -n python3-pbkdf2
|
|
%doc PKG-INFO README.txt
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
%changelog
|
|
* Tue Apr 28 2020 Wei Xiong <myeuler@163.com>
|
|
- init package
|