Name: python-sphinx-autodoc-typehints
Version: 1.2.3
Release: 4%{?dist}
Summary: Type hints support for the Sphinx autodoc extension
License: MIT
URL: https://github.com/agronholm/sphinx-autodoc-typehints
Source0: https://github.com/agronholm/sphinx-autodoc-typehints/archive/%{version}.tar.gz
BuildArch: noarch
%description
This extension allows you to use Python 3 annotations for documenting
acceptable argument types and return value types of functions.
%package -n python3-sphinx-autodoc-typehints
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
Requires: python3-sphinx
%{?python_provide:%python_provide python3-sphinx-autodoc-typehints}
%description -n python3-sphinx-autodoc-typehints
This extension allows you to use Python 3 annotations for documenting
acceptable argument types and return value types of functions.
%prep
%autosetup -n sphinx-autodoc-typehints-%{version}
rm -Rf requirements.txt test-requirements.txt *.egg-info
%build
export LC_CTYPE="en_US.UTF-8"
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_build
%install
export LC_CTYPE="en_US.UTF-8"
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_install
%files -n python3-sphinx-autodoc-typehints
%{python3_sitelib}/__pycache__/sphinx_autodoc_typehints*
%{python3_sitelib}/sphinx_autodoc_typehints*
%changelog
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 1.2.3-3
- Rebuilt for Python 3.7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Dec 29 2017 Tristan Cacqueray <tdecacqu@redhat.com> - 1.2.3-1
- Initial packaging