From b109d4fcb0495d5eb2f5b20d2eccb44a66230f4020766db5aee24de2d1837e0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 26 Mar 2019 14:08:09 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=201.2.0:=20=20=20*=20[Feature]?= =?UTF-8?q?=20#301:=20(via=20#414)=20Overhaul=20tab=20completion=20mechani?= =?UTF-8?q?sms=20so=20users=20can=20print=20a=20completion=20script=20whic?= =?UTF-8?q?h=20automatically=20matches=20the=20emitting=20binary=E2=80=99s?= =?UTF-8?q?=20configured=20names=20(compared=20to=20the=20previous=20hardc?= =?UTF-8?q?oded=20scripts,=20which=20only=20worked=20for=20inv/invoke=20by?= =?UTF-8?q?=20default).=20Thanks=20to=20Nicolas=20H=C3=B6ning=20for=20the?= =?UTF-8?q?=20foundational=20patchset.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=15 --- invoke-1.1.1.tar.gz | 3 --- invoke-1.2.0.tar.gz | 3 +++ python-invoke.changes | 6 ++++++ python-invoke.spec | 12 ++++++------ 4 files changed, 15 insertions(+), 9 deletions(-) delete mode 100644 invoke-1.1.1.tar.gz create mode 100644 invoke-1.2.0.tar.gz diff --git a/invoke-1.1.1.tar.gz b/invoke-1.1.1.tar.gz deleted file mode 100644 index b770e62..0000000 --- a/invoke-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c2cf54c9b9af973ad9704d8ba81b225117cab612568cacbfb3fc42958cc20a9 -size 311831 diff --git a/invoke-1.2.0.tar.gz b/invoke-1.2.0.tar.gz new file mode 100644 index 0000000..ff74bf2 --- /dev/null +++ b/invoke-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc492f8f17a0746e92081aec3f86ae0b4750bf41607ea2ad87e5a7b5705121b7 +size 319116 diff --git a/python-invoke.changes b/python-invoke.changes index 2ebe1bc..4f4c893 100644 --- a/python-invoke.changes +++ b/python-invoke.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 26 14:02:06 UTC 2019 - Tomáš Chvátal + +- 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. + ------------------------------------------------------------------- Sat Aug 11 11:42:30 UTC 2018 - tchvatal@suse.com diff --git a/python-invoke.spec b/python-invoke.spec index 9c6bf58..1788149 100644 --- a/python-invoke.spec +++ b/python-invoke.spec @@ -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}