14
0
forked from pool/python-peewee
Files
python-peewee/python-peewee.spec
Alexei Podvalsky ad0882d3fe Accepting request 687975 from home:awissu:branches:devel:languages:python
- Update to 3.9.3:
  * Added cross-database support for NULLS FIRST/LAST when specifying
    the ordering for a query. Previously this was only supported for
    Postgres.
  * Added EXCLUDED helper for referring to the EXCLUDED namespace
    used with INSERT...ON CONFLICT queries, when referencing values in
    the conflicting row data.
  * Added helper method to the model Metadata class for setting the
    table name at run-time. Setting the Model._meta.table_name directly
    may have appeared to work in some situations, but could lead to
    subtle bugs. The new API is Model._meta.set_table_name().
  * Enhanced helpers for working with Peewee interactively, see doc.
  * Fix cache invalidation bug in DataSet that was originally reported
    on the sqlite-web project.
  * New example script implementing a hexastore.

OBS-URL: https://build.opensuse.org/request/show/687975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=14
2019-03-24 06:55:56 +00:00

61 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-peewee
Version: 3.9.3
Release: 0
Summary: An expressive ORM that supports multiple SQL backends
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
An expressive ORM that 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
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%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