Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-peppercorn for
openSUSE:Factory checked in at 2023-05-12 20:38:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-peppercorn (Old)
and /work/SRC/openSUSE:Factory/.python-peppercorn.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-peppercorn"
Fri May 12 20:38:13 2023 rev:6 rq:1086629 version:0.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-peppercorn/python-peppercorn.changes
2020-05-04 18:43:48.757458767 +0200
+++
/work/SRC/openSUSE:Factory/.python-peppercorn.new.1533/python-peppercorn.changes
2023-05-12 20:40:51.779046420 +0200
@@ -1,0 +2,6 @@
+Thu May 11 20:13:50 UTC 2023 - Ben Greiner <[email protected]>
+
+- Replace build_sphinx setuptools hook with direct sphinx-build
+ call -- fixes boo#1211051
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-peppercorn.spec ++++++
--- /var/tmp/diff_new_pack.SZj6Yt/_old 2023-05-12 20:40:52.127048331 +0200
+++ /var/tmp/diff_new_pack.SZj6Yt/_new 2023-05-12 20:40:52.139048398 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-peppercorn
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2017 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -17,16 +17,18 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-peppercorn
Version: 0.6
Release: 0
Summary: Pyramid exceptions logger
License: BSD-4-Clause AND ZPL-2.1 AND MIT
URL: https://docs.pylonsproject.org/projects/peppercorn/en/latest/
+# SourceRepostory: https://github.com/Pylons/peppercorn
Source:
https://files.pythonhosted.org/packages/source/p/peppercorn/peppercorn-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pylons-sphinx-themes}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Documentation requirement
@@ -49,20 +51,22 @@
%setup -q -n peppercorn-%{version}
%build
-%python_build
-python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
+%pyproject_wheel
+PYTHONPATH=":x" sphinx-build -b html docs/ build/sphinx/html/
+rm -r build/sphinx/html/{.buildinfo,.doctrees}
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec -m unittest discover -v
+%pyunittest -v
%files %{python_files}
%license LICENSE.txt
%doc CHANGES.rst CONTRIBUTORS.txt COPYRIGHT.txt README.rst contributing.md
-%{python_sitelib}/*
+%{python_sitelib}/peppercorn-%{version}.dist-info
+%{python_sitelib}/peppercorn
%files -n %{name}-doc
%doc build/sphinx/html