14
0

Accepting request 1136317 from devel:languages:python

- add tests
- require setuptools

- Add %{?sle15_python_module_pythons}

- initial package

OBS-URL: https://build.opensuse.org/request/show/1136317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-types-python-dateutil?expand=0&rev=2
This commit is contained in:
2024-01-19 22:00:19 +00:00
committed by Git OBS Bridge
2 changed files with 19 additions and 2 deletions

View File

@@ -1,4 +1,15 @@
-------------------------------------------------------------------
Tue Jan 2 22:41:28 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add tests
- require setuptools
-------------------------------------------------------------------
Wed Dec 27 12:33:40 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Thu Nov 16 21:45:23 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- initial package
- initial package

View File

@@ -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
@@ -16,6 +16,7 @@
#
%{?sle15_python_module_pythons}
Name: python-types-python-dateutil
Version: 2.8.19.14
Release: 0
@@ -23,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
@@ -42,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}