- Update to 1.18.2:

- [pre-commit.ci] pre-commit autoupdate
  - Support and require nptyping 2.1.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=31
This commit is contained in:
Matej Cepl 2022-06-06 23:04:29 +00:00 committed by Git OBS Bridge
parent a8c2cd2e2d
commit 5a1ec36786
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 6 23:01:55 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Update to 1.18.2:
- [pre-commit.ci] pre-commit autoupdate
- Support and require nptyping 2.1.1
-------------------------------------------------------------------
Wed May 11 10:08:38 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -38,8 +38,10 @@ Source: https://files.pythonhosted.org/packages/source/s/sphinx-autodoc-
# PATCH-FIX-OPENSUSE python-sphinx-autodoc-typehints-system-object.inv.patch gh#agronholm/sphinx-autodoc-typehints#174 mcepl@suse.com
# Don't download inventory from the Internet, but use the local one.
Patch0: python-sphinx-autodoc-typehints-system-object.inv.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 36.2.7}
BuildRequires: %{python_module setuptools_scm >= 1.7.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 1.7
@ -65,12 +67,12 @@ and return value types of functions.
%autosetup -p1 -n sphinx_autodoc_typehints-%{version}
%build
%python_build
%pyproject_wheel
%python_expand sed -i -e 's/@PYTHON_VERSION@/%{$python_version}/' tests/conftest.py
%install
%if %{without test}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif