From 5c53d9f0dc17af512bb3cb1dead0fe79f5f505d1f98a9db2de5255c9a4e4db57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 3 Oct 2018 08:42:26 +0000 Subject: [PATCH 1/2] Accepting request 639726 from home:DocB:branches:devel:languages:python - Version 1.0.0 * Add Flavor filter_ to fallback to case expression * Allow to use expression in AtTimeZone * Add comparison predicates * Add COLLATE * various bugfixes OBS-URL: https://build.opensuse.org/request/show/639726 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-sql?expand=0&rev=6 --- python-python-sql.changes | 10 ++++++++++ python-python-sql.spec | 16 ++++++++-------- python-sql-0.9.tar.gz | 3 --- python-sql-1.0.0.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 11 deletions(-) delete mode 100644 python-sql-0.9.tar.gz create mode 100644 python-sql-1.0.0.tar.gz diff --git a/python-python-sql.changes b/python-python-sql.changes index d7b847d..d086c87 100644 --- a/python-python-sql.changes +++ b/python-python-sql.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Oct 1 08:59:59 UTC 2018 - Axel Braun + +- Version 1.0.0 + * Add Flavor filter_ to fallback to case expression + * Allow to use expression in AtTimeZone + * Add comparison predicates + * Add COLLATE + * various bugfixes + ------------------------------------------------------------------- Mon Apr 24 11:49:18 UTC 2017 - axel.braun@gmx.de diff --git a/python-python-sql.spec b/python-python-sql.spec index d626aed..ac9b641 100644 --- a/python-python-sql.spec +++ b/python-python-sql.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-sql # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,21 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define base_name python-sql Name: python-%{base_name} -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -Version: 0.9 +Version: 1.0.0 Release: 0 Source: https://pypi.io/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz Url: https://pypi.io/project/python-sql -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif Summary: Library to write SQL queries License: BSD-3-Clause Group: Development/Languages/Python @@ -49,8 +45,12 @@ python-sql is a library to write SQL queries in a pythonic way. %install %python_install +%check +%python_exec setup.py test + %files %{python_files} %defattr(-,root,root) +##%license LICENSE %doc README %{python_sitelib}/* diff --git a/python-sql-0.9.tar.gz b/python-sql-0.9.tar.gz deleted file mode 100644 index 1e1128c..0000000 --- a/python-sql-0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:07b51cc1c977ef5480fe671cae5075ad4b68a6fc67f4569782e06f012456d35c -size 30219 diff --git a/python-sql-1.0.0.tar.gz b/python-sql-1.0.0.tar.gz new file mode 100644 index 0000000..94ee051 --- /dev/null +++ b/python-sql-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bbbb1eef667679316ec9fc415f0b616a098e482b41eea73ed4945e0cd48d116 +size 31268 From 505e05607aaf060a0ca3342856e1a3d81dd95e8180ba2dd4c24c79f108ff3e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 3 Oct 2018 08:46:16 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-sql?expand=0&rev=7 --- python-python-sql.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/python-python-sql.spec b/python-python-sql.spec index ac9b641..0c7c746 100644 --- a/python-python-sql.spec +++ b/python-python-sql.spec @@ -17,20 +17,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} - %define base_name python-sql Name: python-%{base_name} -BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros Version: 1.0.0 Release: 0 -Source: https://pypi.io/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz -Url: https://pypi.io/project/python-sql -BuildArch: noarch Summary: Library to write SQL queries License: BSD-3-Clause Group: Development/Languages/Python -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: https://pypi.io/project/python-sql +Source: https://pypi.io/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +BuildArch: noarch %python_subpackages %description @@ -40,7 +38,7 @@ python-sql is a library to write SQL queries in a pythonic way. %setup -q -n %{base_name}-%{version} %build -%python_build +%python_build %install %python_install @@ -49,8 +47,6 @@ python-sql is a library to write SQL queries in a pythonic way. %python_exec setup.py test %files %{python_files} -%defattr(-,root,root) -##%license LICENSE %doc README %{python_sitelib}/*