14
0
2025-06-12 09:21:14 +00:00
committed by Git OBS Bridge
parent 4ea0fab37e
commit 568d4698a0
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 09:21:01 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Fri Mar 4 08:04:55 UTC 2022 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-schedule
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-schedule
Version: 1.1.0
Release: 0
@@ -28,8 +26,10 @@ URL: https://github.com/dbader/schedule
Source: https://files.pythonhosted.org/packages/source/s/schedule/schedule-%{version}.tar.gz
# https://github.com/dbader/schedule/issues/484
Patch0: python-schedule-no-mock.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -44,10 +44,10 @@ pattern for configuration. Schedule lets the user run Python functions
%autosetup -p1 -n schedule-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +57,7 @@ pattern for configuration. Schedule lets the user run Python functions
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/*
%{python_sitelib}/schedule
%{python_sitelib}/schedule-%{version}*-info
%changelog