- Skip test failing with new click and create an issue upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-option-group?expand=0&rev=7
This commit is contained in:
2025-01-16 12:27:12 +00:00
committed by Git OBS Bridge
commit b2644c80f2
5 changed files with 120 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97d06703873518cc5038509443742b25069a3c7562d1ea72ff08bfadde1ce777
size 16517

View File

@@ -0,0 +1,24 @@
-------------------------------------------------------------------
Thu Jan 16 11:44:42 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Skip test failing with new click and create an issue upstream
-------------------------------------------------------------------
Tue Jun 20 16:50:45 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.5.6:
* Add `optgroup.help_option` decorator to add help option to
the group (PR #50)
* Use GitHub Actions instead of Travis CI for CI
* Delete tox runner
* Add Python 3.11 to the setup classifiers
-------------------------------------------------------------------
Sun May 14 06:14:06 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- remove Suggests for coverage packages
-------------------------------------------------------------------
Fri May 12 12:42:24 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- new package python-click-option-group, required by pynitrokey

View File

@@ -0,0 +1,69 @@
#
# spec file for package python-click-option-group
#
# Copyright (c) 2025 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/
#
%{?sle15_python_module_pythons}
Name: python-click-option-group
Version: 0.5.6
Release: 0
Summary: Option groups missing in Click
License: BSD-3-Clause
URL: https://github.com/click-contrib/click-option-group
Source: https://files.pythonhosted.org/packages/source/c/click-option-group/click-option-group-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module click >= 7.0}
# /SECTION
BuildRequires: fdupes
BuildRequires: dos2unix
Requires: python-click >= 7.0
Suggests: python-Sphinx >= 3.0
Suggests: python-Pallets-Sphinx-Themes
Suggests: python-m2r2
Suggests: python-pytest
BuildArch: noarch
%python_subpackages
%description
Option groups missing in Click
%prep
%setup -q -n click-option-group-%{version}
%build
%pyproject_wheel
dos2unix README.md CHANGELOG.md
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# test_missing_group_decl_first_api fails with click 8.1.8 https://github.com/click-contrib/click-option-group/issues/65
%pytest -k "not test_missing_group_decl_first_api"
%files %{python_files}
%doc CHANGELOG.md README.md
%license LICENSE
%{python_sitelib}/click_option_group
%{python_sitelib}/click_option_group-%{version}.dist-info/
%changelog