Hello community,

here is the log from the commit of package maxima for openSUSE:Factory checked 
in at 2020-01-30 09:42:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maxima (Old)
 and      /work/SRC/openSUSE:Factory/.maxima.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "maxima"

Thu Jan 30 09:42:20 2020 rev:40 rq:768501 version:5.43.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/maxima/maxima.changes    2020-01-29 
13:20:50.382245271 +0100
+++ /work/SRC/openSUSE:Factory/.maxima.new.26092/maxima.changes 2020-01-30 
09:42:52.721537604 +0100
@@ -1,0 +2,8 @@
+Wed Jan 29 11:17:22 UTC 2020 - Atri Bhattacharya <[email protected]>
+
+- Switch to python3:
+  * Add patch maxima-python3.patch to replace hard-coded python2
+    usage when importing vtk and build_html.sh.
+  * Change BuildRequires: python to python3.
+
+-------------------------------------------------------------------

New:
----
  maxima-python3.patch

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

Other differences:
------------------
++++++ maxima.spec ++++++
--- /var/tmp/diff_new_pack.pq55l8/_old  2020-01-30 09:42:54.325538465 +0100
+++ /var/tmp/diff_new_pack.pq55l8/_new  2020-01-30 09:42:54.325538465 +0100
@@ -38,13 +38,15 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        
http://download.sourceforge.net/maxima/%{name}-%{version}.tar.gz
 Source1:        maxima-rpmlintrc
+# PATCH-FIX-UPSTREAM maxima-python3.patch [email protected] -- Use python3 
instead of python(2) when importing vtk modules and building help; this allows 
maxima to be built with python3 instead of python2.
+Patch0:         maxima-python3.patch
 %if 0%{?suse_version}
 PreReq:         %install_info_prereq
 %endif
 BuildRequires:  bash-completion
 BuildRequires:  gzip
 BuildRequires:  makeinfo
-BuildRequires:  python
+BuildRequires:  python3
 Requires:       gnuplot
 Requires:       maxima_exec
 Requires:       plotutils
@@ -172,6 +174,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure  %{?sbcl_flags:} %{?cmucl_flags:} %{?gcl_flags:} %{?clisp_flags:} \

++++++ maxima-python3.patch ++++++
Index: maxima-5.43.2/doc/info/build_html.sh.in
===================================================================
--- maxima-5.43.2.orig/doc/info/build_html.sh.in
+++ maxima-5.43.2/doc/info/build_html.sh.in
@@ -46,7 +46,7 @@ do
   echo "filenamebase = \"$filenamebase\""
   cat $f
 done | @AWK@ '!/^@c / && !/^@c$/ && (/^@deffn/ || /^@defvr/ || /^@end deffn/ 
|| /^@end defvr/ || /@category/ || /@node/ || /^filenamebase/)' | @SED@ -f 
@abs_srcdir@/extract_categories1.sed | @AWK@ -f 
@abs_srcdir@/extract_categories1.awk > make-categories.py 
-python make-categories.py 
+@PYTHON@ make-categories.py
 @SED@ -e 's/^@bye/@node Documentation Categories, , Function and Variable 
Index\n@chapter Documentation Categories/' @abs_srcdir@/maxima.texi > 
maxima.texi 
 ( for f in Category-*.texi; do echo '@include' $f; done ; echo @bye ) >> 
maxima.texi 
 
Index: maxima-5.43.2/share/draw/vtk.lisp
===================================================================
--- maxima-5.43.2.orig/share/draw/vtk.lisp
+++ maxima-5.43.2/share/draw/vtk.lisp
@@ -3114,7 +3114,7 @@
 
     ;; pull in requiered packages
     (format cmdstorage "~a~%~a~%~%~a~%~a~%~%~a~%~%"
-      "#!/usr/bin/env python"
+      "#!/usr/bin/python3"
       "# -*- coding: UTF-8 -*-"
       "import vtk"
       "import sys"

Reply via email to