Accepting request 1103730 from devel:languages:python
- bind to cython < 3 OBS-URL: https://build.opensuse.org/request/show/1103730 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=22
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 13 19:59:10 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- bind to cython < 3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 20:04:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -24,14 +24,15 @@ 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/refs/tags/%{version}.tar.gz#/peewee-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module Cython < 3.0.0}
|
||||
BuildRequires: %{python_module Flask}
|
||||
BuildRequires: %{python_module PyMySQL}
|
||||
BuildRequires: %{python_module apsw}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module psycopg2}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{pythons}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkgconfig
|
||||
@@ -49,10 +50,10 @@ An expressive ORM that supports PostgreSQL, MySQL and SQLite.
|
||||
%setup -q -n peewee-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/pwiz.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
|
Reference in New Issue
Block a user