2020-01-07 12:53:48 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-thespian
|
|
|
|
#
|
2025-06-04 06:17:03 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2020-01-07 12:53:48 +00:00
|
|
|
#
|
|
|
|
# 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-thespian
|
2023-12-08 12:23:55 +00:00
|
|
|
Version: 3.10.7
|
2020-01-07 12:53:48 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Python Actor concurrency library
|
|
|
|
License: MIT
|
|
|
|
URL: https://thespianpy.com
|
2020-01-07 14:44:40 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/t/thespian/thespian-%{version}.zip
|
2025-06-04 06:17:03 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2020-01-07 12:53:48 +00:00
|
|
|
BuildRequires: %{python_module setproctitle}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-04 06:17:03 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2020-01-07 12:53:48 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: unzip
|
|
|
|
Requires: python-setproctitle
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Thespian is a Python library providing a framework for developing
|
|
|
|
concurrent, distributed, fault tolerant applications.
|
|
|
|
|
|
|
|
Thespian is built on the Actor Model which allows applications to be
|
|
|
|
written as a group of independently executing but cooperating
|
|
|
|
"Actors" which communicate via messages. These Actors run within
|
|
|
|
the Actor System provided by the Thespian library.
|
|
|
|
|
|
|
|
* Concurrent
|
|
|
|
* Distributed
|
|
|
|
* Fault Tolerant
|
|
|
|
* Scalable
|
|
|
|
* Location independent
|
|
|
|
|
|
|
|
Actor programming is broadly applicable and it is ideally suited
|
|
|
|
for Cloud-based applications as well, where compute nodes are
|
|
|
|
added and removed from the environment dynamically.
|
|
|
|
|
|
|
|
* More Information: http://thespianpy.com
|
|
|
|
* Release Notes: http://thespianpy.com/doc/releases.html
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n thespian-%{version}
|
|
|
|
sed -i -e '1{\@^#!%{_bindir}/.*python@d}' thespian/{director,shell}.py
|
|
|
|
|
|
|
|
%build
|
2025-06-04 06:17:03 +00:00
|
|
|
%pyproject_wheel
|
2020-01-07 12:53:48 +00:00
|
|
|
|
|
|
|
%install
|
2025-06-04 06:17:03 +00:00
|
|
|
%pyproject_install
|
2020-01-07 14:44:40 +00:00
|
|
|
%{python_expand mv %{buildroot}%{$python_sitelib}/{contrib,thespian}
|
|
|
|
%fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
}
|
2020-01-07 12:53:48 +00:00
|
|
|
|
2020-03-17 11:18:06 +00:00
|
|
|
%check
|
|
|
|
# neverending story
|
|
|
|
|
2020-01-07 12:53:48 +00:00
|
|
|
%files %{python_files}
|
2020-01-07 14:44:40 +00:00
|
|
|
%license LICENSE.txt
|
|
|
|
%doc README.rst doc/*.org
|
2025-06-04 06:17:03 +00:00
|
|
|
%{python_sitelib}/thespian
|
|
|
|
%{python_sitelib}/thespian-%{version}.dist-info
|
2020-01-07 12:53:48 +00:00
|
|
|
|
|
|
|
%changelog
|