Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-nornir for openSUSE:Factory checked in at 2021-03-18 22:54:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nornir (Old) and /work/SRC/openSUSE:Factory/.python-nornir.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nornir" Thu Mar 18 22:54:47 2021 rev:3 rq:879722 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nornir/python-nornir.changes 2020-02-18 10:37:06.064539987 +0100 +++ /work/SRC/openSUSE:Factory/.python-nornir.new.2401/python-nornir.changes 2021-03-18 22:54:49.851523725 +0100 @@ -1,0 +2,6 @@ +Wed Mar 17 16:53:43 UTC 2021 - Matej Cepl <mc...@suse.com> + +- Don't use setup.py from somewhere, but proper poetry toolchain + (yes, we need full poetry package for poetry.masonry). + +------------------------------------------------------------------- Old: ---- setup.py ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nornir.spec ++++++ --- /var/tmp/diff_new_pack.haaonD/_old 2021-03-18 22:54:50.383524300 +0100 +++ /var/tmp/diff_new_pack.haaonD/_new 2021-03-18 22:54:50.383524300 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-nornir # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2019, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -26,10 +26,9 @@ License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/nornir-automation/nornir -#Source: https://files.pythonhosted.org/packages/source/n/nornir/nornir-%%{version}.tar.gz Source: https://github.com/nornir-automation/nornir/archive/v%{version}.tar.gz#/nornir-%{version}.tar.gz -# FIXME: Use the setup.py from pypi -Source1: setup.py +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -71,13 +70,12 @@ %prep %setup -q -n nornir-%{version} -cp %{SOURCE1} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check