- run "mypy" as testsuite for the typing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-types-humanfriendly?expand=0&rev=2
This commit is contained in:
Dirk Mueller 2024-01-02 17:40:44 +00:00 committed by Git OBS Bridge
parent bf42d753ee
commit b47d7a3473
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 2 17:39:52 UTC 2024 - Dirk Müller <dmueller@suse.com>
- run "mypy" as testsuite for the typing
-------------------------------------------------------------------
Fri Dec 15 08:12:26 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-types-humanfriendly
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,8 +26,8 @@ Group: Development/Languages/Python
URL: https://github.com/python/typeshed
Source: https://files.pythonhosted.org/packages/source/t/types-humanfriendly/types-humanfriendly-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module mypy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -48,7 +48,7 @@ Collection of library stubs for Python, with static types.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest -v
%python_exec -m mypy humanfriendly-stubs
%files %{python_files}
%doc CHANGELOG.md