Hello community, here is the log from the commit of package kapidox for openSUSE:Factory checked in at 2018-04-20 17:28:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kapidox (Old) and /work/SRC/openSUSE:Factory/.kapidox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kapidox" Fri Apr 20 17:28:01 2018 rev:51 rq:596848 version:5.45.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kapidox/kapidox.changes 2018-03-22 12:08:14.434956273 +0100 +++ /work/SRC/openSUSE:Factory/.kapidox.new/kapidox.changes 2018-04-20 17:28:55.195735952 +0200 @@ -1,0 +2,14 @@ +Sat Apr 14 13:19:02 CEST 2018 - [email protected] + +- Update to 5.45.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.45.0.php +- Changes since 5.44.0: + * Remove shebangs from non-executable files + * Look first for qhelpgenerator-qt5 for help generation +- Dropped patches, now upstream: + * 0001-Look-first-for-qhelpgenerator-qt5-for-help-generatio.patch + * 0001-Remove-shebangs-from-non-executable-files.patch + +------------------------------------------------------------------- Old: ---- 0001-Look-first-for-qhelpgenerator-qt5-for-help-generatio.patch 0001-Remove-shebangs-from-non-executable-files.patch kapidox-5.44.0.tar.xz New: ---- kapidox-5.45.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kapidox.spec ++++++ --- /var/tmp/diff_new_pack.KbckHZ/_old 2018-04-20 17:28:56.199699544 +0200 +++ /var/tmp/diff_new_pack.KbckHZ/_new 2018-04-20 17:28:56.203699399 +0200 @@ -16,23 +16,19 @@ # -%define _tar_path 5.44 +%define _tar_path 5.45 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} Name: kapidox -Version: 5.44.0 +Version: 5.45.0 Release: 0 Summary: Scripts and data for building API documentation License: BSD-2-Clause Group: System/GUI/KDE Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM -Patch0: 0001-Remove-shebangs-from-non-executable-files.patch -# PATCH-FIX-UPSTREAM -Patch1: 0001-Look-first-for-qhelpgenerator-qt5-for-help-generatio.patch BuildRequires: fdupes BuildRequires: kf5-filesystem BuildRequires: python3 @@ -51,7 +47,6 @@ %prep %setup -q -%autopatch -p1 %build python3 setup.py build ++++++ kapidox-5.44.0.tar.xz -> kapidox-5.45.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.44.0/setup.py new/kapidox-5.45.0/setup.py --- old/kapidox-5.44.0/setup.py 2018-03-03 10:48:26.000000000 +0100 +++ new/kapidox-5.45.0/setup.py 2018-03-14 23:13:51.000000000 +0100 @@ -6,7 +6,7 @@ setup( name='kapidox', - version='5.44.0', + version='5.45.0', description='KDE API documentation generation tools', maintainer = 'Olivier Churlaud', maintainer_email = '[email protected]', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.44.0/src/kapidox/depdiagram/generate.py new/kapidox-5.45.0/src/kapidox/depdiagram/generate.py --- old/kapidox-5.44.0/src/kapidox/depdiagram/generate.py 2018-03-03 10:48:26.000000000 +0100 +++ new/kapidox-5.45.0/src/kapidox/depdiagram/generate.py 2018-03-14 23:13:51.000000000 +0100 @@ -1,4 +1,3 @@ -#! /usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2014 Aurélien Gâteau <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.44.0/src/kapidox/generator.py new/kapidox-5.45.0/src/kapidox/generator.py --- old/kapidox-5.44.0/src/kapidox/generator.py 2018-03-03 10:48:26.000000000 +0100 +++ new/kapidox-5.45.0/src/kapidox/generator.py 2018-03-14 23:13:51.000000000 +0100 @@ -30,6 +30,7 @@ from __future__ import division, absolute_import, print_function, unicode_literals import codecs +from distutils.spawn import find_executable import datetime import os import logging @@ -928,5 +929,14 @@ name = product.name+".qhp" outname = product.name+".qch" tree_out.write(name, encoding="utf-8", xml_declaration=True) - subprocess.call(["qhelpgenerator", name, '-o', 'qch/'+outname]) + + # On many distributions, qhelpgenerator from Qt5 is suffixed with + # "-qt5". Look for it first, and fall back to unsuffixed one if + # not found. + qhelpgenerator = find_executable("qhelpgenerator-qt5") + + if qhelpgenerator is None: + qhelpgenerator = "qhelpgenerator" + + subprocess.call([qhelpgenerator, name, '-o', 'qch/'+outname]) os.remove(name) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.44.0/src/kapidox/hlfunctions.py new/kapidox-5.45.0/src/kapidox/hlfunctions.py --- old/kapidox-5.44.0/src/kapidox/hlfunctions.py 2018-03-03 10:48:26.000000000 +0100 +++ new/kapidox-5.45.0/src/kapidox/hlfunctions.py 2018-03-14 23:13:51.000000000 +0100 @@ -1,4 +1,3 @@ -#! /usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2014 Alex Merry <[email protected]>
