14
0
Files
python-py-partiql-parser/python-py-partiql-parser.spec
Matej Cepl 29ca2d2dc1 Accepting request 1123373 from home:bnavigator:branches:devel:languages:python:aws
- Update to 0.4.2
  * Support for Python 3.12
- Release 0.4.1
  * Increased support for WHERE-clauses:
    - Nested clauses
    - OR-clauses
    - Functions: attribute_type, IF (NOT) MISSING, comparison
      operators (<, >)
- Release 0.4.0
  * The DynamoDBStatementParser now expects a document in the
    DynamoDB format: {"a1": {"S": "b1"}, "a2": {"S": "b2"}}
  * Adds validation for tables that start with a number
  * Adds support for queries that have a table name surrounded by
    quotes
- Release 0.3.8
  * Support JSON documents containing (lists of) BOOLeans
- Release 0.3.6
  * Allow where-clauses for lists, such as where a[1] = '..'
- The `test` top-level install has been fixed. Remove rm command.

OBS-URL: https://build.opensuse.org/request/show/1123373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-partiql-parser?expand=0&rev=5
2023-11-05 07:24:54 +00:00

58 lines
1.7 KiB
RPMSpec

#
# spec file for package python-py-partiql-parser
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-py-partiql-parser
Version: 0.4.2
Release: 0
Summary: Pure Python PartiQL Parser
License: MIT
URL: https://github.com/getmoto/py-partiql-parser
Source: https://github.com/getmoto/py-partiql-parser/archive/refs/tags/%{version}.tar.gz#/py-partiql-parser-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 59.0.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Pure Python PartiQL Parser
%prep
%autosetup -p1 -n py-partiql-parser-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/py_partiql_parser
%{python_sitelib}/py_partiql_parser-%{version}.dist-info
%changelog