diff --git a/numpydoc-1.5.0.tar.gz b/numpydoc-1.5.0.tar.gz new file mode 100644 index 0000000..02125f3 Binary files /dev/null and b/numpydoc-1.5.0.tar.gz differ diff --git a/python-numpydoc.spec b/python-numpydoc.spec new file mode 100644 index 0000000..1457027 --- /dev/null +++ b/python-numpydoc.spec @@ -0,0 +1,48 @@ +Name: python-numpydoc +Version: 1.5.0 +Release: 1 +Summary: Sphinx extension to support docstrings in NumPy format + +License: BSD +URL: https://github.com/numpy/numpydoc +Source0: %{url}/archive/%{version}/numpydoc-%{version}.tar.gz +BuildArch: noarch + +%description +Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings +following the NumPy/SciPy format to a form palatable to Sphinx. + +%package -n python3-numpydoc +Summary: %{summary} +Provides: python-numpydoc + +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-wheel + +%description -n python3-numpydoc +Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings +following the NumPy/SciPy format to a form palatable to Sphinx. + +%prep +%autosetup -p1 -n numpydoc-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-numpydoc +%license LICENSE.txt +%doc README.rst + +%{python3_sitelib}/numpydoc-*dist-info/ +%{python3_sitelib}/numpydoc/ + +%changelog +* Mon Jul 31 2023 mengzhaoa - 1.5.0-1 +- Init package python-numpydoc of version 1.5.0.