Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7b77ac7495 | |||
| 8bbbf1b33f | |||
| 91058e7401 | |||
| 1f853f7e79 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:77d7304f995a2996d4b09efc7dc5757943a2d5a6cbadbccb52d4bee238a7cdcc
|
|
||||||
size 100657
|
|
||||||
3
dictknife-0.14.2.tar.gz
Normal file
3
dictknife-0.14.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0575b05a25291988ef389f87dc6044d1f6c8db7d2ad00f9730b0262364c29432
|
||||||
|
size 115197
|
||||||
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 27 12:37:16 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.14.2
|
||||||
|
* Use hatch (#205)
|
||||||
|
* style: fmt
|
||||||
|
* fix: fix for lint
|
||||||
|
* chore: refine github actions (#206)
|
||||||
|
* Typing (#207)
|
||||||
|
* Create AGENTS.md for jules (#210)
|
||||||
|
* Refactor: Migrate to src layout (#211)
|
||||||
|
* feat: Add English docstrings to public APIs (#212)
|
||||||
|
* Update AGENTS.md
|
||||||
|
* Add docstrings to public APIs in dictknife.loading
|
||||||
|
and submodules (#213)
|
||||||
|
* fix: fix type, loading module
|
||||||
|
* chore: bump version
|
||||||
|
- Drop support-python-310.patch, fixed upstream
|
||||||
|
- Update BuildRequires from pyproject.toml
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 5 06:01:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 18 10:48:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Mar 18 10:48:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-dictknife
|
# spec file for package python-dictknife
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -18,21 +18,23 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-dictknife
|
Name: python-dictknife
|
||||||
Version: 0.14.1
|
Version: 0.14.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Army knife of handling data
|
Summary: Army knife of handling data
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/podhmo/dictknife
|
URL: https://github.com/podhmo/dictknife
|
||||||
Source: https://github.com/podhmo/dictknife/archive/%{version}.tar.gz#/dictknife-%{version}.tar.gz
|
Source: https://github.com/podhmo/dictknife/archive/%{version}.tar.gz#/dictknife-%{version}.tar.gz
|
||||||
Patch0: support-python-310.patch
|
|
||||||
BuildRequires: %{python_module google-api-python-client}
|
BuildRequires: %{python_module google-api-python-client}
|
||||||
BuildRequires: %{python_module google-auth-oauthlib}
|
BuildRequires: %{python_module google-auth-oauthlib}
|
||||||
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module jsonpatch}
|
BuildRequires: %{python_module jsonpatch}
|
||||||
BuildRequires: %{python_module magicalimport}
|
BuildRequires: %{python_module magicalimport}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module prestring}
|
BuildRequires: %{python_module prestring}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module ruamel.yaml}
|
BuildRequires: %{python_module ruamel.yaml}
|
||||||
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(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@@ -57,10 +59,10 @@ JSON pointer syntax.
|
|||||||
%autosetup -p1 -n dictknife-%{version}
|
%autosetup -p1 -n dictknife-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dictknife
|
%python_clone -a %{buildroot}%{_bindir}/dictknife
|
||||||
%python_clone -a %{buildroot}%{_bindir}/jsonknife
|
%python_clone -a %{buildroot}%{_bindir}/jsonknife
|
||||||
%python_clone -a %{buildroot}%{_bindir}/swaggerknife
|
%python_clone -a %{buildroot}%{_bindir}/swaggerknife
|
||||||
|
|||||||
@@ -1,33 +0,0 @@
|
|||||||
Index: dictknife-0.14.0/dictknife/tests/cliutils/test_extraarguments.py
|
|
||||||
===================================================================
|
|
||||||
--- dictknife-0.14.0.orig/dictknife/tests/cliutils/test_extraarguments.py
|
|
||||||
+++ dictknife-0.14.0/dictknife/tests/cliutils/test_extraarguments.py
|
|
||||||
@@ -1,3 +1,4 @@
|
|
||||||
+import sys
|
|
||||||
import textwrap
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
@@ -22,18 +23,21 @@ class Tests(unittest.TestCase):
|
|
||||||
return target
|
|
||||||
|
|
||||||
def test_help_message(self):
|
|
||||||
+ ending = "al arguments"
|
|
||||||
+ if sys.version_info >= (3, 10):
|
|
||||||
+ ending = "s"
|
|
||||||
target = self._makeOne()
|
|
||||||
expected = textwrap.dedent(
|
|
||||||
"""
|
|
||||||
usage: cmd [-h]
|
|
||||||
|
|
||||||
- options:
|
|
||||||
+ option%s:
|
|
||||||
-h, --help show this help message and exit
|
|
||||||
|
|
||||||
extra arguments: (with --extra<option>)
|
|
||||||
for --format=json:
|
|
||||||
--sort-keys sort keys
|
|
||||||
- """
|
|
||||||
+ """ % (ending, )
|
|
||||||
).strip()
|
|
||||||
|
|
||||||
actual = target.parser.format_help().strip()
|
|
||||||
Reference in New Issue
Block a user