python-sphinx-autodoc-typehints 1.11.1-1 (znver1;aarch64;x86_64) 2021-13447
9999
Status | published | ||||||
Submitter | itchka [@T] compuserve.com | ||||||
Platform | rolling | ||||||
Repository | main | ||||||
URL | https://abf.openmandriva.org/build_lists/930209 | ||||||
Packages |
|
||||||
Build Date | 2021-01-06 08:41:53 +0000 UTC | ||||||
Last Updated | 2021-01-11 17:35:41.905094781 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary b6f6b6a2f841f98842d1d63974b572c476ebaa8d commit b6f6b6a2f841f98842d1d63974b572c476ebaa8d Author: Colin <itchka@compuserve.com> AuthorDate: Wed Jan 6 07:59:23 2021 +0000 Commit: Colin <itchka@compuserve.com> CommitDate: Wed Jan 6 07:59:23 2021 +0000 Initial commit --- .abf.yml | 2 ++ python-sphinx-autodoc-typehints.spec | 53 ++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .abf.yml create mode 100644 python-sphinx-autodoc-typehints.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..f74ce22 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + sphinx-autodoc-typehints-1.11.1.tar.gz: 157e45c2b267c36844e1f2a4bfe67417d14a628a diff --git a/python-sphinx-autodoc-typehints.spec b/python-sphinx-autodoc-typehints.spec new file mode 100644 index 0000000..29b0946 --- /dev/null +++ b/python-sphinx-autodoc-typehints.spec @@ -0,0 +1,53 @@ +# Created by pyp2rpm-3.3.5 +%global pypi_name sphinx-autodoc-typehints + +Name: python-%{pypi_name} +Version: 1.11.1 +Release: 1 +Summary: Type hints (PEP 484) support for the Sphinx autodoc extension +Group: Development/Python +License: MIT +URL: None +Source0: %{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(dataclasses) +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(setuptools) >= 36.2.7 +BuildRequires: python3dist(setuptools-scm) >= 1.7 +BuildRequires: python3dist(sphinx) >= 3 +BuildRequires: python3dist(sphinx) >= 3.2 +BuildRequires: python3dist(sphobjinv) >= 2 +BuildRequires: python3dist(typed-ast) >= 1.4 +BuildRequires: python3dist(typing-extensions) >= 3.5 + +%description +sphinx-autodoc-typehints This extension allows you to use Python 3 annotations +for documenting acceptable argument types and return value types of functions. +This allows you to use type hints in a very natural fashion, allowing you to +migrate from this:.. code-block:: python def format_unit(value, unit): """ +Formats the given value as a human readable string using the given units. +:param... + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/sphinx_autodoc_typehints.py +%{python3_sitelib}/sphinx_autodoc_typehints-%{version}-py%{python3_version}.egg-info
Not Available
benbullard79 [@T] cox.net | No Comment. | 1201d 10hrs |
benbullard79 [@T] cox.net | No Comment. | 1201d 10hrs |