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
This commit is contained in:
@@ -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}/*
|
||||
|
||||
Reference in New Issue
Block a user