commit texamator for openSUSE:Factory
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
commit texamator for openSUSE:Factory
Hello community, here is the log from the commit of package texamator for openSUSE:Factory checked in at 2018-04-07 20:55:36 Comparing /work/SRC/openSUSE:Factory/texamator (Old) and /work/SRC/openSUSE:Factory/.texamator.new (New) Package is "texamator" Sat Apr 7 20:55:36 2018 rev:3 rq:594085 version:2.4.5+git.20180405.a54eed3 Changes: --- /work/SRC/openSUSE:Factory/texamator/texamator.changes 2017-06-26 15:56:00.651953864 +0200 +++ /work/SRC/openSUSE:Factory/.texamator.new/texamator.changes 2018-04-07 20:55:38.681457703 +0200 @@ -1,0 +2,6 @@ +Fri Apr 06 19:01:40 UTC 2018 - avvi...@yandex.by + +- Update to version 2.4.5+git.20180405.a54eed3: + * bug fix + +--- @@ -5 +10,0 @@ - Old: texamator-2.4.5+git.20170512.09c0307.tar.gz New: texamator-2.4.5+git.20180405.a54eed3.tar.gz Other differences: -- ++ texamator.spec ++ --- /var/tmp/diff_new_pack.ExFKMU/_old 2018-04-07 20:55:39.693421076 +0200 +++ /var/tmp/diff_new_pack.ExFKMU/_new 2018-04-07 20:55:39.701420785 +0200 @@ -1,7 +1,7 @@ # # spec file for package texamator # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,10 +17,10 @@ Name: texamator -Version:2.4.5+git.20170512.09c0307 +Version:2.4.5+git.20180405.a54eed3 Release:0 Summary:Manage databases of exercises written in (La)TeX -License:GPL-3.0 +License:GPL-3.0-only Group: Productivity/Publishing/TeX/Utilities Url:http://alexisfles.ch/en/texamator/texamator.html Source0:%{name}-%{version}.tar.gz ++ _servicedata ++ --- /var/tmp/diff_new_pack.ExFKMU/_old 2018-04-07 20:55:39.753418903 +0200 +++ /var/tmp/diff_new_pack.ExFKMU/_new 2018-04-07 20:55:39.753418903 +0200 @@ -1,4 +1,4 @@ https://github.com/alexisflesch/texamator.git - 09c0307a5bddaf814b8b6e8cf4eaa9655351c6ee \ No newline at end of file + a54eed3df5291da77ac1dc9429893df31b3fbdd2 \ No newline at end of file ++ texamator-2.4.5+git.20170512.09c0307.tar.gz -> texamator-2.4.5+git.20180405.a54eed3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/texamator-2.4.5+git.20170512.09c0307/texamator.py new/texamator-2.4.5+git.20180405.a54eed3/texamator.py --- old/texamator-2.4.5+git.20170512.09c0307/texamator.py 2017-05-12 18:19:56.0 +0200 +++ new/texamator-2.4.5+git.20180405.a54eed3/texamator.py 2018-04-05 22:34:02.0 +0200 @@ -174,7 +174,7 @@ self.enonce = enonce a = codecs.open("/tmp/partielator/file.tex","w","utf-8") if inside and self.compile_seq[self.settings["preferred compile sequence"]]['use preview'] == "True": -replace = "\n\usepackage[active,graphics]{preview}" +replace = "\n\\usepackage[active,graphics]{preview}" replace += "\n\\begin{document}\n" replace += "\\begin{preview}\n" if "\\begin{document}" in self.header: @@ -978,9 +978,12 @@ for item in items: if not item.childCount(): try: -to_clipboard += item.enonce.decode("utf8") +#to_clipboard += item.enonce.decode("utf8") +to_clipboard = unicode(item.enonce,"utf8") +to_clipboard += item.enonce to_clipboard += unicode("\n","utf8") except: +print("couldn't decode utf8") to_clipboard += item.enonce QtGui.QApplication.clipboard().setText(to_clipboard) @@ -1166,7 +1169,7 @@ self.okularlayout.setWidget(self.preview) self.verticalScrollBar = self.okularlayout.verticalScrollBar() self.viewer = 'embedded' - +#self.okupart.sidebar().setSidebarVisibility(False) # COMPLETING MAIN WINDOW # def setupUi2(self,Form):
commit texamator for openSUSE:Factory
Hello community, here is the log from the commit of package texamator for openSUSE:Factory checked in at 2017-06-26 15:55:40 Comparing /work/SRC/openSUSE:Factory/texamator (Old) and /work/SRC/openSUSE:Factory/.texamator.new (New) Package is "texamator" Mon Jun 26 15:55:40 2017 rev:2 rq:506066 version:2.4.5+git.20170512.09c0307 Changes: --- /work/SRC/openSUSE:Factory/texamator/texamator.changes 2017-05-24 16:52:00.168740331 +0200 +++ /work/SRC/openSUSE:Factory/.texamator.new/texamator.changes 2017-06-26 15:56:00.651953864 +0200 @@ -0,0 +1,5 @@ +--- +Sat Jun 24 15:49:25 UTC 2017 - bwiedem...@suse.com + +- Use convert -strip to not add timestamps to png files + Other differences: -- ++ texamator.spec ++ --- /var/tmp/diff_new_pack.ndYyrP/_old 2017-06-26 15:56:01.267867011 +0200 +++ /var/tmp/diff_new_pack.ndYyrP/_new 2017-06-26 15:56:01.271866447 +0200 @@ -85,7 +85,7 @@ if [ "$_width" -ge 256 ]; then for s in 16 32 48 64 128 256; do mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps - convert \ + convert -strip \ $_file -resize $s \ %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/%{name}.png done