15
0
forked from pool/python-Pebble
Files
python-Pebble/python-Pebble.spec
Steve Kowalik 62255c28f8 - Update to 4.6.0
* Features:
    + issue #73: allow passing `multiprocessing.context` object
      as `concurrent.process` and `ProcessPool` parameter
  * Fixes:
    + issues #34, #35: rework Pool termination logic to silence Windows errors
    + issue #68: use fully qualified function name in `concurrent.process`
      decorator trampoline to handle class inheritance in Windows
    + issue #69: correctly propagate the timeout in pool's map method
    + issue #64: rework versioning logic

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pebble?expand=0&rev=16
2021-01-14 03:54:56 +00:00

67 lines
1.8 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#
# spec file for package python-Pebble
#
# Copyright (c) 2021 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-Pebble
Version: 4.6.0
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
BuildArch: noarch
%if %{with python2}
BuildRequires: python-futures
%endif
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION
%ifpython2
Requires: python-futures
%endif
%python_subpackages
%description
Pebble provides an API to manage threads and processes within an application.
It wraps Pythons 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