同步操作将从 src-openEuler/python-mkdocstrings-python 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global _empty_manifest_terminate_build 0%global pypi_name mkdocstrings-python%global source_name mkdocstrings_python%undefine _python_dist_allow_version_zeroName: python-%{pypi_name}Version: 1.19.0Release: 1Summary: A Python handler for mkdocstrings.The Python handler uses Griffe to collect documentation from Python source code.License: ISCURL: https://github.com/mkdocstrings/pythonSource0: https://files.pythonhosted.org/packages/source/m/mkdocstrings_python/mkdocstrings_python-%{version}.tar.gzBuildArch: noarchBuildRequires: python3-develBuildRequires: python3-setuptoolsBuildRequires: python3-pipBuildRequires: python3-wheelBuildRequires: python3-hatchlingBuildRequires: python3-virtualenvBuildRequires: python3-poetry-coreBuildRequires: python3-pdm-backendBuildRequires: python3-certifiBuildRequires: python3-build%descriptionA Python handler for mkdocstrings.The Python handler uses Griffe to collect documentation from Python source code.%package -n python3-%{pypi_name}Summary: %{summary}%description -n python3-%{pypi_name}A Python handler for mkdocstrings.The Python handler uses Griffe to collect documentation from Python source code.%prep%autosetup -p1 -n mkdocstrings_python-%{version}# Fix setuptools_scm version issueif [ -f pyproject.toml ]; thensed -i '/^version *=/d' pyproject.tomlsed -i '/^\[project\]/a version = "%{version}"' pyproject.tomlsed -i '/dynamic *= *\[.*version.*\]/d' pyproject.tomlif grep -q '^\[tool\.setuptools_scm\]' pyproject.toml; thensed -i '/^\[tool\.setuptools_scm\]/,/^\[/ {/^write_to *=/d}' pyproject.tomlsed -i '/^\[tool\.setuptools_scm\]/a fallback_version = "%{version}"' pyproject.tomlfifi%buildexport SETUPTOOLS_SCM_PRETEND_VERSION="%{version}"%pyproject_build%installexport PYTHONDONTWRITEBYTECODE=1# Clean __pycache__ directories and .pyc/.pyo filesfind %{buildroot} -name '*.py[co]' -deletefind %{buildroot} -type d -name '__pycache__' -exec rm -rf {} + 2>/dev/null || trueexport SETUPTOOLS_SCM_PRETEND_VERSION="%{version}"%pyproject_install%files -n python3-%{pypi_name}%doc README.md%license LICENSE%{python3_sitelib}/mkdocstrings_python*.dist-info/%{python3_sitelib}/mkdocstrings_handlers%changelog* Fri Nov 21 2025 zhangyuting <zhangyuting@kylinos.cn> - 1.19.0-1- Update to 1.19.0- Add python3-certifi to BuildRequires (fix SSL certificate file not found error)* Thu Oct 09 2025 zengliwen <zengliwen@kylinos.cn> - 1.18.2-1- Update package to version 1.18.2normalize spaces to underscores when passing object to rendering context using its kind as keyDon't show implementation signature of __init__ method when overloads_only is true and it is merged into the classSupport PEP 695 generics (dc8c3ad by Victor Westerhuis). PR-221, Co-authored-by: Timothée Mazzucotelli dev@pawamoy.frIncrease maximum recursion limit in case of deeply nested ASTs* Thu May 29 2025 chengwei <chenwei@teligen.net> 1.16.11-1- Update package with version 1.16.11Fix highlighting for signature with known special names like __init__Use default font-size for parameter headingsPrevent uppercasing H5 titles (by Material for MkDocs)Use configured heading even when signature is not separatedRender attribute names without full path in ToC* Fri May 16 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.16.10-1- Update package with version 1.16.10Fix inventory base_url being ignoredUse toc_label option in a few missing places* Mon Mar 31 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.16.8-1- Update package with version 1.16.8* Wed Mar 6 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.8.0-1- Update package with version 1.8.0Release Insiders features of the 500ドル/month funding goalCross-references for type annotations in signaturesgriffe-inherited-docstrings, a Griffe extension for inheriting docstringsgriffe2md, a tool to output API docs to Markdown using GriffeAdd option to unwrap Annotated typesAdd doc-signature CSS class to separate signature code blocks* Fri Aug 25 2023 zoujiancang<jczou@isoftstone.com> - 1.5.1-1- Initial package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。