From 5e12cfbf09fff8d859dacae6165c79d2e5b0385b773a107b73b2e9539930bdf1 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Thu, 30 Jun 2016 13:45:40 +0000 Subject: [PATCH] Accepting request 405684 from Application:ERP:Tryton:3.8 replacement for python-sql - package name according to naming conventions OBS-URL: https://build.opensuse.org/request/show/405684 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-sql?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + _service | 3 ++ python-python-sql.changes | 59 +++++++++++++++++++++++++++++++++++++++ python-python-sql.spec | 53 +++++++++++++++++++++++++++++++++++ python-sql-0.8.tar.gz | 3 ++ 6 files changed, 142 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 python-python-sql.changes create mode 100644 python-python-sql.spec create mode 100644 python-sql-0.8.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..5ad3ad3 --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/python-python-sql.changes b/python-python-sql.changes new file mode 100644 index 0000000..42f61a4 --- /dev/null +++ b/python-python-sql.changes @@ -0,0 +1,59 @@ +------------------------------------------------------------------- +Thu Jun 30 13:11:32 UTC 2016 - axel.braun@gmx.de + +- correct naming to python-python-sql + correct License + +------------------------------------------------------------------- +Sat Sep 19 16:17:47 UTC 2015 - axel.braun@gmx.de + +- Version 0.8 + * Add DISTINCT qualifier to aggregate expressions + * Allow to order on select queries + * Add NULL ordering + * Use UPPER to simulate missing ILIKE + * Add CURRENT_DATE function + * Fix DateTrunc function name + * Add no_boolean Flavor + * Add converter format2numeric + * Add rownum limit style + * Add no_as Flavor + +------------------------------------------------------------------- +Wed May 20 14:28:13 UTC 2015 - axel.braun@gmx.de + +- upgrade to version 0.7 + * Fix WINDOW and HAVING params order in Select + * Add window functions + * Add filter and within group to aggregate + * Add limitstyle with 'offset' and 'limit' + * Add Lateral + +------------------------------------------------------------------- +Fri Feb 06 08:57:23 UTC 2015 - axel.braun@gmx.de + +- upgrade to version 0.6 + * Fix Delete query under multithread + * Add missing quote for with query name +- Changes from version 0.5 + * Add schema + * Add Common Table Expression + * Escape Mod operator '%' with format paramstyle + * Deprecate Interesect in favor of Intersect + * Add Values +- remove build dependencies to python-Genshi, python-lxml + +------------------------------------------------------------------- +Fri Sep 12 08:04:20 UTC 2014 - axel.braun@gmx.de + +- upgrade to version 0.4 + +------------------------------------------------------------------- +Mon Mar 24 13:12:58 UTC 2014 - axel.braun@gmx.de + +- update to version 0.3 + +------------------------------------------------------------------- +Mon Oct 28 15:08:46 UTC 2013 - axel.braun@gmx.de + +- Initial Build on OBS diff --git a/python-python-sql.spec b/python-python-sql.spec new file mode 100644 index 0000000..391431b --- /dev/null +++ b/python-python-sql.spec @@ -0,0 +1,53 @@ +# +# spec file for package python +# +# Copyright (c) 2016 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 +# 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 http://bugs.opensuse.org/ +# + + +Name: python-sql +BuildRequires: python-devel +BuildRequires: python-setuptools +Version: 0.8 +Release: 0 +Source: https://pypi.python.org/packages/source/p/python-sql/%{name}-%{version}.tar.gz +Url: https://pypi.python.org/pypi/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 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +python-sql is a library to write SQL queries in a pythonic way. + +%prep +%setup -q -n %{name}-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%_prefix --root=%buildroot + +%files +%defattr(-,root,root) +%doc README +%{python_sitelib}/* + +%changelog diff --git a/python-sql-0.8.tar.gz b/python-sql-0.8.tar.gz new file mode 100644 index 0000000..01a462e --- /dev/null +++ b/python-sql-0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:020ed78e77f0321f30e40f4e316e944b24a3b995ce6af6eec2d8e1aed3483376 +size 29853