Accepting request 842127 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/842127 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-invoke?expand=0&rev=10
This commit is contained in:
commit
8fe08d8c3c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c52274d2e8a6d64ef0d61093e1983268ea1fc0cd13facb9448c4ef0c9a7ac7da
|
|
||||||
size 326196
|
|
3
invoke-1.4.1.tar.gz
Normal file
3
invoke-1.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:de3f23bfe669e3db1085789fd859eb8ca8e0c5d9c20811e2407fa042e8a5e15d
|
||||||
|
size 332271
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 16 12:55:39 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- disable test suite with bcond because of unmaintained
|
||||||
|
pytest-relaxed gh#bitprophet/pytest-relaxed#12
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 14 14:13:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- Update to version 1.4.1
|
||||||
|
* Fix an issue with `~invoke.run` & friends having intermittent
|
||||||
|
problems at exit time.
|
||||||
|
* Many other fixes.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 17 10:08:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Tue Sep 17 10:08:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-invoke
|
# spec file for package python-invoke
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,9 +16,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
# broken with pytest-relaxed (same author -- all of this is unmaintained)
|
||||||
|
%bcond_with test
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-invoke
|
Name: python-invoke
|
||||||
Version: 1.3.0
|
Version: 1.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pythonic Task Execution
|
Summary: Pythonic Task Execution
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@ -27,15 +30,7 @@ URL: http://www.pyinvoke.org
|
|||||||
Source: https://files.pythonhosted.org/packages/source/i/invoke/invoke-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/i/invoke/invoke-%{version}.tar.gz
|
||||||
Patch0: 0001-Make-test-fallback-to-system-modules-when-vendorized.patch
|
Patch0: 0001-Make-test-fallback-to-system-modules-when-vendorized.patch
|
||||||
Patch1: pytest4.patch
|
Patch1: pytest4.patch
|
||||||
BuildRequires: %{python_module PyYAML}
|
|
||||||
BuildRequires: %{python_module fluidity-sm}
|
|
||||||
BuildRequires: %{python_module lexicon}
|
|
||||||
BuildRequires: %{python_module mock}
|
|
||||||
BuildRequires: %{python_module pexpect}
|
|
||||||
BuildRequires: %{python_module pytest-relaxed}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-PyYAML
|
Requires: python-PyYAML
|
||||||
@ -46,6 +41,18 @@ Requires: python-six
|
|||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module PyYAML}
|
||||||
|
BuildRequires: %{python_module fluidity-sm}
|
||||||
|
BuildRequires: %{python_module lexicon}
|
||||||
|
BuildRequires: %{python_module mock}
|
||||||
|
BuildRequires: %{python_module pexpect}
|
||||||
|
# pytest < 6.1 to resolve pytest-relaxed constraint
|
||||||
|
# https://github.com/bitprophet/pytest-relaxed/issues/12
|
||||||
|
BuildRequires: %{python_module pytest < 6.1}
|
||||||
|
BuildRequires: %{python_module pytest-relaxed}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -70,10 +77,10 @@ rm -fr invoke/vendor/*
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/inv
|
%python_clone -a %{buildroot}%{_bindir}/inv
|
||||||
%python_clone -a %{buildroot}%{_bindir}/invoke
|
%python_clone -a %{buildroot}%{_bindir}/invoke
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
# broken with new pytest-relaxed (same author), just disable until he
|
%pytest -s
|
||||||
# gets around to release new version
|
%endif
|
||||||
#%%pytest
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{python_install_alternative inv invoke}
|
%{python_install_alternative inv invoke}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user