python-pbkdf2/python-pbkdf2.spec

47 lines
1.1 KiB
RPMSpec
Raw Normal View History

2020-09-09 16:03:21 +08:00
%global srcname pbkdf2
2020-05-16 16:23:50 +08:00
%bcond_with bootstrap
2020-09-09 16:03:21 +08:00
Name: python-%{srcname}
2020-05-16 16:23:50 +08:00
Version: 1.3
2020-09-09 16:03:21 +08:00
Release: 2
2020-05-16 16:23:50 +08:00
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/
2020-09-09 16:03:21 +08:00
Source0: %{pypi_source}
2020-05-16 16:23:50 +08:00
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
2020-09-09 16:03:21 +08:00
* Wed Sep 9 2020 shixuantong <shixuantong@huawei.com> - 1.3-2
- update Source0 and rename tarball
2020-05-16 16:23:50 +08:00
* Tue Apr 28 2020 Wei Xiong <myeuler@163.com>
- init package