Hello community, here is the log from the commit of package kapidox for openSUSE:Factory checked in at 2019-08-20 10:57:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kapidox (Old) and /work/SRC/openSUSE:Factory/.kapidox.new.22127 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kapidox" Tue Aug 20 10:57:16 2019 rev:68 rq:722443 version:5.61.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kapidox/kapidox.changes 2019-07-26 17:33:21.680110292 +0200 +++ /work/SRC/openSUSE:Factory/.kapidox.new.22127/kapidox.changes 2019-08-20 10:57:19.308682068 +0200 @@ -1,0 +2,17 @@ +Wed Aug 7 17:51:07 UTC 2019 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.61.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.61.0.php +- Changes since 5.60.0: + * Fix checking dirs for metainfo.yaml with non-ascii chars with Python 2.7 + * Log bad pathnames (via repr()) instead of crashing entirely + * generate list of data files on the fly + +------------------------------------------------------------------- +Fri Jul 19 11:38:16 UTC 2019 - Wolfgang Bauer <wba...@tmo.at> + +- Don't lower minimum Qt version anymore, it requires 5.11 now + +------------------------------------------------------------------- Old: ---- kapidox-5.60.0.tar.xz New: ---- frameworks.keyring kapidox-5.61.0.tar.xz kapidox-5.61.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kapidox.spec ++++++ --- /var/tmp/diff_new_pack.5fgZiY/_old 2019-08-20 10:57:19.824681960 +0200 +++ /var/tmp/diff_new_pack.5fgZiY/_new 2019-08-20 10:57:19.828681959 +0200 @@ -16,19 +16,25 @@ # -%define _tar_path 5.60 +%define _tar_path 5.61 # 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: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} +# Only needed for the package signature condition +%bcond_without lang Name: kapidox -Version: 5.60.0 +Version: 5.61.0 Release: 0 Summary: Scripts and data for building API documentation License: BSD-2-Clause Group: System/GUI/KDE URL: https://www.kde.org -Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz +Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz +%if %{with lang} +Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz.sig +Source2: frameworks.keyring +%endif BuildRequires: fdupes BuildRequires: kf5-filesystem BuildRequires: python3 @@ -47,9 +53,6 @@ %prep %setup -q -%if 0%{?suse_version} == 1500 -sed -i -e "s/^set *(REQUIRED_QT_VERSION 5.10.0)$/set(REQUIRED_QT_VERSION 5.9.0)/" CMakeLists.txt -%endif %build python3 setup.py build ++++++ kapidox-5.60.0.tar.xz -> kapidox-5.61.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.60.0/setup.py new/kapidox-5.61.0/setup.py --- old/kapidox-5.60.0/setup.py 2019-06-08 11:36:50.000000000 +0200 +++ new/kapidox-5.61.0/setup.py 2019-07-31 11:52:43.000000000 +0200 @@ -4,9 +4,17 @@ from distutils.core import setup import os +# Walk list of data files to install to ensure we install everything. This +# needs to generate paths relative to the package source. +kapidox_data_files = [] +for root, dirs, files in os.walk('src/kapidox/data/'): + data_root = os.path.relpath(root, 'src/kapidox/') + root_files = [os.path.join(data_root, f) for f in files] + kapidox_data_files += root_files + setup( name='kapidox', - version='5.60.0', + version='5.61.0', description='KDE API documentation generation tools', maintainer = 'Olivier Churlaud', maintainer_email = 'oliv...@churlaud.com', @@ -20,12 +28,7 @@ 'kapidox.depdiagram': 'src/kapidox/depdiagram', }, package_data = { - 'kapidox': [ - 'data/*.*', - 'data/htmlresource/*.*', - 'data/htmlresource/icons/*.*', - 'data/templates/*.*', - ] + 'kapidox': kapidox_data_files }, scripts = [ 'src/kapidox_generate', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.60.0/src/kapidox/preprocessing.py new/kapidox-5.61.0/src/kapidox/preprocessing.py --- old/kapidox-5.60.0/src/kapidox/preprocessing.py 2019-06-08 11:36:50.000000000 +0200 +++ new/kapidox-5.61.0/src/kapidox/preprocessing.py 2019-07-31 11:52:43.000000000 +0200 @@ -32,6 +32,7 @@ import logging import os +import sys try: from urllib2 import Request, urlopen, HTTPError @@ -98,7 +99,11 @@ if not os.path.isdir(path): return None - metainfo_file = os.path.join(path, 'metainfo.yaml') + try: + metainfo_file = os.path.join(path, 'metainfo.yaml') + except UnicodeDecodeError as e: + logging.warning('Unusual base path {!r} for metainfo.yaml'.format(path)) + return None if not os.path.isfile(metainfo_file): return None @@ -157,6 +162,8 @@ for path, dirs, _ in os.walk(rootdir): # We don't want to do the recursion in the dotdirs dirs[:] = [d for d in dirs if not d[0] == '.'] + if sys.version_info.major < 3: + path = path.decode(sys.getfilesystemencoding()) metainfo = create_metainfo(path) if metainfo is not None: if metainfo['public_lib'] or 'group_info' in metainfo: