Hello community,

here is the log from the commit of package texamator for openSUSE:Factory 
checked in at 2019-04-17 10:09:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/texamator (Old)
 and      /work/SRC/openSUSE:Factory/.texamator.new.17052 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "texamator"

Wed Apr 17 10:09:26 2019 rev:4 rq:694728 version:3.0+git.20190226.91432e4

Changes:
--------
--- /work/SRC/openSUSE:Factory/texamator/texamator.changes      2018-04-07 
20:55:38.681457703 +0200
+++ /work/SRC/openSUSE:Factory/.texamator.new.17052/texamator.changes   
2019-04-17 10:09:40.402869664 +0200
@@ -1,0 +2,9 @@
+Sat Apr 13 19:25:05 UTC 2019 - christo...@krop.fr
+
+- Update to version 3.0+git.20190226.91432e4:
+  * Converted from python2 to python3
+  * Converted from PyQt4 to PyQt5
+  * Removed the okular dependency
+  * Removed old options, texamator now only supports pdf
+
+-------------------------------------------------------------------

Old:
----
  texamator-2.4.5+git.20180405.a54eed3.tar.gz

New:
----
  texamator-3.0+git.20190226.91432e4.tar.gz

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

Other differences:
------------------
++++++ texamator.spec ++++++
--- /var/tmp/diff_new_pack.S3PqlH/_old  2019-04-17 10:09:41.210870526 +0200
+++ /var/tmp/diff_new_pack.S3PqlH/_new  2019-04-17 10:09:41.214870530 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package texamator
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,50 +12,54 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           texamator
-Version:        2.4.5+git.20180405.a54eed3
+Version:        3.0+git.20190226.91432e4
 Release:        0
 Summary:        Manage databases of exercises written in (La)TeX
 License:        GPL-3.0-only
 Group:          Productivity/Publishing/TeX/Utilities
-Url:            http://alexisfles.ch/en/texamator/texamator.html
+URL:            http://alexisfles.ch/en/texamator/texamator.html
 Source0:        %{name}-%{version}.tar.gz
 Source1:        %{name}.in
 BuildRequires:  ImageMagick
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  python-base
-BuildRequires:  update-desktop-files
+BuildRequires:  python3-base
 # Check list of dependencies:
-BuildRequires:  python-qt4
-Requires:       python-qt4
+BuildRequires:  python3-qt5
+BuildRequires:  update-desktop-files
+Requires:       python3-base
+Requires:       python3-poppler-qt5
+Requires:       python3-qt5
 Requires:       texlive-latex
-Recommends:     python-kde4
 Recommends:     %{name}-lang
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
 %description
-TeXamator is written in Python/Qt4. It is aimed at helping you making your
+TeXamator is written using PyQt5. It is aimed at helping you making your
 exercise sheets. Basically, it browses a specified directory, looks for
 .tex files containing exercices and builds a tree with all your exercises.
 You can click on an element of the tree to have a preview of the exercise
 sheet and then add exercises to a list if you wish to. Then you can save
-your work to a .tex file or you can generate a .dvi (or a pdf or a ps)
-file.
+your work to a .tex file or you can generate a pdf file.
 
 %lang_package
 
 %prep
 %setup -q
 
+sed -i 's|/usr/bin/env python3|/usr/bin/python3|' 
partielatormods/other/qpdfview.py
+sed -i 's|#!/usr/bin/python$|#!/usr/bin/python3|' partielatormods/guis/*.py
+sed -i 's|#!/usr/bin/python$|#!/usr/bin/python3|' partielatormods/other/*.py
+sed -i 's|#!/usr/bin/python$|#!/usr/bin/python3|' partielatormods/__init__.py
+
 cp %{SOURCE1} .
 
-sed -e 's|@python_sitelib@|%{python_sitelib}/%{name}|' \
+sed -e 's|@python3_sitelib@|%{python3_sitelib}/%{name}|' \
     -e 's|@name@|%{name}.py|' \
     < %{name}.in > %{name}
 
@@ -63,20 +67,20 @@
 # There is nothing to build.
 
 %install
-mkdir -p %{buildroot}%{python_sitelib}/%{name}
+mkdir -p %{buildroot}%{python3_sitelib}/%{name}
 for _dir in $(ls -1F | grep '.*\/' | sed 's/\/$//'); do
-  cp -rp $_dir %{buildroot}%{python_sitelib}/%{name}
+  cp -rp $_dir %{buildroot}%{python3_sitelib}/%{name}
 done
 
-pushd %{buildroot}%{python_sitelib}
+pushd %{buildroot}%{python3_sitelib}
 for _file in $(grep -rl '^\#\!'); do
   find -name ${_file##*/} -type f -perm -644 -exec sed '/^\#\!/d' -i {} \;
 done
-%py_compile .
+%py3_compile .
 popd
 
 install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
-install -Dm0755 %{name}.py %{buildroot}%{python_sitelib}/%{name}
+install -Dm0755 %{name}.py %{buildroot}%{python3_sitelib}/%{name}
 
 _file=$(find -name TeXamator.png)
 _width=$(identify -format %w $_file)
@@ -96,7 +100,7 @@
 %{name} TeXamator "Manage databases of exercises written in (La)TeX" %{name} 
%{name} Qt Office Database}
 
 langlist=$PWD/%{name}.lang
-langdir=%{python_sitelib}/%{name}/ts_files
+langdir=%{python3_sitelib}/%{name}/ts_files
 basedir=$(basename $langdir)
 pushd $basedir
   /bin/ls -1 *.qm | while read qm; do
@@ -114,7 +118,7 @@
 
 find %{buildroot} -type f \( -name \*.sh -o -name \*.ts \) -delete -print
 
-%fdupes -s %{buildroot}%{python_sitelib}
+%fdupes -s %{buildroot}%{python3_sitelib}
 
 %post
 %icon_theme_cache_post
@@ -123,15 +127,13 @@
 %icon_theme_cache_postun
 
 %files
-%defattr(-,root,root)
 %doc README.md gpl-3.0.txt
 %{_bindir}/%{name}
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.??g
-%{python_sitelib}/%{name}/
-%exclude %{python_sitelib}/%{name}/ts_files
+%{python3_sitelib}/%{name}/
+%exclude %{python3_sitelib}/%{name}/ts_files
 
 %files lang -f %{name}.lang
-%defattr(-,root,root,-)
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.S3PqlH/_old  2019-04-17 10:09:41.242870559 +0200
+++ /var/tmp/diff_new_pack.S3PqlH/_new  2019-04-17 10:09:41.242870559 +0200
@@ -3,7 +3,7 @@
     <param name="scm">git</param>
     <param name="url">https://github.com/alexisflesch/texamator.git</param>
     <param name="versionformat">%cd.%h</param>
-    <param name="versionprefix">2.4.5+git</param>
+    <param name="versionprefix">3.0+git</param>
     <param name="changesgenerate">enable</param>
   </service>
   <service name="recompress" mode="disabled">

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.S3PqlH/_old  2019-04-17 10:09:41.262870581 +0200
+++ /var/tmp/diff_new_pack.S3PqlH/_new  2019-04-17 10:09:41.262870581 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/alexisflesch/texamator.git</param>
-              <param 
name="changesrevision">a54eed3df5291da77ac1dc9429893df31b3fbdd2</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">91432e4c70b748708e744b8cf681a0b7003788f3</param></service></servicedata>
\ No newline at end of file

++++++ texamator-2.4.5+git.20180405.a54eed3.tar.gz -> 
texamator-3.0+git.20190226.91432e4.tar.gz ++++++
++++ 37191 lines of diff (skipped)

++++++ texamator.in ++++++
--- /var/tmp/diff_new_pack.S3PqlH/_old  2019-04-17 10:09:42.034871403 +0200
+++ /var/tmp/diff_new_pack.S3PqlH/_new  2019-04-17 10:09:42.034871403 +0200
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec @python_sitelib@/@name@ "$@"
+exec @python3_sitelib@/@name@ "$@"


Reply via email to