Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bpython for openSUSE:Factory 
checked in at 2023-05-23 14:54:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-bpython (Old)
 and      /work/SRC/openSUSE:Factory/.python-bpython.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-bpython"

Tue May 23 14:54:57 2023 rev:15 rq:1088563 version:0.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bpython/python-bpython.changes    
2023-01-24 20:30:57.799940331 +0100
+++ /work/SRC/openSUSE:Factory/.python-bpython.new.1533/python-bpython.changes  
2023-05-23 14:55:32.538837741 +0200
@@ -1,0 +2,6 @@
+Tue May 23 08:55:21 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Stop calling setup.py build_sphinx, switch to sphinx-build, and also
+  build manual pages. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-bpython.spec ++++++
--- /var/tmp/diff_new_pack.diAqxp/_old  2023-05-23 14:55:33.030840652 +0200
+++ /var/tmp/diff_new_pack.diAqxp/_new  2023-05-23 14:55:33.034840676 +0200
@@ -16,8 +16,6 @@
 #
 
 
-%define         skip_python2 1
-%define         skip_python36 1
 %bcond_without     test
 Name:           python-bpython
 Version:        0.24
@@ -94,10 +92,18 @@
 
 %build
 %pyproject_wheel
-%python_exec setup.py build_sphinx && rm build/sphinx/html/.buildinfo # HTML 
documentation
+# Build HTML documentation
+sphinx-build doc/sphinx/source build/sphinx/html && rm 
build/sphinx/html/.buildinfo
+# .. and the manual pages
+sphinx-build -b man doc/sphinx/source build/sphinx/man
 
 %install
 %pyproject_install
+# install manual pages by hand, for now: gh#bpython/bpython/issues/987
+mkdir -p %{buildroot}%{_mandir}/man1
+mkdir %{buildroot}%{_mandir}/man5
+mv build/sphinx/man/bpython.1 %{buildroot}/%{_mandir}/man1
+mv build/sphinx/man/bpython-config.5 %{buildroot}/%{_mandir}/man5
 
 %python_clone -a %{buildroot}%{_bindir}/bpython
 %python_clone -a %{buildroot}%{_bindir}/bpython-curses

Reply via email to