forked from pool/python-billiard
Dirk Mueller
3e44cb58c1
* Update process.py to close during join only if process has completed. * Adjust the __repr__ in ApplyResult. * Remove python 3.7 from CI. * Added Python 3.12 support. * Fixed (co_positions): resolve issue caused by absence co_positions (#395). * Fixed: Replaced mktemp usage for Python 3 from python 2. * Changed nose test to pytest (#397) in Integration test. * Changed nose dependency for unit test (#383). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-billiard?expand=0&rev=56
82 lines
2.4 KiB
RPMSpec
82 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package python-billiard
|
|
#
|
|
# Copyright (c) 2023 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/
|
|
#
|
|
|
|
|
|
%{?sle15_python_module_pythons}
|
|
Name: python-billiard
|
|
Version: 4.2.0
|
|
Release: 0
|
|
Summary: Python multiprocessing fork
|
|
License: BSD-3-Clause
|
|
Group: Development/Languages/Python
|
|
URL: https://github.com/celery/billiard
|
|
Source: https://files.pythonhosted.org/packages/source/b/billiard/billiard-%{version}.tar.gz
|
|
BuildRequires: %{python_module psutil >= 5.9.0}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
# Documentation requirements
|
|
BuildRequires: python3-Sphinx >= 0.5
|
|
Suggests: %{name}-doc = %{version}
|
|
BuildArch: noarch
|
|
|
|
%package -n %{name}-doc
|
|
Summary: Documentation for %{name}
|
|
Group: Development/Languages/Python
|
|
Provides: %{python_module billiard-doc = %{version}}
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
billiard is a fork of the Python 2.7 multiprocessing package. The
|
|
multiprocessing package itself is a renamed and updated version of
|
|
R. Oudkerk's pyprocessing package. This standalone variant is
|
|
compatible with Python 2.4 and 2.5, and will draw its
|
|
fixes/improvements from python-trunk.
|
|
|
|
%description -n %{name}-doc
|
|
Documentation and help files for %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1 -n billiard-%{version}
|
|
|
|
%build
|
|
%python_build
|
|
pushd Doc
|
|
sphinx-build -b html . html
|
|
rm -r html/.buildinfo html/.doctrees
|
|
popd
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
|
|
|
%check
|
|
%pytest
|
|
|
|
%files %{python_files}
|
|
%doc CHANGES.txt README.rst
|
|
%license LICENSE.txt
|
|
%{python_sitelib}/*
|
|
|
|
%files -n %{name}-doc
|
|
%doc Doc/html
|
|
|
|
%changelog
|