forked from pool/python-python-sql
Accepting request 1175383 from devel:languages:python
- Clean up the SPEC file. - version 1.5.0 * naming scheme broken upstream * Add MERGE query * Support “UPSERT” with ON CONFLICT clause on INSERT query * Remove default escape char on LIKE and ILIKE * Add GROUPING SETS, CUBE, and ROLLUP clauses for GROUP BY. OBS-URL: https://build.opensuse.org/request/show/1175383 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-sql?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 20 18:19:43 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Clean up the SPEC file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 15 08:46:55 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
- version 1.5.0
|
||||||
|
* naming scheme broken upstream
|
||||||
|
* Add MERGE query
|
||||||
|
* Support “UPSERT” with ON CONFLICT clause on INSERT query
|
||||||
|
* Remove default escape char on LIKE and ILIKE
|
||||||
|
* Add GROUPING SETS, CUBE, and ROLLUP clauses for GROUP BY.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 13 14:06:41 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
Sat Jan 13 14:06:41 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-python-sql
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
@@ -16,28 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1550
|
|
||||||
%define pythons python3
|
|
||||||
%define mypython python3
|
|
||||||
%define mysitelib %python3_sitelib
|
|
||||||
%else
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
%define mypython %pythons
|
Name: python-python-sql
|
||||||
%define mysitelib %{expand:%%%{mypython}_sitelib}
|
Version: 1.5.0
|
||||||
%endif
|
|
||||||
|
|
||||||
%define base_name python-sql
|
|
||||||
Name: python-%{base_name}
|
|
||||||
Version: 1.4.3
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library to write SQL queries
|
Summary: Library to write SQL queries
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://pypi.io/project/python-sql
|
URL: https://pypi.io/project/python-sql
|
||||||
Source: https://pypi.io/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
|
## Source: https://pypi.io/packages/source/p/python-sql/python-sql-%%{version}.tar.gz
|
||||||
|
## Naming scheme broken upsream
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/p/python_sql/python_sql-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -46,13 +39,14 @@ BuildArch: noarch
|
|||||||
python-sql is a library to write SQL queries in a pythonic way.
|
python-sql is a library to write SQL queries in a pythonic way.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{base_name}-%{version}
|
%autosetup -n python_sql-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
mv sql sql_hide
|
mv sql sql_hide
|
||||||
@@ -62,7 +56,7 @@ mv sql_hide sql
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYRIGHT
|
%license COPYRIGHT
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{mysitelib}/sql
|
%{python_sitelib}/sql
|
||||||
%{mysitelib}/python_sql-%{version}.dist-info
|
%{python_sitelib}/python_sql-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6260beff835a35d3a0aec4f1da351b0be9caa1a0d94a6cba940a7cd8dcf66269
|
|
||||||
size 33404
|
|
3
python_sql-1.5.0.tar.gz
Normal file
3
python_sql-1.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6f70516b7ead59410c35a5fe791b4252ff8f08942e997b64c8cbcba9d29a26b4
|
||||||
|
size 36355
|
Reference in New Issue
Block a user