forked from pool/python-docker
Accepting request 643510 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/643510 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docker?expand=0&rev=18
This commit is contained in:
committed by
Git OBS Bridge
parent
3382e683bb
commit
ef506df6c7
@@ -12,26 +12,21 @@
|
||||
# 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-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-docker
|
||||
Version: 3.4.1
|
||||
Version: 3.5.1
|
||||
Release: 0
|
||||
Summary: Docker API Client
|
||||
License: Apache-2.0
|
||||
Group: System/Management
|
||||
URL: https://github.com/docker/docker-py
|
||||
Source0: https://files.pythonhosted.org/packages/source/d/docker/docker-%{version}.tar.gz
|
||||
%if 0%{?suse_version} < 1320
|
||||
BuildRequires: %{oldpython}
|
||||
BuildRequires: %{python_module backports.ssl_match_hostname >= 3.5}
|
||||
BuildRequires: python3
|
||||
%endif
|
||||
BuildRequires: %{python_module docker-pycreds >= 0.2.3}
|
||||
BuildRequires: %{python_module docker-pycreds >= 0.3.0}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 2.9.1}
|
||||
@@ -43,7 +38,7 @@ BuildRequires: %{python_module six >= 1.4.0}
|
||||
BuildRequires: %{python_module websocket-client >= 0.32.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-docker-pycreds >= 0.2.3
|
||||
Requires: python-docker-pycreds >= 0.3.0
|
||||
Requires: python-requests >= 2.14.2
|
||||
Requires: python-six >= 1.4.0
|
||||
Requires: python-websocket-client >= 0.32.0
|
||||
@@ -51,6 +46,11 @@ Requires: python-websocket-client >= 0.32.0
|
||||
Obsoletes: python-docker-py < %{version}
|
||||
Provides: python-docker-py = %{version}
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} < 1320
|
||||
BuildRequires: %{oldpython}
|
||||
BuildRequires: %{python_module backports.ssl_match_hostname >= 3.5}
|
||||
BuildRequires: python3
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: %{oldpython}-backports.ssl_match_hostname >= 3.5
|
||||
Requires: %{oldpython}-ipaddress >= 1.0.16
|
||||
@@ -80,8 +80,9 @@ A docker API client in Python
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%dir %{python_sitelib}/*
|
||||
%dir %{python_sitelib}/docker
|
||||
%dir %{python_sitelib}/docker-%{version}-*.egg-info
|
||||
%{python_sitelib}/docker/*
|
||||
%{python_sitelib}/*egg-info/*
|
||||
%{python_sitelib}/docker*egg-info/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user