Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-venusian for openSUSE:Factory
checked in at 2023-05-23 14:54:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-venusian (Old)
and /work/SRC/openSUSE:Factory/.python-venusian.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-venusian"
Tue May 23 14:54:58 2023 rev:10 rq:1088568 version:3.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-venusian/python-venusian.changes
2020-08-17 14:40:27.550584227 +0200
+++
/work/SRC/openSUSE:Factory/.python-venusian.new.1533/python-venusian.changes
2023-05-23 14:55:33.222841789 +0200
@@ -1,0 +2,5 @@
+Tue May 23 09:19:30 UTC 2023 - Matej Cepl <[email protected]>
+
+- Don't use sphinx-build and clean up the SPEC file.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-venusian.spec ++++++
--- /var/tmp/diff_new_pack.ClMpQE/_old 2023-05-23 14:55:33.622844155 +0200
+++ /var/tmp/diff_new_pack.ClMpQE/_new 2023-05-23 14:55:33.630844202 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-venusian
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -17,7 +17,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-venusian
Version: 3.0.0
@@ -27,7 +26,8 @@
URL: https://github.com/Pylons/venusian
Source:
https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
Patch0: fix-pylons-sphinx-theme.diff
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -57,17 +57,18 @@
This package contains documentation files for %{name}.
%prep
-%setup -q -n venusian-%{version}
-%patch0 -p1
-rm -rf venusian.egg-info
+%autosetup -p1 -n venusian-%{version}
+
+rm -rf venusian.*-info
sed -i '/addopts/d' setup.cfg
%build
-%python_build
-PYTHONPATH=src python3 setup.py build_sphinx && rm -v
build/sphinx/html/{.buildinfo,objects.inv}
+%pyproject_wheel
+PYTHONPATH=src python3 -msphinx docs build/sphinx/html \
+ && rm -rv build/sphinx/html/{.buildinfo,objects.inv,.doctrees}
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -77,7 +78,7 @@
%license LICENSE.txt
%doc CHANGES.rst README.rst
%{python_sitelib}/venusian
-%{python_sitelib}/venusian-%{version}-py%{python_version}.egg-info
+%{python_sitelib}/venusian-%{version}*-info
%files %{python_files doc}
%license LICENSE.txt