Sync from SUSE:SLFO:Main python-gi-docgen revision 807947b490ec4fadbaf8742b4356e4b8
This commit is contained in:
commit
c6d9ca7aed
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
gi-docgen-2023.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
gi-docgen-2023.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
124
python-gi-docgen.changes
Normal file
124
python-gi-docgen.changes
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 6 19:34:04 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 2023.1:
|
||||||
|
+ Added: Use tomlib for Python >= 3.11 and tomli/toml for Python
|
||||||
|
< 3.11
|
||||||
|
+ Fixed: Use the proper link fragment for interface prerequisite
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 14 12:26:57 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 2022.2:
|
||||||
|
+ Use const.*.html instead of constant.*.html for search index
|
||||||
|
links
|
||||||
|
+ Remove "terms" from index.json, rewrite commandline search to
|
||||||
|
work without it
|
||||||
|
+ Add interface type description
|
||||||
|
+ Fix failure to generate link to error domain
|
||||||
|
+ Make log.log() thread safe
|
||||||
|
+ Quote string constant values
|
||||||
|
+ Set the license of the generated documentation
|
||||||
|
+ Support (scope forever)
|
||||||
|
+ Add a way to frame images
|
||||||
|
+ Use the appropriate namespace for indices
|
||||||
|
+ Fix type annotations for Repository packages and c_includes
|
||||||
|
+ Add py.typed to comply with PEP561
|
||||||
|
+ Add links to external classes in the hierarchy
|
||||||
|
+ Use definition lists for callable arguments
|
||||||
|
+ Improve styles
|
||||||
|
+ Use definition lists for callable arguments
|
||||||
|
+ Clarify generated description for GError arguments
|
||||||
|
+ Clarify generated description for nullable in/out arguments
|
||||||
|
+ Add emblems for versions and stability
|
||||||
|
+ Require a sufficient minimum dependency of markdown
|
||||||
|
+ Add a "serve" command
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 12 18:38:36 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 2022.1:
|
||||||
|
+ Do not qualify type names that are already qualified
|
||||||
|
+ Handle implied zero-terminated=1 attribute
|
||||||
|
+ Display type note for strings inside arrays
|
||||||
|
+ Use C types for string and property types
|
||||||
|
+ Add support for OpenSearch
|
||||||
|
+ Fix links to callback types
|
||||||
|
+ Validate the "type" link fragment
|
||||||
|
+ Split type and array parsing
|
||||||
|
+ Add exception mode to the GIR parser
|
||||||
|
+ Handle missing type information in arguments
|
||||||
|
+ Add more contrast to the dimmed text class
|
||||||
|
+ Improve classification of pointer arguments
|
||||||
|
+ Add blurb when eliding inherited methods
|
||||||
|
+ Include bits in structure fields
|
||||||
|
+ Add a test suite for the gi-docgen link generator
|
||||||
|
+ Style keyboard shortcuts like libadwaita
|
||||||
|
+ Do not require a message for deprecations
|
||||||
|
+ Add anchors for enumeration values
|
||||||
|
+ Add a ToC for the page navigation side bar
|
||||||
|
+ Fix pointer type detection
|
||||||
|
+ Note functions that are not introspectable or that have been
|
||||||
|
shadowed
|
||||||
|
+ Split "related" libraries from "dependencies"
|
||||||
|
- Drop 114.patch: Fixed upstream.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 29 20:53:40 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Add 114.patch: gir: Do not qualify type names that are already
|
||||||
|
qualified.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 26 08:29:13 UTC 2021 - Yifan Jiang <yfjiang@suse.com>
|
||||||
|
|
||||||
|
- Specify python-Markdown version to at least 3.2.0, because
|
||||||
|
permalink_class options in TOC used by gi-docgen was introduced
|
||||||
|
on 3.2.0:
|
||||||
|
|
||||||
|
https://github.com/Python-Markdown/markdown/commit/1f3ec538a2acf25607253fc7c7a992950463931d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 22 08:35:30 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 2021.8:
|
||||||
|
+ Allow `id` fragments to link across namespace boundaries
|
||||||
|
+ Support links to have custom text
|
||||||
|
+ Decrease the max font size
|
||||||
|
+ Improve output for properties and signals
|
||||||
|
+ Save last search in the history
|
||||||
|
+ Don't crash on unlabelled array elements
|
||||||
|
+ Move type functions near constructors
|
||||||
|
+ Switch to Solarized for syntax highlighting
|
||||||
|
+ Use the C type for callback types in search results
|
||||||
|
+ Generate proper cross-reference links
|
||||||
|
+ Parse and use new gobject-introspection property attributes
|
||||||
|
+ Properly identify (type, gpointer) types
|
||||||
|
+ List the interface implementations in a namespace
|
||||||
|
+ List the class descendants in a namespace
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 17 11:10:23 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 2021.7:
|
||||||
|
+ Add a "check" sub-command
|
||||||
|
+ Allow defining multiple content directories
|
||||||
|
+ Detect gtk-doc code blocks for JavaScript
|
||||||
|
+ Multiple changes to the basic template
|
||||||
|
+ Add in-page content navigation
|
||||||
|
+ Filter hidden data from indices
|
||||||
|
+ Allow defining hidden symbols matching a regular expression
|
||||||
|
+ Handle (attribute element-type) annotation for GListModel
|
||||||
|
+ Fix class method linking
|
||||||
|
+ Fix links to callback type arguments
|
||||||
|
+ Fix argument listing in class methods
|
||||||
|
+ Don't grab the 's' key when the sidebar is hidden
|
||||||
|
+ Index the extra content files for search
|
||||||
|
+ Fix gtk-doc sigil handling in code blocks
|
||||||
|
+ Re-instate gtk-doc `()` function detection
|
||||||
|
- Switch to building only default flavour of python3.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 19 10:35:05 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Initial package, version 2021.2
|
80
python-gi-docgen.spec
Normal file
80
python-gi-docgen.spec
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-gi-docgen
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define pythons python3
|
||||||
|
Name: python-gi-docgen
|
||||||
|
Version: 2023.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Documentation tool for GObject-based libraries
|
||||||
|
License: Apache-2.0 AND GPL-3.0-or-later AND CC0-1.0
|
||||||
|
URL: https://gitlab.gnome.org/ebassi/gi-docgen
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/g/gi-docgen/gi-docgen-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module Jinja2}
|
||||||
|
BuildRequires: %{python_module Markdown}
|
||||||
|
BuildRequires: %{python_module MarkupSafe}
|
||||||
|
BuildRequires: %{python_module Pygments}
|
||||||
|
BuildRequires: %{python_module toml}
|
||||||
|
BuildRequires: %{python_module typogrify}
|
||||||
|
# /SECTION
|
||||||
|
BuildRequires: fdupes
|
||||||
|
Requires: python-Jinja2
|
||||||
|
Requires: python-Markdown > 3.2.0
|
||||||
|
Requires: python-MarkupSafe
|
||||||
|
Requires: python-Pygments
|
||||||
|
Requires: python-toml
|
||||||
|
Requires: python-typogrify
|
||||||
|
Suggests: python-coverage
|
||||||
|
Suggests: python-green
|
||||||
|
Obsoletes: python38-gi-docgen < %{version}
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Documentation tool for GObject-based libraries
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n gi-docgen-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/gi-docgen
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative gi-docgen
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative gi-docgen
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSES LICENSES/Apache-2.0.txt LICENSES/GPL-3.0-or-later.txt
|
||||||
|
%python_alternative %{_bindir}/gi-docgen
|
||||||
|
%{python_sitelib}/*
|
||||||
|
%{_mandir}/man1/gi-docgen.1%{?ext_man}
|
||||||
|
%{_datadir}/pkgconfig/gi-docgen.pc
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user