diff --git a/mkdocstrings_python-1.5.1.tar.gz b/mkdocstrings_python-1.5.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..60fe19aac7637926e851bae096f6cc9fa795c241 Binary files /dev/null and b/mkdocstrings_python-1.5.1.tar.gz differ diff --git a/python-mkdocstrings-python.spec b/python-mkdocstrings-python.spec new file mode 100644 index 0000000000000000000000000000000000000000..94cd0d488c205103ac0115f1ea628e39157fe41d --- /dev/null +++ b/python-mkdocstrings-python.spec @@ -0,0 +1,52 @@ +%global _empty_manifest_terminate_build 0 +%global pypi_name mkdocstrings-python +%global source_name mkdocstrings_python + +Name: python-%{pypi_name} +Version: 1.5.1 +Release: 1 +Summary: A Python handler for mkdocstrings.The Python handler uses Griffe to collect documentation from Python source code. + +License: ISC +URL: https://mkdocstrings.github.io/python +Source0: %{url}/archive/%{version}/%{source_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling +BuildRequires: python3-virtualenv +BuildRequires: python3-poetry-core +BuildRequires: python3-pdm-pep517 +BuildRequires: python3-pdm-backend + +%description +A 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 %{source_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%doc README.md +%license LICENSE +%{python3_sitelib}/mkdocstrings_python*.dist-info/ +%{python3_sitelib}/mkdocstrings_handlers + +%changelog +* Fri Aug 25 2023 zoujiancang - 1.5.1-1 +- Initial package +