14
0

- Initial commit, needed by python-dns-lexicon

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-softlayer?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2018-04-15 14:39:52 +00:00
committed by Git OBS Bridge
commit deb009784a
5 changed files with 98 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

4
python-softlayer.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Apr 15 14:22:52 UTC 2018 - tchvatal@suse.com
- Initial commit, needed by python-dns-lexicon

67
python-softlayer.spec Normal file
View File

@@ -0,0 +1,67 @@
#
# spec file for package python-softlayer
#
# Copyright (c) 2018 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
Name: python-softlayer
Version: 5.4.3
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 click}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.6.1}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click
Requires: python-requests
Requires: python-setuptools
Requires: python-six >= 1.6.1
%python_subpackages
%description
This library provides a simple Python client to interact with SoftLayer's XML-RPC API.
%prep
%setup -q -n softlayer-python-%{version}
%build
%python_build
%install
%python_install
# do not install tests
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests/
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
# Tests are self-importing and package needs to be installed
#%%python_exec -m pytest tests
%files %{python_files}
%license LICENSE
%{python_sitelib}/*
%python3_only %{_bindir}/sl
%python3_only %{_bindir}/slcli
%changelog

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

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