13 Commits

Author SHA1 Message Date
b9933ef8c7 Update to 3.0.7 2025-08-04 14:12:01 +02:00
scm-staging-bot
f2ee568ed8 Merge pull request 'Update to 3.0.5' (#13) from VaiTon/python-cloup:factory into factory 2024-04-18 05:01:16 +02:00
9768960270 Update to 3.0.5
Some checks failed
obs/scm/build
2024-04-16 02:03:42 +02:00
scm-staging-bot
bee02b06ec Merge pull request 'Update to 3.0.3' (#12) from dirkmueller/python-cloup:factory into factory 2023-12-08 22:31:38 +01:00
Dirk Müller
3c7ec77388 Update to 3.0.3
Some checks failed
obs/scm/build
2023-12-07 18:26:48 +01:00
scm-staging-bot
a651049e7c Merge pull request 'Update to 3.0.2' (#9) from mimi_vx/python-cloup:factory into factory 2023-10-20 05:01:30 +02:00
117fc732a8 Update to 3.0.2 2023-10-19 17:23:31 +02:00
ca018f0419 Force sync with Factory 2023-09-25 10:14:05 +02:00
scm-staging-bot
01e8e36dfc Merge pull request 'Sync with OBS' (#3) from VaiTon/python-cloup:factory into factory 2023-07-31 15:54:21 +02:00
6e750787fe Added VC for git workflow integration
Some checks failed
obs/scm/build
2023-07-20 13:04:37 +02:00
6dde90d56f Sync with OBS
Some checks failed
obs/scm/build
Following https://opensuse.github.io/scm-staging/user_guide.html pt.3
2023-07-20 12:55:04 +02:00
6b136ea4cb Accepting request 1092273 from devel:languages:python
- update to 2.1.1:
  * Fix usage styling: the `heading` style was mistakenly applied
    to the space after "Usage:". This was a problem when using
    underlined headings: the space got underlined too. (fixed
  * Full Changelog
    https://github.com/janluke/cloup/compare/v2.1.0...v2.1.1

OBS-URL: https://build.opensuse.org/request/show/1092273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloup?expand=0&rev=3
2023-06-12 13:25:57 +00:00
c79b6861fb Accepting request 1087197 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1087197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloup?expand=0&rev=2
2023-05-15 14:54:38 +00:00
5 changed files with 69 additions and 15 deletions

BIN
cloup-2.0.0.post1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
cloup-2.1.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
cloup-3.0.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,59 @@
-------------------------------------------------------------------
Mon Aug 4 12:10:02 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 3.0.7
* Fix: constraints not working with options having more than 2 names
by @tylerduffin and @janluke in #188
- Update to 3.0.6
* Remove support for EOL Python version (3.7) by @ulgens in #179
* Add Python 3.12 to tests and supported versions list by @ulgens in #181
* click 8.2: make_metavar() takes a context parameter now
by @ppentchev in #186
-------------------------------------------------------------------
Tue Apr 16 00:01:00 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>
- Update to 3.0.5
* Allow to set dunder attributes in FrozenSpaceMeta to solve incompatibility with autodoc
- Update to 3.0.4
* Fix: command alias were ignored when subcommands were passed as argument to Group()
-------------------------------------------------------------------
Thu Dec 7 17:25:53 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.0.3:
* Redefine click.pass_context and click.get_current_context to
use cloup.Context in place of click.Context
-------------------------------------------------------------------
Thu Oct 19 14:38:42 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 3.0.2
* Truncate help text to the first form feed, like click
* Fix: Constraint.__getattr__ was returning None instead of raising AttributeError
-------------------------------------------------------------------
Wed Jul 26 16:03:22 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.0.0:
* The breaking change should not affect anyone but I have to
increase the major version anyway.
* `HelpTheme` as `dataclass` rather than `NamedTuple`
-------------------------------------------------------------------
Thu Jul 20 11:04:09 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
- Integrate with git workflow
-------------------------------------------------------------------
Fri Jul 14 14:40:26 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
- Update to 2.1.2
* Fix: default to Group.command_class and Group.group_class when creating subcommands by @janluke in #162
* Upgrade dev dependencies (no docs) by @janluke in #161
Full changelog: https://github.com/janluke/cloup/compare/v2.1.1...v2.1.2
-------------------------------------------------------------------
Sun Jun 11 11:49:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -31,4 +87,4 @@ Mon May 15 08:39:44 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
-------------------------------------------------------------------
Mon Jan 30 00:12:13 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
- Version 2.0.0
- Version 2.0.0

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cloup
#
# Copyright (c) 2023 SUSE LLC
# 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
@@ -17,23 +17,24 @@
Name: python-cloup
Version: 2.1.1
Version: 3.0.7
Release: 0
Summary: Option groups, constraints, subcommand sections and help themes for Click
License: BSD-3-Clause
URL: https://github.com/janLuke/cloup
Source: https://files.pythonhosted.org/packages/source/c/cloup/cloup-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click >= 8.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module click >= 8.0}
BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes
Requires: python-click >= 8.0
Suggests: python-typing_extensions
BuildArch: noarch
%python_subpackages
%description
@@ -44,10 +45,10 @@ constraints, subcommand sections and help themes.
%autosetup -n cloup-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check