14
0
forked from pool/python-peewee
Files
python-peewee/python-peewee.spec
Alexei Podvalsky f3def603c1 Accepting request 620633 from home:awissu:branches:devel:languages:python
- Update to 3.5.2: 
  * New guide to using window functions in Peewee.
  * New and improved table name auto-generation.
  * Allow passing single fields/columns to window function 
    order_by and partition_by arguments.
  * Support for FILTER (WHERE...) clauses with window functions 
    and aggregates.
  * Added IdentityField class suitable for use with Postgres 10's 
    new identity column type.
  * Fixed bug creating indexes on tables that are in attached 
    databases (SQLite).
  * Fixed obscure bug when using prefetch() and ModelAlias to 
    populate a back-reference related model.
- Change in 3.5.1:
  * New documentation for working with relationships in Peewee.
  * Improved tests and documentation for MySQL upsert functionality.
  * Allow database parameter to be specified with ModelSelect.get() 
    method. For discussion, see #1620.
  * Add QualifiedNames helper to peewee module exports.
  * Add temporary= meta option to support temporary tables.
  * Allow a Database object to be passed to constructor of 
    DataSet helper.

OBS-URL: https://build.opensuse.org/request/show/620633
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=3
2018-07-04 14:47:28 +00:00

60 lines
1.9 KiB
RPMSpec

#
# spec file for package python-peewee
#
# 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
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-peewee
Version: 3.5.2
Release: 0
Summary: A small expressive orm supports postgresql, mysql and sqlite
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/coleifer/peewee
Source: https://files.pythonhosted.org/packages/source/p/peewee/peewee-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildRequires: pkgconfig(sqlite3)
%python_subpackages
%description
A small, expressive orm -- supports postgresql, mysql and sqlite
%prep
%setup -q -n peewee-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone %{buildroot}%{_bindir}/pwiz.py
%files %{python_files}
%license LICENSE
%doc CHANGELOG.md README.rst TODO.rst
%{_bindir}/pwiz.py-%{python_bin_suffix}
%python3_only %{_bindir}/pwiz.py
%{python_sitearch}/*
%changelog