From b932bc60a3555f982e850c0d0a1d9c4ae7a381ff904d9065c3a185b62e1f8407 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 2 Jan 2024 22:42:15 +0000 Subject: [PATCH] - add tests - require setuptools - initial package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-types-python-dateutil?expand=0&rev=4 --- python-types-python-dateutil.changes | 8 +++++++- python-types-python-dateutil.spec | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/python-types-python-dateutil.changes b/python-types-python-dateutil.changes index af8647a..ffce031 100644 --- a/python-types-python-dateutil.changes +++ b/python-types-python-dateutil.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 2 22:41:28 UTC 2024 - Dirk Müller + +- add tests +- require setuptools + ------------------------------------------------------------------- Wed Dec 27 12:33:40 UTC 2023 - ecsos @@ -6,4 +12,4 @@ Wed Dec 27 12:33:40 UTC 2023 - ecsos ------------------------------------------------------------------- Thu Nov 16 21:45:23 UTC 2023 - Ondřej Súkup -- initial package +- initial package diff --git a/python-types-python-dateutil.spec b/python-types-python-dateutil.spec index 42cc6dc..0abdfa3 100644 --- a/python-types-python-dateutil.spec +++ b/python-types-python-dateutil.spec @@ -1,7 +1,7 @@ # # spec file for package python-types-python-dateutil # -# 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 @@ -24,7 +24,9 @@ Summary: Typing stubs for python-dateutil License: Apache-2.0 URL: https://github.com/python/typeshed Source: https://files.pythonhosted.org/packages/source/t/types-python-dateutil/types-python-dateutil-%{version}.tar.gz +BuildRequires: %{python_module mypy} BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -43,6 +45,9 @@ can be used by type-checking tools like %build %pyproject_wheel +%check +%python_exec -m mypy dateutil-stubs + %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib}