forked from pool/python-Pebble
* issue #96: handle race condition under different interpreters * issue #125: handle frozen classes as exceptions * issue #127: handle unexpected errors when reading from pipe in process decorators * issue #128: allow different context from `multiprocessing` ones OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pebble?expand=0&rev=32
60 lines
1.7 KiB
RPMSpec
60 lines
1.7 KiB
RPMSpec
#
|
||
# spec file for package python-Pebble
|
||
#
|
||
# 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
|
||
# 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 https://bugs.opensuse.org/
|
||
#
|
||
|
||
|
||
Name: python-Pebble
|
||
Version: 5.0.7
|
||
Release: 0
|
||
Summary: Threading and multiprocessing eye-candy for Python
|
||
License: LGPL-3.0-only
|
||
URL: https://github.com/noxdafox/pebble
|
||
Source: https://files.pythonhosted.org/packages/source/P/Pebble/Pebble-%{version}.tar.gz
|
||
BuildRequires: %{python_module setuptools}
|
||
BuildRequires: fdupes
|
||
BuildRequires: git-core
|
||
BuildRequires: python-rpm-macros
|
||
BuildRequires: python3-base >= 3.7
|
||
BuildArch: noarch
|
||
# SECTION test requirements
|
||
BuildRequires: %{python_module pytest}
|
||
# /SECTION
|
||
%python_subpackages
|
||
|
||
%description
|
||
Pebble provides an API to manage threads and processes within an application.
|
||
It wraps Python’s standard library threading and multiprocessing objects.
|
||
|
||
%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
|