forked from pool/python-cli-helpers
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 1b6fa33bd2 | |||
| 224ae7b2c0 | |||
| 77a90a978d | |||
| 708853368f | |||
| c2bb68e7e2 | |||
| 0f8a76c081 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b82a8983ceee21f180e6fd0ddb7ca8dae43c40e920951e3817f996ab204dae6a
|
|
||||||
size 36246
|
|
||||||
3
cli_helpers-2.7.0.tar.gz
Normal file
3
cli_helpers-2.7.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:62d11710dbebc2fc460003de1215688325d8636859056d688b38419bd4048bc0
|
||||||
|
size 40089
|
||||||
@@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 14 21:02:09 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.7.0:
|
||||||
|
* Add `mysql` and `mysql_unicode` output formats which right-
|
||||||
|
align numbers.
|
||||||
|
* Register the JSON formats so they are actually usable.
|
||||||
|
* Make JSON formats able to encode Decimals and None/NULLs.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 12 11:40:58 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.5.0:
|
||||||
|
* Added noheader CSV and TSV output formats.
|
||||||
|
* Added `jsonl` and `jsonl_escaped` output formats.
|
||||||
|
* Added format_timestamps preprocessor for per-column date/time
|
||||||
|
formatting.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 15 13:08:11 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 18 10:46:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Mar 18 10:46:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-cli-helpers
|
# spec file for package python-cli-helpers
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,16 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%bcond_without python2
|
|
||||||
Name: python-cli-helpers
|
Name: python-cli-helpers
|
||||||
Version: 2.3.1
|
Version: 2.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Helpers for building command-line apps
|
Summary: Helpers for building command-line apps
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/dbcli/cli_helpers
|
URL: https://github.com/dbcli/cli_helpers
|
||||||
Source: https://files.pythonhosted.org/packages/source/c/cli_helpers/cli_helpers-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/c/cli_helpers/cli_helpers-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Pygments >= 2.4
|
Requires: python-Pygments >= 2.4
|
||||||
@@ -68,10 +68,10 @@ other libraries.
|
|||||||
%setup -q -n cli_helpers-%{version}
|
%setup -q -n cli_helpers-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -80,6 +80,7 @@ other libraries.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst AUTHORS CHANGELOG docs
|
%doc README.rst AUTHORS CHANGELOG docs
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/cli[-_]helpers
|
||||||
|
%{python_sitelib}/cli[-_]helpers-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user