Init package python-numpydoc of version 1.5.0.
This commit is contained in:
parent
b94b35415d
commit
ca3ca4a8b2
BIN
numpydoc-1.5.0.tar.gz
Normal file
BIN
numpydoc-1.5.0.tar.gz
Normal file
Binary file not shown.
48
python-numpydoc.spec
Normal file
48
python-numpydoc.spec
Normal 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.
|
||||||
Loading…
x
Reference in New Issue
Block a user