Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frispete:python
python-simple-pbkdf2
python-simple-pbkdf2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-simple-pbkdf2.spec of Package python-simple-pbkdf2
# # spec file for package python-simple-pbkdf2 # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define pypi_name simple-pbkdf2 %define python_name pbkdf2 Name: python-simple-pbkdf2 Version: 1.0 Release: 0 Url: https://github.com/mitsuhiko/python-pbkdf2 Summary: PBKDF2 for Python License: BSD-3-Clause Group: Development/Libraries/Python Source: %{pypi_name}-%{version}.tar.gz Patch: fix-python3.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages %description PBKDF2 for Python because bcrypt is overkill. Unlike bcrypt this is easy to understand, secure enough given a sufficently random salt and implemented on top of the stdlib in about 20 lines of code. Also easy to understand and analyze. %prep %setup -q -n %{pypi_name}-%{version} %patch -p1 %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check pushd $(pwd)/build/lib %python_exec pbkdf2.py popd %files %{python_files} %doc README %{python_sitelib}/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor