File python-schedule.spec of Package python-schedule

#
# spec file for package python-schedule
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2016-2020 LISA GmbH, Bingen, Germany
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/


Name:           python-schedule
Version:        0.6.0
Release:        0
License:        MIT
Summary:        Job scheduling for humans
Url:            https://github.com/dbader/schedule
Group:          Development/Languages/Python
Source:         https://pypi.python.org/packages/source/s/schedule/schedule-%{version}.tar.gz
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
# Testing requirements
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module mock}
BuildArch:      noarch
%python_subpackages

%description
Python job scheduling for humans.

An in-process scheduler for periodic jobs that uses the builder pattern
for configuration. Schedule lets you run Python functions (or any other
callable) periodically at pre-determined intervals using a simple,
human-friendly syntax.

%prep
%setup -q -n schedule-%{version}

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
%pytest

%files %{python_files}
%license LICENSE.txt
%doc *.rst
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by