2019-08-12 14:18:39 +00:00
|
|
|
|
#
|
|
|
|
|
|
# spec file for package python-Pebble
|
|
|
|
|
|
#
|
2024-03-22 21:02:50 +00:00
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2019-08-12 14:18:39 +00:00
|
|
|
|
#
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
2019-08-24 07:42:23 +00:00
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
|
#
|
2019-08-12 14:18:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-Pebble
|
2024-03-22 21:02:50 +00:00
|
|
|
|
Version: 5.0.7
|
2019-08-12 14:18:39 +00:00
|
|
|
|
Release: 0
|
2019-08-24 07:42:23 +00:00
|
|
|
|
Summary: Threading and multiprocessing eye-candy for Python
|
2019-08-12 14:18:39 +00:00
|
|
|
|
License: LGPL-3.0-only
|
2019-08-24 07:42:23 +00:00
|
|
|
|
URL: https://github.com/noxdafox/pebble
|
2019-08-12 14:18:39 +00:00
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/P/Pebble/Pebble-%{version}.tar.gz
|
|
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
BuildRequires: fdupes
|
2020-04-20 11:21:08 +00:00
|
|
|
|
BuildRequires: git-core
|
2019-08-24 07:42:23 +00:00
|
|
|
|
BuildRequires: python-rpm-macros
|
2022-09-14 08:17:55 +00:00
|
|
|
|
BuildRequires: python3-base >= 3.7
|
2020-04-20 11:21:08 +00:00
|
|
|
|
BuildArch: noarch
|
2019-08-12 14:18:39 +00:00
|
|
|
|
# SECTION test requirements
|
|
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
|
|
# /SECTION
|
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
2019-08-24 07:42:23 +00:00
|
|
|
|
Pebble provides an API to manage threads and processes within an application.
|
|
|
|
|
|
It wraps Python’s standard library threading and multiprocessing objects.
|
2019-08-12 14:18:39 +00:00
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
%setup -q -n Pebble-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
%python_install
|
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
|
%doc README.rst
|
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|