forked from pool/python-ttp
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 35f44abde3 | |||
| 1325dd62a8 |
@@ -1,13 +0,0 @@
|
|||||||
Index: ttp-0.9.1/test/pytest/test_output_formatters.py
|
|
||||||
===================================================================
|
|
||||||
--- ttp-0.9.1.orig/test/pytest/test_output_formatters.py
|
|
||||||
+++ ttp-0.9.1/test/pytest/test_output_formatters.py
|
|
||||||
@@ -610,7 +610,7 @@ table:
|
|
||||||
parser.parse()
|
|
||||||
|
|
||||||
|
|
||||||
-test_excel_formatter_no_results_at_path_strict_true()
|
|
||||||
+# test_excel_formatter_no_results_at_path_strict_true()
|
|
||||||
|
|
||||||
|
|
||||||
def test_tabulate_formatter():
|
|
||||||
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 19 04:34:42 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.10.0:
|
||||||
|
* Removed Python2.7 support
|
||||||
|
* Lowest supported version is python 3.9
|
||||||
|
* Merged PR 131 - fixes lazy loading for Py3.14, fixes issue #133
|
||||||
|
- Drop patch fix-tests.patch, merged upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 8 10:42:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Apr 8 10:42:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-ttp
|
# spec file for package python-ttp
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -26,17 +26,15 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-ttp%{psuffix}
|
Name: python-ttp%{psuffix}
|
||||||
Version: 0.9.5
|
Version: 0.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Template Text Parser
|
Summary: Template Text Parser
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/dmulyalin/ttp
|
URL: https://github.com/dmulyalin/ttp
|
||||||
Source: https://github.com/dmulyalin/ttp/archive/refs/tags/%{version}.tar.gz#/ttp-%{version}.tar.gz
|
Source: https://github.com/dmulyalin/ttp/archive/refs/tags/%{version}.tar.gz#/ttp-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM fix-tests.patch gh#dmulyalin/ttp#90
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
Patch0: fix-tests.patch
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module poetry-core >= 1.0.0}
|
BuildRequires: %{python_module poetry-core >= 1.0.0}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module Cerberus}
|
BuildRequires: %{python_module Cerberus}
|
||||||
@@ -61,7 +59,6 @@ TTP is a Python library for semi-structured text parsing using templates.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n ttp-%{version}
|
%autosetup -p1 -n ttp-%{version}
|
||||||
rm ttp/utils/load_python_exec_py2.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
@@ -96,7 +93,7 @@ popd
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/ttp
|
%python_alternative %{_bindir}/ttp
|
||||||
%{python_sitelib}/ttp
|
%{python_sitelib}/ttp
|
||||||
%{python_sitelib}/ttp-%{version}*-info
|
%{python_sitelib}/ttp-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
3
ttp-0.10.0.tar.gz
Normal file
3
ttp-0.10.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:11cfa2a508dcd0441d4f2a4fcc20c86641813ab749b120ce6115935b291e557f
|
||||||
|
size 346923
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9a5b6ed84e306ad71256d375f27a43c44a6a4934bf3aaecd66e3865ac0225c44
|
|
||||||
size 345068
|
|
||||||
Reference in New Issue
Block a user