14
0
forked from pool/python-peewee
Files
python-peewee/python-peewee.spec
Tomáš Chvátal 6c70d7ac8c Accepting request 784287 from home:mcalabkova:branches:devel:languages:python
- update to 3.13.1
  * This will be a notable release as it adds support for CockroachDB, 
    a distributed, horizontally-scalable SQL database.
  * Allow FOR UPDATE clause to specify one or more tables (FOR UPDATE OF...).
  * Support for Postgres LATERAL join.
  * Fix non-deterministic join ordering issue when using the filter() 
    API across several tables
  * Bulk insert (insert_many() and insert_from()) will now return 
    the row count instead of the last insert ID.
  * Migration extension now supports altering a column's data-type, 
    via the new alter_column_type() method.
  * Added BloomFilter.from_buffer() method for populating a bloom-filter 
    from the output of a previous call to the to_buffer() method.

OBS-URL: https://build.opensuse.org/request/show/784287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=26
2020-03-12 13:48:34 +00:00

69 lines
2.0 KiB
RPMSpec

#
# spec file for package python-peewee
#
# Copyright (c) 2020 SUSE LLC
#
# 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.13.1
Release: 0
Summary: An expressive ORM that supports multiple SQL backends
License: BSD-3-Clause
URL: https://github.com/coleifer/peewee
Source: https://github.com/coleifer/peewee/archive/%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module apsw}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module mysql-connector-python}
BuildRequires: %{python_module psycopg2}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildRequires: pkgconfig(sqlite3)
Requires: python
%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_clone %{buildroot}%{_bindir}/pwiz.py
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pytest_arch tests
%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