File python-kubernetes.spec of Package python-kubernetes.9598

#
# spec file for package python-kubernetes
#
# 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-kubernetes
Version:        6.0.0
Release:        0
Summary:        Kubernetes python client
License:        Apache-2.0
Group:          Development/Languages/Python
Url:            https://github.com/kubernetes-incubator/client-python
Source:         https://pypi.python.org/packages/e1/32/061ac1fa026c63321c5da3488024f0bc70d74d22e3b0d51c5e5afbe2b701/kubernetes-%{version}.tar.gz
BuildRequires:  python-PyYAML
BuildRequires:  python-certifi
BuildRequires:  python-devel
BuildRequires:  python-python-dateutil
BuildRequires:  python-setuptools
BuildRequires:  python-six
BuildRequires:  python-urllib3
BuildRequires:  python-websocket-client
BuildRequires:  python-requests
BuildRequires:  python-requests-oauthlib
BuildRequires:  python-google-auth
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildRequires:  python-mock
BuildRequires:  python-nose
BuildRequires:  python-ipaddress
Requires:       python-ipaddress
Requires:       python-PyYAML
Requires:       python-certifi
Requires:       python-google-auth
Requires:       python-requests
Requires:       python-requests-oauthlib
Requires:       python-python-dateutil
Requires:       python-setuptools
Requires:       python-six
Requires:       python-urllib3
Requires:       python-websocket-client
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Python client for kubernetes http://kubernetes.io/

%prep
%setup -q -n kubernetes-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes %{buildroot}%{_prefix}

%check
#nosetests --cover-package=kubernetes.config,kubernetes.watch --cover-tests

%files
%defattr(-,root,root,-)
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by