- Update to 1.2.0:
* [Feature] #301: (via #414) Overhaul tab completion mechanisms so users can print a completion script which automatically matches the emitting binary’s configured names (compared to the previous hardcoded scripts, which only worked for inv/invoke by default). Thanks to Nicolas Höning for the foundational patchset. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
6bf9836b43
commit
b109d4fcb0
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-invoke
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,13 +12,13 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-invoke
|
||||
Version: 1.1.1
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: Pythonic Task Execution
|
||||
License: BSD-2-Clause
|
||||
@@ -55,6 +55,8 @@ 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
|
||||
|
||||
@@ -69,9 +71,7 @@ rm -fr invoke/vendor/*
|
||||
%python_clone -a %{buildroot}%{_bindir}/invoke
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
py.test-%{$python_bin_suffix}
|
||||
}
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
|
||||
|
||||
%post
|
||||
%{python_install_alternative inv invoke}
|
||||
|
||||
Reference in New Issue
Block a user