From deb009784a6a4c53655bea8c9f70dfb258e8c08c753a64ccaa46c4e31b0d9f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 15 Apr 2018 14:39:52 +0000 Subject: [PATCH] - Initial commit, needed by python-dns-lexicon OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-softlayer?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + python-softlayer.changes | 4 +++ python-softlayer.spec | 67 ++++++++++++++++++++++++++++++++++++++++ v5.4.3.tar.gz | 3 ++ 5 files changed, 98 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-softlayer.changes create mode 100644 python-softlayer.spec create mode 100644 v5.4.3.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-softlayer.changes b/python-softlayer.changes new file mode 100644 index 0000000..d98ea25 --- /dev/null +++ b/python-softlayer.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Apr 15 14:22:52 UTC 2018 - tchvatal@suse.com + +- Initial commit, needed by python-dns-lexicon diff --git a/python-softlayer.spec b/python-softlayer.spec new file mode 100644 index 0000000..bff327a --- /dev/null +++ b/python-softlayer.spec @@ -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 diff --git a/v5.4.3.tar.gz b/v5.4.3.tar.gz new file mode 100644 index 0000000..531c62b --- /dev/null +++ b/v5.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58ba735539727cffcb80ab045f08dd3b6b4733efaece057f0ff4a8bb45b600c6 +size 297763