diff --git a/docstring_parser-0.15.tar.gz b/docstring_parser-0.15.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..afe088cc749dffe349776093c2fa687342d33d3c Binary files /dev/null and b/docstring_parser-0.15.tar.gz differ diff --git a/python-docstring-parser.spec b/python-docstring-parser.spec new file mode 100644 index 0000000000000000000000000000000000000000..ec4af18be56f9b50caab175695a0652369ec3696 --- /dev/null +++ b/python-docstring-parser.spec @@ -0,0 +1,48 @@ +%global srcname docstring-parser + +Name: python-%{srcname} +Version: 0.15 +Release: 1 +Summary: Parse Python docstrings +License: MIT +URL: https://github.com/rr-/docstring_parser +Source0: %{pypi_source docstring_parser} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-editables +BuildRequires: python3-hatch-vcs +BuildRequires: python3-hatchling +BuildRequires: python3-poetry-core + +%global _description %{expand: +Parse Python docstrings. Currently support ReST, Google, Numpydoc-style and Epydoc docstrings.} + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} + +%description -n python3-%{srcname} %{_description} + +%prep +%autosetup -n docstring_parser-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{srcname} +%defattr(-,root,root) +%license LICENSE.md +%{python3_sitelib}/docstring_parser/ +%{python3_sitelib}/docstring_parser*.dist-info/ +%doc README.md + +%changelog +* Mon Jun 26 2023 chaozhangm - 0.15-1 +- Initial package.