15
0
forked from pool/python-Pebble
Files
python-Pebble/python-Pebble.spec
Markéta Machová 4a933ba4da Accepting request 1003345 from home:marxin:branches:devel:languages:python
- Update to 5.0.0
  * Backward incompatible changes:
   + issue #93: Python 2 is no longer compatible. Minimum supported
     version is now 3.7.
  * Deprecations:
   + issue #90: pools `schedule` method is now deprecated, use `submit`
     instead.
  * Features:
   + issue #90: pools are now compatible with asyncio APIs.
   + issue #94: asynchronous function decorators
   + issue #102: type hints have been added to all functionalities
   + issue #103: support alternative multiprocessing.context
     implementations
  * Fixes:
   + issue #99: fix deadlock when closing a full pipe on Windows in pool
- Require Python >= 3.7.
- Drop Python 2 support.

OBS-URL: https://build.opensuse.org/request/show/1003345
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pebble?expand=0&rev=20
2022-09-14 08:17:55 +00:00

60 lines
1.7 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) 2022 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.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
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 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