Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Slowroll:Base:2
python-xkcdpass
python-xkcdpass.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-xkcdpass.spec of Package python-xkcdpass
# # spec file for package python-xkcdpass # # 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/ # Name: python-xkcdpass Version: 1.19.8 Release: 0 Summary: A flexible and scriptable password generator which generates strong passphrases License: BSD-3-Clause URL: https://github.com/redacted/XKCD-password-generator Source: https://files.pythonhosted.org/packages/source/x/xkcdpass/xkcdpass-%{version}.tar.gz Patch0: fix-test-assertion-methods.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch Requires(post): update-alternatives Requires(postun): update-alternatives %python_subpackages %description A flexible and scriptable password generator which generates strong passphrases, inspired by XKCD 936 (https://xkcd.com/936/) %prep %autosetup -p1 -n xkcdpass-%{version} # Remove the shebang sed -i -e '1d' xkcdpass/xkcd_password.py %build %pyproject_wheel %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/xkcdpass %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # gh#redacted/XKCD-password-generator#138 pytest_python310_ignore="not test_entropy_printout_valid_input" pytest_python311_ignore="not test_entropy_printout_valid_input" %pytest -k "${pytest_$python_ignore}" %post %python_install_alternative xkcdpass %postun %python_uninstall_alternative xkcdpass %files %{python_files} %license LICENSE* %doc README.rst %python_alternative %{_bindir}/xkcdpass %{python_sitelib}/xkcdpass %{python_sitelib}/xkcdpass-%{version}.dist-info %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