1
0

Accepting request 356494 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/356494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-execnet?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2016-02-01 18:55:53 +00:00 committed by Git OBS Bridge
commit 6e2f6371c0
5 changed files with 179 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
execnet-1.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:951714caa0ae80237f4ffc1f08450e9e2e5f8f902beaf1ad294020875d6f8c2c
size 163876

73
python-execnet.changes Normal file
View File

@ -0,0 +1,73 @@
-------------------------------------------------------------------
Fri Dec 12 20:06:01 UTC 2014 - tbechtold@suse.com
- Update to version 1.2:
* fix issue22 -- during interpreter shutdown don't throw
an exception when we can't send a termination sequence
anymore as we are about to die anyway.
* fix issue24 -- allow concurrent creation of gateways
by guarding automatic id creation by a look.
Thanks tlecomte.
* majorly refactor internal thread and IO handling.
execnet can now operate on different thread models,
defaults to "thread" but allows for eventlet and
gevent if it is installed.
* gateway.remote_exec() will now execute in multiple
threads on the other side by default. The previous
neccessity of running "gateway.remote_init_threads()"
to allow for such concurrency is gone. The latter
method is now a no-op and will be removed in future
versions of execnet.
* fix issue20: prevent AttributError at interpreter shutdown
by not trying to send close/last_message messages if the
world around is half destroyed.
* fix issue21: allow to create local gateways with sudo aka
makegateway("popen//python=sudo python").
Thanks Alfredo Deza for the PR.
* streamline gateway termination and simplify proxy
implementation. add more internal tracing.
* if execution hangs in computation, we now try to
send a SIGINT to ourselves on Unix platforms
instead of just calling thread.interrupt_main()
* change license from GPL to MIT
* introduce execnet.dump/load variants of dumps/loads
serializing/unserializing mechanism.
* improve channel.receive() communication latency on python2
by changing the default timeout of the underlying Queue.get
to a regular None instead of the previous default -1
which caused an internal positive timeout value
(a hack probably introduced to allow CTRL-C to pass
through for <python2.5 versions).
* extended ssh-syntax to allow passing of command line args,
e.g. "ssh= -p 50 hostname". The options are passed to
the underlying ssh client binary. Thanks tundish.
* fix issue15: interoperability with inspect.getstack().
Thanks Peter Feiner.
* fix issue10 : skip PYTHONDONTWRITEBYTECODE test if
it we are running with PYTHONDONTWRITEBYTECODE set.
* dont try the jython pid fixup on a RemoteIO
* avoid accidentally setting exc_info() in gateway_base.py
- Remove BuildRequires for unzip. .tar.gz release from pypi
is use now used
-------------------------------------------------------------------
Wed Oct 9 17:25:37 UTC 2013 - p.drouand@gmail.com
- Disable tests: fails for instance
- Fix build for SLES11
-------------------------------------------------------------------
Tue Oct 8 09:35:02 UTC 2013 - mvyskocil@suse.com
- Install a generated documentation
-------------------------------------------------------------------
Fri Oct 4 07:56:36 UTC 2013 - mvyskocil@suse.com
- Build documentation with Sphinx
-------------------------------------------------------------------
Thu Oct 3 12:38:43 UTC 2013 - mvyskocil@suse.com
- Initial packaging execnet 1.1 for openSUSE

79
python-execnet.spec Normal file
View File

@ -0,0 +1,79 @@
#
# spec file for package python-execnet
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: python-execnet
Version: 1.2.0
Release: 0
Summary: Rapid multi-Python deployment
License: MIT
Group: Development/Libraries/Python
Url: http://codespeak.net/execnet/
Source0: https://pypi.python.org/packages/source/e/execnet/execnet-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-Sphinx
BuildRequires: python-devel
BuildRequires: python-pytest
BuildRequires: python-setuptools
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
execnet provides a share-nothing model with
channel-send/receive communication for distributing
execution across many Python interpreters across version,
platform and network barriers. It has a minimal and fast
API targetting the following uses:
* distribute tasks to (many) local or remote CPUs
* write and deploy hybrid multi-process applications
* write scripts to administer multiple environments
%prep
%setup -q -n execnet-%{version}
%package doc
Summary: Documentation and examples for %{name}
Group: Documentation/Other
%description doc
Documentation and examples for %{name}.
%build
python setup.py build build_sphinx
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# Tests actually fail (posophe)
#%check
#python setup.py test
%files
%defattr(-,root,root,-)
%doc CHANGELOG LICENSE README.txt
%{python_sitelib}/*
%files doc
%defattr(-,root,root,-)
%doc build/sphinx/html
%changelog