14
0
Files
python-python-sql/python-python-sql.spec
Dirk Mueller 3a20ef9405 - update to 1.4.3:
* Render common table expression in combining query
  * Add support for Python 3.12
  * Restore usage of alias in returning expression
  * Do not use alias in returning expression
  * Support Select queries in conditionals and functions
- Version 1.2.0
- Version 0.9
- corrected name/metaname
  correct License
- Version 0.8
- update to version 0.3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-sql?expand=0&rev=17
2024-01-09 22:05:09 +00:00

59 lines
1.6 KiB
RPMSpec

#
# spec file
#
# Copyright (c) 2024 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/
#
%define base_name python-sql
Name: python-%{base_name}
Version: 1.4.3
Release: 0
Summary: Library to write SQL queries
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://pypi.io/project/python-sql
Source: https://pypi.io/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
python-sql is a library to write SQL queries in a pythonic way.
%prep
%setup -q -n %{base_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%check
mv sql sql_hide
%pyunittest discover -v
mv sql_hide sql
%files %{python_files}
%license COPYRIGHT
%doc README.rst
%{python_sitelib}/sql
%{python_sitelib}/python_sql-%{version}.dist-info
%changelog