Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b099954c88 | |||
| 4c26fc1662 | |||
| a410145056 | |||
| cd620e3212 | |||
| 266f0a0432 | |||
| 98157b867f |
@@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 25 13:52:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives on SLE-16-based and newer systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 10:02:41 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.5.3:
|
||||
* EXTENSION is now recognized as a keyword (issue785).
|
||||
* SQL hints are not removed when removing comments (issue262,
|
||||
by skryzh).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 19 07:42:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.5.1:
|
||||
* New "compact" option for formatter. If set, the formatter
|
||||
tries to produce a more compact output by avoiding some line
|
||||
breaks
|
||||
* The strip comments filter was a bit greedy and removed too
|
||||
much whitespace (issue772). Note: In some cases you might want
|
||||
to add `strip_whitespace=True` where you previously used just
|
||||
`strip_comments=True`. `strip_comments` did some of the
|
||||
work that `strip_whitespace` should do.
|
||||
* Fix error when splitting statements that contain multiple
|
||||
CASE clauses within a BEGIN block (issue784).
|
||||
* Fix whitespace removal with nested expressions (issue782).
|
||||
* Fix parsing and formatting of ORDER clauses containing NULLS
|
||||
FIRST or NULLS LAST (issue532).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 02:21:45 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sqlparse
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-sqlparse
|
||||
Version: 0.5.0
|
||||
Version: 0.5.3
|
||||
Release: 0
|
||||
Summary: Non-validating SQL parser
|
||||
License: BSD-3-Clause
|
||||
@@ -31,9 +36,14 @@ BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -59,6 +69,9 @@ chmod -x sqlparse/cli.py
|
||||
%postun
|
||||
%python_uninstall_alternative sqlformat
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative sqlformat
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
|
||||
BIN
sqlparse-0.5.0.tar.gz
LFS
BIN
sqlparse-0.5.0.tar.gz
LFS
Binary file not shown.
BIN
sqlparse-0.5.3.tar.gz
LFS
Normal file
BIN
sqlparse-0.5.3.tar.gz
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user