commit 5f7bde27144b751115fe4235f3630a78dc8148bee76300f159d7597c7f3c27a9 Author: Steve Kowalik Date: Fri Jul 25 07:09:47 2025 +0000 - Initial release of 0.70.18. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multiprocess?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/multiprocess-0.70.18.tar.gz b/multiprocess-0.70.18.tar.gz new file mode 100644 index 0000000..d5ce9f7 --- /dev/null +++ b/multiprocess-0.70.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9597128e6b3e67b23956da07cf3d2e5cba79e2f4e0fba8d7903636663ec6d0d +size 1798503 diff --git a/python-multiprocess.changes b/python-multiprocess.changes new file mode 100644 index 0000000..c04aee2 --- /dev/null +++ b/python-multiprocess.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Jul 25 07:09:17 UTC 2025 - Steve Kowalik + +- Initial release of 0.70.18. + diff --git a/python-multiprocess.spec b/python-multiprocess.spec new file mode 100644 index 0000000..e002624 --- /dev/null +++ b/python-multiprocess.spec @@ -0,0 +1,74 @@ +# +# spec file for package python-multiprocess +# +# Copyright (c) 2025 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-multiprocess +Version: 0.70.18 +Release: 0 +Summary: better multiprocessing and multithreading in Python +License: BSD-3-Clause +URL: https://github.com/uqfoundation/multiprocess +Source: https://files.pythonhosted.org/packages/source/m/multiprocess/multiprocess-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.9} +BuildRequires: %{python_module build} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 42} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module dill >= 0.4.0} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module testsuite} +# /SECTION +BuildRequires: fdupes +Requires: python-dill >= 0.4.0 +BuildArch: noarch +%python_subpackages + +%description +better multiprocessing and multithreading in Python + +%prep +%autosetup -p1 -n multiprocess-%{version} + +%build +# We need to build this three times, for each version of Python, as opposed +# to just once, because that will only be compatible for the first version +# of Python built. +%python_exec -m build -wn -o build + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%{python_expand \ +subver=$($python --version | cut -d. -f2) +pushd py3.$subver/multiprocess/tests +export PYTHONPATH=%{buildroot}%{$python_sitelib} +export PYTHONDONTWRITEBYTECODE=1 +pytest-3.$subver -v -x -k 'not (CmdLineTest or WithThreadsTestProcess or WithThreadsTestQueue or test_repr_lock or test_repr_rlock or sys_path or test_wait or test_resource_tracker_reused or test_empty or test_args_argument or test_child_fd_inflation or test_lose_target_ref)' . +popd +} + +%files %{python_files} +%doc README.md +%license COPYING LICENSE +%{python_sitelib}/_multiprocess +%{python_sitelib}/multiprocess +%{python_sitelib}/multiprocess-%{version}.dist-info + +%changelog