forked from pool/python-softlayer
Accepting request 692605 from home:pgajdos
- version update to 5.7.1 * many changes, see CHANGELOG.md - run testsuite - package change log OBS-URL: https://build.opensuse.org/request/show/692605 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-softlayer?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
0dbeedd1e1
commit
723b25fcd3
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-softlayer
|
||||
#
|
||||
# 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,31 +12,40 @@
|
||||
# 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-softlayer
|
||||
Version: 5.4.3
|
||||
Version: 5.7.1
|
||||
Release: 0
|
||||
Summary: A set of Python libraries that assist in calling the SoftLayer API
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/softlayer/softlayer-python
|
||||
Source: https://github.com/softlayer/softlayer-python/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module PrettyTable >= 0.7.0}
|
||||
BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module prompt_toolkit >= 0.5.3}
|
||||
BuildRequires: %{python_module pygments >= 2.0.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module requests >= 2.18.4}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.6.1}
|
||||
BuildRequires: %{python_module six >= 1.7.0}
|
||||
BuildRequires: %{python_module testtools}
|
||||
BuildRequires: %{python_module urllib3 >= 1.24}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PrettyTable >= 0.7.0
|
||||
Requires: python-click
|
||||
Requires: python-requests
|
||||
Requires: python-prompt_toolkit >= 0.5.3
|
||||
Requires: python-pygments >= 2.0.0
|
||||
Requires: python-requests >= 2.18.4
|
||||
Requires: python-setuptools
|
||||
Requires: python-six >= 1.6.1
|
||||
Requires: python-six >= 1.7.0
|
||||
Requires: python-urllib3 >= 1.24
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -55,12 +64,12 @@ This library provides a simple Python client to interact with SoftLayer's XML-RP
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Tests are self-importing and package needs to be installed
|
||||
#%%python_exec -m pytest tests
|
||||
|
||||
# https://github.com/softlayer/softlayer-python/issues/1095#issuecomment-481233467
|
||||
%pytest -k 'not test_setup_cancel'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc *.md
|
||||
%{python_sitelib}/*
|
||||
%python3_only %{_bindir}/sl
|
||||
%python3_only %{_bindir}/slcli
|
||||
|
Reference in New Issue
Block a user