Hello community, here is the log from the commit of package kapidox for openSUSE:Factory checked in at 2020-02-14 16:31:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kapidox (Old) and /work/SRC/openSUSE:Factory/.kapidox.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kapidox" Fri Feb 14 16:31:11 2020 rev:74 rq:773235 version:5.67.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kapidox/kapidox.changes 2020-01-15 16:39:03.889028295 +0100 +++ /work/SRC/openSUSE:Factory/.kapidox.new.26092/kapidox.changes 2020-02-14 16:32:33.703424808 +0100 @@ -1,0 +2,17 @@ +Sun Feb 2 18:06:43 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Replace %make_jobs with %cmake_build. + +------------------------------------------------------------------- +Sun Feb 2 14:32:29 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.67.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.67.0.php +- Changes since 5.66.0: + * Define K_DOXYGEN as macro to check if kapidox/doxygen is run + * Unbreak module imports for Python2 + * Hardcode utf-8 as filesystem encoding with Python2 to help api.kde.org + +------------------------------------------------------------------- Old: ---- kapidox-5.66.0.tar.xz kapidox-5.66.0.tar.xz.sig New: ---- kapidox-5.67.0.tar.xz kapidox-5.67.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kapidox.spec ++++++ --- /var/tmp/diff_new_pack.Vz6r0I/_old 2020-02-14 16:32:34.231425102 +0100 +++ /var/tmp/diff_new_pack.Vz6r0I/_new 2020-02-14 16:32:34.231425102 +0100 @@ -18,13 +18,13 @@ # Only needed for the package signature condition %bcond_without lang -%define _tar_path 5.66 +%define _tar_path 5.67 # 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}')} Name: kapidox -Version: 5.66.0 +Version: 5.67.0 Release: 0 Summary: Scripts and data for building API documentation License: BSD-2-Clause ++++++ kapidox-5.66.0.tar.xz -> kapidox-5.67.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.66.0/README.md new/kapidox-5.67.0/README.md --- old/kapidox-5.66.0/README.md 2019-12-27 14:59:54.000000000 +0100 +++ new/kapidox-5.67.0/README.md 2020-01-23 12:05:24.000000000 +0100 @@ -50,8 +50,14 @@ Writing dox is beyond the scope of this documentation -- see the notes at <https://community.kde.org/Frameworks/Frameworks_Documentation_Policy> and the [doxygen manual](http://doxygen.nl/manual/docblocks.html). -However, the script expects certain things to be present in the directory it is -run on. + +To allow code to handle the case of being processed by kapidox a C/C++ preprocessor macro +is set as defined when run: `K_DOXYGEN` (since v5.67.0). +For backward-compatibility the definition `DOXYGEN_SHOULD_SKIP_THIS` is also set, but +its usage is deprecated. + +The kapidox scripts expects certain things to be present in the directory it is +run on: ### README.md Most importantly, there should be a `README.md` file, like this page (backward diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.66.0/setup.py new/kapidox-5.67.0/setup.py --- old/kapidox-5.66.0/setup.py 2019-12-27 14:59:54.000000000 +0100 +++ new/kapidox-5.67.0/setup.py 2020-01-23 12:05:24.000000000 +0100 @@ -14,7 +14,7 @@ setup( name='kapidox', - version='5.66.0', + version='5.67.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.66.0/src/kapidox/data/Doxyfile.global new/kapidox-5.67.0/src/kapidox/data/Doxyfile.global --- old/kapidox-5.66.0/src/kapidox/data/Doxyfile.global 2019-12-27 14:59:54.000000000 +0100 +++ new/kapidox-5.67.0/src/kapidox/data/Doxyfile.global 2020-01-23 12:05:24.000000000 +0100 @@ -167,7 +167,10 @@ MACRO_EXPANSION = YES EXPAND_ONLY_PREDEF = YES +# K_DOXYGEN set to have preprocessor macros know that kapidox/doxygen processes them +# DOXYGEN_SHOULD_SKIP_THIS is the deprecated variant (remove for KF6) PREDEFINED = DOXYGEN_SHOULD_SKIP_THIS \ + K_DOXYGEN \ Q_SLOTS="slots" \ Q_SIGNALS="signals" \ Q_DECL_CONSTEXPR="constexpr" \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.66.0/src/kapidox/depdiagram/frameworkdb.py new/kapidox-5.67.0/src/kapidox/depdiagram/frameworkdb.py --- old/kapidox-5.66.0/src/kapidox/depdiagram/frameworkdb.py 2019-12-27 14:59:54.000000000 +0100 +++ new/kapidox-5.67.0/src/kapidox/depdiagram/frameworkdb.py 2020-01-23 12:05:24.000000000 +0100 @@ -31,7 +31,7 @@ import gv import yaml -import kapidox.depdiagram.gvutils +from kapidox.depdiagram import gvutils from kapidox.depdiagram.framework import Framework diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kapidox-5.66.0/src/kapidox/preprocessing.py new/kapidox-5.67.0/src/kapidox/preprocessing.py --- old/kapidox-5.66.0/src/kapidox/preprocessing.py 2019-12-27 14:59:54.000000000 +0100 +++ new/kapidox-5.67.0/src/kapidox/preprocessing.py 2020-01-23 12:05:24.000000000 +0100 @@ -163,7 +163,11 @@ # 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()) + # hardcoding UTF-8 here as sys.getfilesystemencoding() seems not reliable + # e.g. with api.kde.org's server this is 'ANSI_X3.4-1968', despite all locale vars having *.UTF-8 + # And chance is low someone using kapixdox is using another filesystem encoding, + # they should just use Python3 anyway now so no run into this code branch :) + path = path.decode('utf-8') metainfo = create_metainfo(path) if metainfo is not None: if metainfo['public_lib'] or 'group_info' in metainfo:
