!1 Init package python3-numpydoc of version 1.5.0

From: @mengzhaoa 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-08-02 02:03:21 +00:00 committed by Gitee
commit 34bc34aa3b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 48 additions and 0 deletions

BIN
numpydoc-1.5.0.tar.gz Normal file

Binary file not shown.

48
python-numpydoc.spec Normal file
View File

@ -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 <mengzhaoa@isoftstone.com> - 1.5.0-1
- Init package python-numpydoc of version 1.5.0.