[packages/python3-peewee] Up to 4.5.3
arekm
arekm at pld-linux.org
Thu Nov 12 09:47:42 CET 2026
commit 8ca612fcc0d5aaa70578fc29085eb9ee3353f17e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 12 02:41:54 2026 +0100
Up to 4.5.3
python3-peewee.spec | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/python3-peewee.spec b/python3-peewee.spec
index b0e5d8f..7c7cbed 100644
--- a/python3-peewee.spec
+++ b/python3-peewee.spec
@@ -6,25 +6,24 @@
Summary: A small, expressive ORM
Summary(pl.UTF-8): Mały, ekspresyjny ORM
Name: python3-%{module}
-Version: 4.0.1
+Version: 4.5.3
Release: 1
License: MIT
Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/peewee/
-Source0: https://files.pythonhosted.org/packages/source/p/peewee/%{module}-%{version}.tar.gz
-# Source0-md5: 544ba620be191bc24fd2fa343d5659d5
+# PyPI sdist lacks the test suite
+#Source0Download: https://github.com/coleifer/peewee/tags
+Source0: https://github.com/coleifer/peewee/archive/%{version}/%{module}-%{version}.tar.gz
+# Source0-md5: 6f78ce01b7767a2967f0dabe72c485bb
URL: https://docs.peewee-orm.com/
+BuildRequires: python3-Cython >= 3
BuildRequires: python3-build
-BuildRequires: python3-devel >= 1:3.2
+BuildRequires: python3-devel >= 1:3.8
BuildRequires: python3-installer
-BuildRequires: python3-modules >= 1:3.2
+BuildRequires: python3-modules >= 1:3.8
BuildRequires: python3-setuptools
-%if %{with tests}
-BuildRequires: python3-pytest
-%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 2.044
-Requires: python3-modules >= 1:3.2
+Requires: python3-modules >= 1:3.8
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -42,8 +41,7 @@ co czyni go łatwym do nauki i intuicyjnym w użyciu.
%py3_build_pyproject
%if %{with tests}
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python3} -m pytest tests
+%{__python3} runtests.py
%endif
%install
@@ -51,6 +49,7 @@ rm -rf $RPM_BUILD_ROOT
%py3_install_pyproject
+%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/playhouse/_sqlite_udf.c
%clean
rm -rf $RPM_BUILD_ROOT
@@ -59,7 +58,9 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc LICENSE CHANGELOG.md README.rst
%attr(755,root,root) %{_bindir}/pwiz
+%attr(755,root,root) %{_bindir}/pwmigrate
%{py3_sitedir}/peewee.py
+%{py3_sitedir}/peewee-stubs
%{py3_sitedir}/playhouse
%{py3_sitedir}/pwiz.py
%{py3_sitedir}/__pycache__/peewee.cpython-*.py[co]
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-peewee.git/commitdiff/8ca612fcc0d5aaa70578fc29085eb9ee3353f17e
More information about the pld-cvs-commit
mailing list