Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-branca for openSUSE:Factory 
checked in at 2022-12-22 16:23:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-branca (Old)
 and      /work/SRC/openSUSE:Factory/.python-branca.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-branca"

Thu Dec 22 16:23:13 2022 rev:8 rq:1044214 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-branca/python-branca.changes      
2022-12-02 15:47:27.984582696 +0100
+++ /work/SRC/openSUSE:Factory/.python-branca.new.1835/python-branca.changes    
2022-12-22 16:23:25.158148532 +0100
@@ -1,0 +2,5 @@
+Wed Dec 21 21:59:34 UTC 2022 - Ben Greiner <[email protected]>
+
+- Fix build requirements and version metadata
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-branca.spec ++++++
--- /var/tmp/diff_new_pack.okAWBM/_old  2022-12-22 16:23:25.678151523 +0100
+++ /var/tmp/diff_new_pack.okAWBM/_new  2022-12-22 16:23:25.686151568 +0100
@@ -16,8 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 Name:           python-branca
 Version:        0.6.0
 Release:        0
@@ -25,9 +23,13 @@
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/python-visualization/branca
+# Only the Github archive has the tests. Requires manually setting the version 
for setuptools_scm below
 Source:         
https://github.com/python-visualization/branca/archive/v%{version}.tar.gz#/branca-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools >= 41.2}
+BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Jinja2
@@ -48,19 +50,21 @@
 %setup -q -n branca-%{version}
 
 %build
-%python_build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 # test_rendering_utf8_iframe and test_rendering_figure_notebook require 
geckodriver
-%pytest -k 'not (test_rendering_utf8_iframe or 
test_rendering_figure_notebook)' -v
+%pytest -k 'not (test_rendering_utf8_iframe or test_rendering_figure_notebook)'
 
 %files %{python_files}
 %doc CHANGES.txt README.md
 %license LICENSE.txt
-%{python_sitelib}/*
+%{python_sitelib}/branca
+%{python_sitelib}/branca-%{version}.dist-info
 
 %changelog

Reply via email to