49 lines
1.2 KiB
RPMSpec
49 lines
1.2 KiB
RPMSpec
|
|
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.
|