Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:saltstack:bundle:next:Ubuntu2404
saltbundlepy-passlib
saltbundlepy-passlib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File saltbundlepy-passlib.spec of Package saltbundlepy-passlib
# # spec file # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test %bcond_without test %else %define psuffix %{nil} %bcond_with test %endif %{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}} %define pythons saltbundlepy Name: saltbundlepy-passlib%{psuffix} Version: 1.7.4 Release: 0 Summary: Password hashing framework supporting over 20 schemes License: BSD-3-Clause URL: https://foss.heptapod.net/python-libs/passlib Source: https://files.pythonhosted.org/packages/source/p/passlib/passlib-%{version}.tar.gz # PATCH-FIX-OPENSUSE Posted to https://foss.heptapod.net/python-libs/passlib/-/issues/185 Patch0: no-pkg_resources.patch BuildRequires: %{saltbundlepy_module pip} BuildRequires: %{saltbundlepy_module setuptools} BuildRequires: %{saltbundlepy_module wheel} BuildRequires: fdupes BuildRequires: saltbundlepy-rpm-macros %if %{with test} BuildRequires: %{saltbundlepy_module bcrypt} BuildRequires: %{saltbundlepy_module cryptography} BuildRequires: %{saltbundlepy_module pytest} %endif BuildArch: noarch %python_subpackages %description Passlib is a password hashing library for Python 2 & 3. It provides implementations of over 20 password hashing algorithms, as well as a framework for managing existing password hashes. It can verify hashes found in %{_sysconfdir}/shadow, and provide password hashing for applications. %prep %autosetup -p1 -n passlib-%{version} %build %pyproject_wheel %install %if !%{with test} %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %check %if %{with test} # https://foss.heptapod.net/python-libs/passlib/-/issues/135 for the # skipped tests. %ifarch s390x %pytest -rs -k 'not (test_available_schemes or test_available_schemes or test_default_algorithm or test_empty_hash_value or test_empty_password or test_extension_config or test_invalid_hash_values or test_none_hash_value or test_unusable_flag or test_00_patch_control or test_01_overwrite_detection or test_12_config_presets or test_13_config_defaults or test_21_category_setting or test_02_handler_wrapper or test_encrypt_cost_timing)' %else %pytest -rs -k 'not (test_available_schemes or test_available_schemes or test_default_algorithm or test_empty_hash_value or test_empty_password or test_extension_config or test_invalid_hash_values or test_none_hash_value or test_unusable_flag or test_00_patch_control or test_01_overwrite_detection or test_12_config_presets or test_13_config_defaults or test_21_category_setting or test_02_handler_wrapper)' %endif %endif %if !%{with test} %files %{python_files} %license LICENSE %doc README %{python_sitelib}/passlib %{python_sitelib}/passlib-%{version}.dist-info %endif %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