14
0
Files
python-py-partiql-parser/python-py-partiql-parser.spec
Steve Kowalik d496de56b7 - Update to 0.3.5:
* Packaging improvements: Include source-files in the release
- Drop patch correct-packages-decl.patch:
  * Included upstream.
- Drop patch correct-version-to-tag.patch:
  * No longer required.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-partiql-parser?expand=0&rev=3
2023-07-20 02:19:24 +00:00

61 lines
1.8 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.3.5
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 sure}
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
# tests are also installed, and we do not want that
%python_expand rm -r %{buildroot}%{$python_sitelib}/tests
%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