From ea006eb5884387b64b98f8055ac87b6b295e8a15 Mon Sep 17 00:00:00 2001 From: Miroslav Suchý Date: Mar 06 2024 09:40:36 +0000 Subject: upstream uses pyproject instead of setup.py - change build accordingly --- diff --git a/python-marshmallow.spec b/python-marshmallow.spec index 2c46fcc..b2361ee 100644 --- a/python-marshmallow.spec +++ b/python-marshmallow.spec @@ -71,16 +71,20 @@ sed -i -e "/donate_url/d" docs/conf.py sed '/"autodocsumm",/d' docs/conf.py sed '/"autodocsumm==/d' pyproject.toml +%generate_buildrequires +%pyproject_buildrequires -x docs,tests + %build -%py3_build +%pyproject_wheel sphinx-build -b html docs html %install -%py3_install +%pyproject_install rm -rf html/{.buildinfo,.doctrees} %check +%pyproject_check_import py.test-%{python3_version} -v