Accepting request 689804 from devel:languages:python
- Remove release-testing tests as they are pointless for rpm package OBS-URL: https://build.opensuse.org/request/show/689804 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-invocations?expand=0&rev=3
This commit is contained in:
commit
6d7387a44f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 29 10:50:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Remove release-testing tests as they are pointless for rpm package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 11 12:01:52 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-invocations
|
||||
#
|
||||
# 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,7 +12,7 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
@ -23,18 +23,20 @@ Release: 0
|
||||
Summary: Reusable Invoke tasks
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://pyinvoke.org
|
||||
URL: https://github.com/pyinvoke/invocations
|
||||
Source: https://github.com/pyinvoke/invocations/archive/%{version}.tar.gz
|
||||
Patch0: invocations-no-bundled.patch
|
||||
Patch1: invocations-py3.patch
|
||||
BuildRequires: %{python_module blessings >= 1.6}
|
||||
BuildRequires: %{python_module invoke >= 1.0}
|
||||
BuildRequires: %{python_module lexicon}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest-relaxed}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module releases >= 1.2}
|
||||
BuildRequires: %{python_module semantic_version >= 2.4}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module tabulate >= 0.7.5}
|
||||
BuildRequires: %{python_module tqdm >= 4.8.1}
|
||||
BuildRequires: fdupes
|
||||
@ -42,14 +44,12 @@ BuildRequires: python-rpm-macros
|
||||
BuildRequires: python2-enum34
|
||||
Requires: python-blessings >= 1.6
|
||||
Requires: python-invoke >= 1.0
|
||||
Requires: python-lexicon
|
||||
Requires: python-releases >= 1.2
|
||||
Requires: python-semantic_version >= 2.4
|
||||
Requires: python-six
|
||||
Requires: python-tabulate >= 0.7.5
|
||||
Requires: python-tqdm >= 4.8.1
|
||||
BuildRequires: %{python_module six}
|
||||
Requires: python-six
|
||||
BuildRequires: %{python_module lexicon}
|
||||
Requires: python-lexicon
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Requires: python-enum34
|
||||
@ -71,6 +71,8 @@ the Invoke project's communication channels for updates. Thanks!
|
||||
%setup -q -n invocations-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
# remove useless releasing test
|
||||
rm tests/packaging/release.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -81,9 +83,7 @@ the Invoke project's communication channels for updates. Thanks!
|
||||
|
||||
%check
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
py.test-%{$python_bin_suffix}
|
||||
}
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user