From 52609c97d7b0b7d3d1e88267675eab93a05517fff98e363e6cad006b905bab5a Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Wed, 23 Aug 2017 05:06:33 +0000 Subject: [PATCH] Accepting request 518321 from home:tbechtold:branches:devel:languages:python - update to 0.32.14: - Fixed drop_database version comparison - Fixed a DeprecationWarning by using LargeBinary instead of Binary - Added generic_repr decorator - TimeZoneType support for static timezones - Added SQLite support for PasswordType - Added PhoneNumber as the python_type for PhoneNumberType - Made auto_delete_orphans support backref tuples - Added support for multi-column observers - convert to singlespec OBS-URL: https://build.opensuse.org/request/show/518321 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy-Utils?expand=0&rev=7 --- SQLAlchemy-Utils-0.32.14.tar.gz | 3 +++ SQLAlchemy-Utils-0.32.9.tar.gz | 3 --- python-SQLAlchemy-Utils.changes | 14 ++++++++++++++ python-SQLAlchemy-Utils.spec | 26 +++++++++++++------------- 4 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 SQLAlchemy-Utils-0.32.14.tar.gz delete mode 100644 SQLAlchemy-Utils-0.32.9.tar.gz diff --git a/SQLAlchemy-Utils-0.32.14.tar.gz b/SQLAlchemy-Utils-0.32.14.tar.gz new file mode 100644 index 0000000..65b9fd9 --- /dev/null +++ b/SQLAlchemy-Utils-0.32.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e74b0338f4d56dcb0cb57f1b4f5afee5b2ffe595dd5a68b62da66ea4a7399cce +size 119696 diff --git a/SQLAlchemy-Utils-0.32.9.tar.gz b/SQLAlchemy-Utils-0.32.9.tar.gz deleted file mode 100644 index 9d9825f..0000000 --- a/SQLAlchemy-Utils-0.32.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28f95bc156c7673cf5ae697315b2b64640c65d0db20afbe38c0154640fac75fd -size 117620 diff --git a/python-SQLAlchemy-Utils.changes b/python-SQLAlchemy-Utils.changes index 904145d..cd6a943 100644 --- a/python-SQLAlchemy-Utils.changes +++ b/python-SQLAlchemy-Utils.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Aug 23 05:02:53 UTC 2017 - tbechtold@suse.com + +- update to 0.32.14: + - Fixed drop_database version comparison + - Fixed a DeprecationWarning by using LargeBinary instead of Binary + - Added generic_repr decorator + - TimeZoneType support for static timezones + - Added SQLite support for PasswordType + - Added PhoneNumber as the python_type for PhoneNumberType + - Made auto_delete_orphans support backref tuples + - Added support for multi-column observers +- convert to singlespec + ------------------------------------------------------------------- Mon Nov 14 13:59:20 UTC 2016 - dmueller@suse.com diff --git a/python-SQLAlchemy-Utils.spec b/python-SQLAlchemy-Utils.spec index eafc678..86443b2 100644 --- a/python-SQLAlchemy-Utils.spec +++ b/python-SQLAlchemy-Utils.spec @@ -1,7 +1,7 @@ # # spec file for package python-SQLAlchemy-Utils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,24 +16,24 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-SQLAlchemy-Utils -Version: 0.32.9 +Version: 0.32.14 Release: 0 Summary: Various utility functions for SQLAlchemy License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/kvesteri/sqlalchemy-utils -Source: https://pypi.io/packages/source/S/SQLAlchemy-Utils/SQLAlchemy-Utils-%{version}.tar.gz -BuildRequires: python-SQLAlchemy -BuildRequires: python-devel -BuildRequires: python-setuptools +Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy-Utils/SQLAlchemy-Utils-%{version}.tar.gz +BuildRequires: %{python_module SQLAlchemy} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros Requires: python-SQLAlchemy BuildRoot: %{_tmppath}/%{name}-%{version}-build -%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 + +%python_subpackages %description Various utility functions and custom data types for SQLAlchemy. @@ -42,12 +42,12 @@ Various utility functions and custom data types for SQLAlchemy. %setup -q -n SQLAlchemy-Utils-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.rst %{python_sitelib}/*