commit python-softlayer for openSUSE:Factory

2020-07-29 Thread root
Hello community,

here is the log from the commit of package python-softlayer for 
openSUSE:Factory checked in at 2020-07-29 17:21:29

Comparing /work/SRC/openSUSE:Factory/python-softlayer (Old)
 and  /work/SRC/openSUSE:Factory/.python-softlayer.new.3592 (New)


Package is "python-softlayer"

Wed Jul 29 17:21:29 2020 rev:10 rq:823359 version:5.8.9

Changes:

--- /work/SRC/openSUSE:Factory/python-softlayer/python-softlayer.changes
2020-05-19 14:59:08.813488850 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-softlayer.new.3592/python-softlayer.changes  
2020-07-29 17:23:29.952715225 +0200
@@ -1,0 +2,14 @@
+Wed Jul 29 07:47:04 UTC 2020 - Marketa Calabkova 
+
+- update to 5.8.9
+  * #1252 Automated Snap publisher
+  * #1230 Tag Management
+  * #1287 Edit IP note and add ipAddress table in detail view
+  * #1291 Storage documentation updates
+  * #1266 Fixed ticket upload with REST endpoint
+  * #1263 add the redundant/degraded option to hardware
+  * #1262 Added `iter` option for ordering manager functions
+  * #1264 Add Account planned, unplanned and announcement events
+  * #1241 Storage feature for virtual and hardware servers 
+
+---

Old:

  v5.8.7.tar.gz

New:

  v5.8.9.tar.gz



Other differences:
--
++ python-softlayer.spec ++
--- /var/tmp/diff_new_pack.h8BeRR/_old  2020-07-29 17:23:31.412716481 +0200
+++ /var/tmp/diff_new_pack.h8BeRR/_new  2020-07-29 17:23:31.416716485 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-softlayer
-Version:5.8.7
+Version:5.8.9
 Release:0
 Summary:A set of Python libraries that assist in calling the SoftLayer 
API
 License:MIT

++ v5.8.7.tar.gz -> v5.8.9.tar.gz ++
 5620 lines of diff (skipped)




commit python-softlayer for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package python-softlayer for 
openSUSE:Factory checked in at 2020-05-19 14:58:54

Comparing /work/SRC/openSUSE:Factory/python-softlayer (Old)
 and  /work/SRC/openSUSE:Factory/.python-softlayer.new.2738 (New)


Package is "python-softlayer"

Tue May 19 14:58:54 2020 rev:9 rq:807293 version:5.8.7

Changes:

--- /work/SRC/openSUSE:Factory/python-softlayer/python-softlayer.changes
2020-04-16 23:02:14.271626951 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-softlayer.new.2738/python-softlayer.changes  
2020-05-19 14:59:08.813488850 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:28:05 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-softlayer.spec ++
--- /var/tmp/diff_new_pack.26Zgku/_old  2020-05-19 14:59:09.913491290 +0200
+++ /var/tmp/diff_new_pack.26Zgku/_new  2020-05-19 14:59:09.917491298 +0200
@@ -47,6 +47,8 @@
 Requires:   python-setuptools
 Requires:   python-six >= 1.7.0
 Requires:   python-urllib3 >= 1.24
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 %python_subpackages
 
 %description
@@ -60,6 +62,8 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/slcli
+%python_clone -a %{buildroot}%{_bindir}/sl
 # do not install tests
 %python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -67,11 +71,19 @@
 %check
 %pytest
 
+%post
+%python_install_alternative slcli
+%python_install_alternative sl
+
+%postun
+%python_uninstall_alternative slcli
+%python_uninstall_alternative sl
+
 %files %{python_files}
 %license LICENSE
 %doc *.md
 %{python_sitelib}/*
-%python3_only %{_bindir}/sl
-%python3_only %{_bindir}/slcli
+%python_alternative %{_bindir}/sl
+%python_alternative %{_bindir}/slcli
 
 %changelog




commit python-softlayer for openSUSE:Factory

2020-04-16 Thread root
Hello community,

here is the log from the commit of package python-softlayer for 
openSUSE:Factory checked in at 2020-04-16 23:02:09

Comparing /work/SRC/openSUSE:Factory/python-softlayer (Old)
 and  /work/SRC/openSUSE:Factory/.python-softlayer.new.2738 (New)


Package is "python-softlayer"

Thu Apr 16 23:02:09 2020 rev:8 rq:794254 version:5.8.7

Changes:

--- /work/SRC/openSUSE:Factory/python-softlayer/python-softlayer.changes
2020-03-18 12:46:14.096986654 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-softlayer.new.2738/python-softlayer.changes  
2020-04-16 23:02:14.271626951 +0200
@@ -1,0 +2,14 @@
+Wed Apr 15 15:19:02 UTC 2020 - Marketa Calabkova 
+
+- update to 5.8.7
+  * #1222 Get load balancer (LBaaS) by name
+  * #1221 Added version checker
+  * #1227 Updated unit test suite for TravisCI to run properly
+  * #1225 Add note about using multiple colon symbols not working when setting 
tags.
+  * #1228 Support ordering [Dependent Duplicate 
Volumes](https://cloud.ibm.com/docs/BlockStorage?topic=BlockStorage-dependentduplicate)
+  * #1233 Refactored File/Block managers to reduce duplicated code.
+  * #1231 Added Refresh functions for Dependent Duplicate Volumes
+  * #801 Added support for JSON styled parameters and object filters
+  * #1234 Added ability to change which datacenters an image template was 
stored in
+
+---

Old:

  v5.8.5.tar.gz

New:

  v5.8.7.tar.gz



Other differences:
--
++ python-softlayer.spec ++
--- /var/tmp/diff_new_pack.qcLrFZ/_old  2020-04-16 23:02:16.723628798 +0200
+++ /var/tmp/diff_new_pack.qcLrFZ/_new  2020-04-16 23:02:16.723628798 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-softlayer
-Version:5.8.5
+Version:5.8.7
 Release:0
 Summary:A set of Python libraries that assist in calling the SoftLayer 
API
 License:MIT

++ v5.8.5.tar.gz -> v5.8.7.tar.gz ++
 4069 lines of diff (skipped)




commit python-softlayer for openSUSE:Factory

2020-03-18 Thread root
Hello community,

here is the log from the commit of package python-softlayer for 
openSUSE:Factory checked in at 2020-03-18 12:41:51

Comparing /work/SRC/openSUSE:Factory/python-softlayer (Old)
 and  /work/SRC/openSUSE:Factory/.python-softlayer.new.3160 (New)


Package is "python-softlayer"

Wed Mar 18 12:41:51 2020 rev:7 rq:785970 version:5.8.5

Changes:

--- /work/SRC/openSUSE:Factory/python-softlayer/python-softlayer.changes
2019-09-11 10:35:24.851295864 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-softlayer.new.3160/python-softlayer.changes  
2020-03-18 12:46:14.096986654 +0100
@@ -1,0 +2,43 @@
+Tue Mar 17 14:29:19 UTC 2020 - pgaj...@suse.com
+
+- version update to 5.8.5
+  ## [5.8.5] - 2012-01-29
+  -  #1195 Fixed an issue with `slcli vs dns-sync --ptr`. Added `slcli hw 
dns-sync`
+  -  #1199 Fix File Storage failback and failover.
+  -  #1198 Fix issue where the summary command fails due to None being 
provided as the datacenter name.
+  -  #1208 Added The following commands:
+  - `slcli block volume-limits`
+  - `slcli file  volume-limits`
+  - #1209  Add testing/CI for python 3.8.
+  - #1212 Fix vs detail erroring on servers pending cancellation.
+  - #1210 support subnet ACL management through cli
+  + `slcli block subnets-list`
+  + `slcli block subnets-assign`
+  + `slcli block subnets-remove`
+  - #1215 Added documentation for all SLCLI commands.
+  ## [5.8.4] - 2019-12-20
+  - #1199 Fix block storage failback and failover.
+  - #1202 Order a virtual server private.
+  ## [5.8.3] - 2019-12-11
+  - #771 Fixed unicode errors in image list (for windows)
+  - #1191 Fixed ordering virtual server dedicated from the CLI
+  - #1155 Fixed capacity restriction when ordering storage quotes
+  - #1192 Fixed hardware detail bandwidth allocation errors.
+  ## [5.8.2] - 2019-11-15
+  + #1186 Fixed a unit test that could fail if the test took too long to run.
+  + #1183 Added a check to ensure subnet and vlan options are properly added 
to the order for virtual servers.
+  + #1184 Fixed a readme misspelling.
+  + #1182 Fixed vs reboot unable to resolve vs names.
+  + #1095 Handle missing Fixtures better for unit tests.
+  + #1169 Drop python 2.7 support
+  + #1170 Added CS# to ticket listing
+  + #1162 Fixed issue looking up OS keyName instead of referenceCode
+  + #627 Autoscale support
+  * slcli autoscale detail
+  * slcli autoscale edit
+  * slcli autoscale list
+  * slcli autoscale logs
+  * slcli autoscale scale
+  * slcli autoscale tag
+
+---

Old:

  v5.8.0.tar.gz

New:

  v5.8.5.tar.gz



Other differences:
--
++ python-softlayer.spec ++
--- /var/tmp/diff_new_pack.7BQjxK/_old  2020-03-18 12:46:16.276988033 +0100
+++ /var/tmp/diff_new_pack.7BQjxK/_new  2020-03-18 12:46:16.280988036 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-softlayer
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-softlayer
-Version:5.8.0
+Version:5.8.5
 Release:0
 Summary:A set of Python libraries that assist in calling the SoftLayer 
API
 License:MIT
@@ -26,7 +27,7 @@
 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 click >= 7}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module prompt_toolkit >= 2}
 BuildRequires:  %{python_module pygments >= 2.0.0}
@@ -39,7 +40,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-PrettyTable >= 0.7.0
-Requires:   python-click
+Requires:   python-click >= 7
 Requires:   python-prompt_toolkit >= 2
 Requires:   python-pygments >= 2.0.0
 Requires:   python-requests >= 2.20.0

++ v5.8.0.tar.gz -> v5.8.5.tar.gz ++
 6154 lines of diff (skipped)




commit python-softlayer for openSUSE:Factory

2019-09-11 Thread root
Hello community,

here is the log from the commit of package python-softlayer for 
openSUSE:Factory checked in at 2019-09-11 10:35:24

Comparing /work/SRC/openSUSE:Factory/python-softlayer (Old)
 and  /work/SRC/openSUSE:Factory/.python-softlayer.new.7948 (New)


Package is "python-softlayer"

Wed Sep 11 10:35:24 2019 rev:6 rq:729770 version:5.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-softlayer/python-softlayer.changes
2019-05-07 23:19:38.245007216 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-softlayer.new.7948/python-softlayer.changes  
2019-09-11 10:35:24.851295864 +0200
@@ -1,0 +2,8 @@
+Tue Sep 10 10:15:52 UTC 2019 - Tomáš Chvátal 
+
+- Bump to 5.8.0:
+  * use prompt_toolkit >= 2.0
+  * various tests/documentation improvements
+  * Removed legacy loadbalancer command
+
+---

Old:

  v5.7.2.tar.gz

New:

  v5.8.0.tar.gz



Other differences:
--
++ python-softlayer.spec ++
--- /var/tmp/diff_new_pack.D9hZaf/_old  2019-09-11 10:35:25.283295738 +0200
+++ /var/tmp/diff_new_pack.D9hZaf/_new  2019-09-11 10:35:25.283295738 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-softlayer
-Version:5.7.2
+Version:5.8.0
 Release:0
 Summary:A set of Python libraries that assist in calling the SoftLayer 
API
 License:MIT
@@ -28,10 +28,10 @@
 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 prompt_toolkit >= 2}
 BuildRequires:  %{python_module pygments >= 2.0.0}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module requests >= 2.18.4}
+BuildRequires:  %{python_module requests >= 2.20.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.7.0}
 BuildRequires:  %{python_module testtools}
@@ -40,9 +40,9 @@
 BuildRequires:  python-rpm-macros
 Requires:   python-PrettyTable >= 0.7.0
 Requires:   python-click
-Requires:   python-prompt_toolkit >= 0.5.3
+Requires:   python-prompt_toolkit >= 2
 Requires:   python-pygments >= 2.0.0
-Requires:   python-requests >= 2.18.4
+Requires:   python-requests >= 2.20.0
 Requires:   python-setuptools
 Requires:   python-six >= 1.7.0
 Requires:   python-urllib3 >= 1.24
@@ -60,8 +60,8 @@
 %install
 %python_install
 # do not install tests
-%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests/
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest

++ v5.7.2.tar.gz -> v5.8.0.tar.gz ++
 7479 lines of diff (skipped)




commit python-softlayer for openSUSE:Factory

2019-05-07 Thread root
Hello community,

here is the log from the commit of package python-softlayer for 
openSUSE:Factory checked in at 2019-05-07 23:19:36

Comparing /work/SRC/openSUSE:Factory/python-softlayer (Old)
 and  /work/SRC/openSUSE:Factory/.python-softlayer.new.5148 (New)


Package is "python-softlayer"

Tue May  7 23:19:36 2019 rev:5 rq:701229 version:5.7.2

Changes:

--- /work/SRC/openSUSE:Factory/python-softlayer/python-softlayer.changes
2019-04-30 13:04:08.830045749 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-softlayer.new.5148/python-softlayer.changes  
2019-05-07 23:19:38.245007216 +0200
@@ -1,0 +2,34 @@
+Tue May  7 07:27:35 UTC 2019 - pgaj...@suse.com
+
+- version update to 5.7.2
+  + #1107 Added exception to handle json parsing error when ordering
+  + #1068 Support for -1 when changing port speed
+  + #1109 Fixed docs about placement groups
+  + #1112 File storage endurance iops upgrade
+  + #1101 Handle the new user creation exceptions
+  + #1116 Fix order place quantity option
+  + #1002 Invoice commands
+  * account invoices
+  * account invoice-detail
+  * account summary
+  + #1004 Event Notification Management commands
+  * account events
+  * account event-detail
+  + #1117 Two PCIe items can be added at order time
+  + #1121 Fix object storage apiType for S3 and Swift.
+  + #1100 Event Log performance improvements.
+  + #872 column 'name' was renamed to 'hostname'
+  + #1127 Fix object storage credentials.
+  + #1129 Fixed unexpected errors in slcli subnet create
+  + #1134 Change encrypt parameters for importing of images. Adds root-key-crn
+  + #208 Quote ordering commands
+  * order quote
+  * order quote-detail
+  * order quote-list
+  + #1113 VS usage information command
+  * virtual usage
+  + #1131 made sure config_tests dont actually make api calls.
+- deleted patches
+  - python-softlayer-fix-teset_setup_cancel.patch (upstreamed)
+
+---

Old:

  python-softlayer-fix-teset_setup_cancel.patch
  v5.7.1.tar.gz

New:

  v5.7.2.tar.gz



Other differences:
--
++ python-softlayer.spec ++
--- /var/tmp/diff_new_pack.nQwALD/_old  2019-05-07 23:19:39.017008978 +0200
+++ /var/tmp/diff_new_pack.nQwALD/_new  2019-05-07 23:19:39.021008987 +0200
@@ -18,15 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-softlayer
-Version:5.7.1
+Version:5.7.2
 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
-# fix https://github.com/softlayer/softlayer-python/issues/1095
-Patch0: python-softlayer-fix-teset_setup_cancel.patch
 BuildRequires:  %{python_module PrettyTable >= 0.7.0}
 BuildRequires:  %{python_module click}
 BuildRequires:  %{python_module mock}
@@ -55,7 +53,6 @@
 
 %prep
 %setup -q -n softlayer-python-%{version}
-%patch0 -p1
 
 %build
 %python_build

++ v5.7.1.tar.gz -> v5.7.2.tar.gz ++
 4775 lines of diff (skipped)




commit python-softlayer for openSUSE:Factory

2019-04-30 Thread root
Hello community,

here is the log from the commit of package python-softlayer for 
openSUSE:Factory checked in at 2019-04-30 13:04:03

Comparing /work/SRC/openSUSE:Factory/python-softlayer (Old)
 and  /work/SRC/openSUSE:Factory/.python-softlayer.new.5536 (New)


Package is "python-softlayer"

Tue Apr 30 13:04:03 2019 rev:4 rq:697765 version:5.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-softlayer/python-softlayer.changes
2019-04-14 12:22:02.855734170 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-softlayer.new.5536/python-softlayer.changes  
2019-04-30 13:04:08.830045749 +0200
@@ -1,0 +2,7 @@
+Thu Apr 25 06:27:39 UTC 2019 - pgaj...@suse.com
+
+- added patches
+  fix https://github.com/softlayer/softlayer-python/issues/1095
+  + python-softlayer-fix-teset_setup_cancel.patch
+
+---

New:

  python-softlayer-fix-teset_setup_cancel.patch



Other differences:
--
++ python-softlayer.spec ++
--- /var/tmp/diff_new_pack.pcNw77/_old  2019-04-30 13:04:11.210041654 +0200
+++ /var/tmp/diff_new_pack.pcNw77/_new  2019-04-30 13:04:11.214041646 +0200
@@ -25,6 +25,8 @@
 Group:  Development/Languages/Python
 URL:https://github.com/softlayer/softlayer-python
 Source: 
https://github.com/softlayer/softlayer-python/archive/v%{version}.tar.gz
+# fix https://github.com/softlayer/softlayer-python/issues/1095
+Patch0: python-softlayer-fix-teset_setup_cancel.patch
 BuildRequires:  %{python_module PrettyTable >= 0.7.0}
 BuildRequires:  %{python_module click}
 BuildRequires:  %{python_module mock}
@@ -53,6 +55,7 @@
 
 %prep
 %setup -q -n softlayer-python-%{version}
+%patch0 -p1
 
 %build
 %python_build
@@ -64,8 +67,7 @@
 %python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
 %check
-# 
https://github.com/softlayer/softlayer-python/issues/1095#issuecomment-481233467
-%pytest -k 'not test_setup_cancel'
+%pytest
 
 %files %{python_files}
 %license LICENSE

++ python-softlayer-fix-teset_setup_cancel.patch ++
diff --git a/tests/CLI/modules/config_tests.py 
b/tests/CLI/modules/config_tests.py
index 4fe9cf86..ec018a53 100644
--- a/tests/CLI/modules/config_tests.py
+++ b/tests/CLI/modules/config_tests.py
@@ -75,10 +75,12 @@ def test_setup(self, mocked_input, getpass, confirm_mock, 
client):
 self.assertTrue('api_key = 
' in contents)
 self.assertTrue('endpoint_url = %s' % consts.API_PUBLIC_ENDPOINT 
in contents)
 
+@mock.patch('SoftLayer.Client')
 @mock.patch('SoftLayer.CLI.formatting.confirm')
 @mock.patch('SoftLayer.CLI.environment.Environment.getpass')
 @mock.patch('SoftLayer.CLI.environment.Environment.input')
-def test_setup_cancel(self, mocked_input, getpass, confirm_mock):
+def test_setup_cancel(self, mocked_input, getpass, confirm_mock, client):
+client.return_value = self.env.client
 with tempfile.NamedTemporaryFile() as config_file:
 confirm_mock.return_value = False
 getpass.return_value = 'A' * 64




commit python-softlayer for openSUSE:Factory

2019-04-14 Thread root
Hello community,

here is the log from the commit of package python-softlayer for 
openSUSE:Factory checked in at 2019-04-14 12:22:02

Comparing /work/SRC/openSUSE:Factory/python-softlayer (Old)
 and  /work/SRC/openSUSE:Factory/.python-softlayer.new.27019 (New)


Package is "python-softlayer"

Sun Apr 14 12:22:02 2019 rev:3 rq:692779 version:5.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-softlayer/python-softlayer.changes
2018-05-15 10:33:24.796163300 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-softlayer.new.27019/python-softlayer.changes 
2019-04-14 12:22:02.855734170 +0200
@@ -1,0 +2,8 @@
+Tue Apr  9 13:07:50 UTC 2019 - pgaj...@suse.com
+
+- version update to 5.7.1
+  * many changes, see CHANGELOG.md
+- run testsuite
+- package change log
+
+---

Old:

  v5.4.3.tar.gz

New:

  v5.7.1.tar.gz



Other differences:
--
++ python-softlayer.spec ++
--- /var/tmp/diff_new_pack.wZimZU/_old  2019-04-14 12:22:03.423734851 +0200
+++ /var/tmp/diff_new_pack.wZimZU/_new  2019-04-14 12:22:03.427734856 +0200
@@ -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 @@
 %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

++ v5.4.3.tar.gz -> v5.7.1.tar.gz ++
 21652 lines of diff (skipped)




commit python-softlayer for openSUSE:Factory

2018-05-15 Thread root
Hello community,

here is the log from the commit of package python-softlayer for 
openSUSE:Factory checked in at 2018-05-15 10:13:25

Comparing /work/SRC/openSUSE:Factory/python-softlayer (Old)
 and  /work/SRC/openSUSE:Factory/.python-softlayer.new (New)


Package is "python-softlayer"

Tue May 15 10:13:25 2018 rev:2 rq:606539 version:5.4.3

Changes:

--- /work/SRC/openSUSE:Factory/python-softlayer/python-softlayer.changes
2018-04-24 15:31:39.965398751 +0200
+++ /work/SRC/openSUSE:Factory/.python-softlayer.new/python-softlayer.changes   
2018-05-15 10:33:24.796163300 +0200
@@ -1,0 +2,5 @@
+Fri May 11 20:24:15 UTC 2018 - toddrme2...@gmail.com
+
+- Don't foget python_module workaround.
+
+---



Other differences:
--
++ python-softlayer.spec ++
--- /var/tmp/diff_new_pack.JQLkL5/_old  2018-05-15 10:33:25.344143174 +0200
+++ /var/tmp/diff_new_pack.JQLkL5/_new  2018-05-15 10:33:25.344143174 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-softlayer
 Version:5.4.3
 Release:0