14
0

Accepting request 692779 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/692779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-softlayer?expand=0&rev=3
This commit is contained in:
2019-04-14 10:22:02 +00:00
committed by Git OBS Bridge
4 changed files with 30 additions and 13 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Apr 9 13:07:50 UTC 2019 - pgajdos@suse.com
- version update to 5.7.1
* many changes, see CHANGELOG.md
- run testsuite
- package change log
-------------------------------------------------------------------
Fri May 11 20:24:15 UTC 2018 - toddrme2178@gmail.com

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58ba735539727cffcb80ab045f08dd3b6b4733efaece057f0ff4a8bb45b600c6
size 297763

3
v5.7.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3fbb7ff534ab519fa385970198736d28ec0805ecac593d1d759b684958a69e11
size 349403