15
0
forked from pool/python-docker

Accepting request 603010 from devel:languages:python

- Version update to 3.3.0:
  * Too many changes to name see upstream tag list:
    https://github.com/docker/docker-py/releases
- Make sure to run tests and properly name all the requirements

OBS-URL: https://build.opensuse.org/request/show/603010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docker?expand=0&rev=4
This commit is contained in:
2018-05-03 10:33:13 +00:00
committed by Git OBS Bridge
4 changed files with 31 additions and 22 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f417527b3cfd7ba1f5be5fb1d9a2500706b5968f66773131d81c18e19b7a325
size 162745

3
docker-3.3.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed May 2 09:17:51 UTC 2018 - tchvatal@suse.com
- Version update to 3.3.0:
* Too many changes to name see upstream tag list:
https://github.com/docker/docker-py/releases
- Make sure to run tests and properly name all the requirements
-------------------------------------------------------------------
Thu Nov 9 05:40:37 UTC 2017 - arun@gmx.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-docker
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -19,36 +19,37 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-docker
Version: 2.6.1
Version: 3.3.0
Release: 0
Summary: Docker API Client
License: Apache-2.0
Group: System/Management
Url: https://pypi.python.org/pypi/docker
URL: https://github.com/docker/docker-py
Source0: https://files.pythonhosted.org/packages/source/d/docker/docker-%{version}.tar.gz
BuildRequires: %{python_module docker-pycreds >= 0.2.3}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module pytest >= 2.9.1}
BuildRequires: %{python_module pytest-cov >= 2.1.0}
BuildRequires: %{python_module pytest-timeout >= 1.2.1}
BuildRequires: %{python_module requests >= 2.14.2}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module websocket-client}
BuildRequires: %{python_module six >= 1.4.0}
BuildRequires: %{python_module websocket-client >= 0.32.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%ifpython2
Requires: python-backports.ssl_match_hostname >= 3.5
Requires: python-ipaddress >= 1.0.16
%endif
Requires: python-docker-pycreds >= 0.2.1
Requires: python-requests >= 2.5.3
Requires: python-docker-pycreds >= 0.2.3
Requires: python-requests >= 2.14.2
Requires: python-six >= 1.4.0
Requires: python-websocket-client >= 0.32.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
# docker-py got renamed to docker in 2017
Obsoletes: python-docker-py < %{version}
Provides: python-docker-py = %{version}
BuildArch: noarch
%ifpython2
Requires: %{oldpython}-backports.ssl_match_hostname >= 3.5
Requires: %{oldpython}-ipaddress >= 1.0.16
%endif
%ifpython2
Obsoletes: %{oldpython}-docker-py < %{version}
Provides: %{oldpython}-docker-py = %{version}
@@ -69,11 +70,11 @@ A docker API client in Python
%fdupes %{buildroot}
%check
# % python_exec tests/test.py
%python_expand py.test-%{$python_bin_suffix} tests/unit --deselect tests/unit/ssladapter_test.py::MatchHostnameTest
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.md
%license LICENSE
%doc README.md
%dir %{python_sitelib}/*
%{python_sitelib}/docker/*
%{python_sitelib}/*egg-info/*