forked from pool/python-invoke
Accepting request 722668 from home:mcalabkova:branches:devel:languages:python
- Update to version 1.3.0 * Allow the configuration system to override which Executor subclass to use when executing tasks. * Add support for command timeouts, i.e. the ability to add an upper bound on how long a call to run may take to execute. * Add basic dry-run support, in the form of a new --dry CLI option. * Add a new Runner method, close_proc_stdin, and call it when standard input processing detects an EOF. OBS-URL: https://build.opensuse.org/request/show/722668 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
fee9d80472
commit
05adfba900
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc492f8f17a0746e92081aec3f86ae0b4750bf41607ea2ad87e5a7b5705121b7
|
||||
size 319116
|
3
invoke-1.3.0.tar.gz
Normal file
3
invoke-1.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c52274d2e8a6d64ef0d61093e1983268ea1fc0cd13facb9448c4ef0c9a7ac7da
|
||||
size 326196
|
@@ -41,8 +41,8 @@ index 18cf0afd..cbe106b9 100644
|
||||
-import inspect
|
||||
import types
|
||||
|
||||
from .util import six
|
||||
@@ -14,6 +13,11 @@
|
||||
from .context import Context
|
||||
@@ -15,6 +15,11 @@ if six.PY3:
|
||||
else:
|
||||
from itertools import izip_longest as zip_longest
|
||||
|
||||
@@ -51,8 +51,9 @@ index 18cf0afd..cbe106b9 100644
|
||||
+except AttributeError:
|
||||
+ from inspect import getargspec
|
||||
+
|
||||
from .context import Context
|
||||
from .parser import Argument, translate_underscores
|
||||
|
||||
#: Sentinel object representing a truly blank value (vs ``None``).
|
||||
NO_DEFAULT = object()
|
||||
|
||||
@@ -151,7 +155,7 @@ def argspec(self, body):
|
||||
# TODO: __call__ exhibits the 'self' arg; do we manually nix 1st result
|
||||
@@ -85,4 +86,4 @@ index cbe106b9..ad08c893 100644
|
||||
+except ImportError:
|
||||
from inspect import getargspec
|
||||
|
||||
from .context import Context
|
||||
|
||||
|
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 11:36:59 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Update to version 1.3.0
|
||||
* Allow the configuration system to override which Executor
|
||||
subclass to use when executing tasks.
|
||||
* Add support for command timeouts, i.e. the ability to add an
|
||||
upper bound on how long a call to run may take to execute.
|
||||
* Add basic dry-run support, in the form of a new --dry CLI option.
|
||||
* Add a new Runner method, close_proc_stdin, and call it when
|
||||
standard input processing detects an EOF.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 07:25:08 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-invoke
|
||||
Version: 1.2.0
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: Pythonic Task Execution
|
||||
License: BSD-2-Clause
|
||||
@@ -56,8 +56,6 @@ inspiration from various sources to arrive at a powerful & clean feature set.
|
||||
%setup -q -n invoke-%{version}
|
||||
# Remove bundled libs, import will fallback to system provided libs
|
||||
rm -fr invoke/vendor/*
|
||||
# remove pycache dir
|
||||
rm -r invoke/completion/__pycache__/
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
Reference in New Issue
Block a user