[packages/python-docker] up to 2.4.2

glen glen at pld-linux.org
Tue Jul 18 08:42:14 CEST 2017


commit 6f952153b8b49b9a7fce6b559a28b0457013b1e3
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Jul 18 09:25:53 2017 +0300

    up to 2.4.2

 python-docker.spec | 26 ++++++++++++--------------
 unicode.patch      | 35 -----------------------------------
 2 files changed, 12 insertions(+), 49 deletions(-)
---
diff --git a/python-docker.spec b/python-docker.spec
index 4e0ebdb..221c967 100644
--- a/python-docker.spec
+++ b/python-docker.spec
@@ -6,17 +6,16 @@
 
 %define		module		docker
 %define		egg_name	docker_py
-%define		pypi_name	docker-py
-Summary:	An API client for docker written in Python
+%define		pypi_name	docker
+Summary:	A Python library for the Docker Engine API
 Name:		python-%{module}
-Version:	1.10.6
-Release:	2
+Version:	2.4.2
+Release:	1
 License:	Apache v2.0
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
-# Source0-md5:	6c8b8309dfe9610edb2170bb2d807bd7
+# Source0-md5:	df46a59fbc383dc99fb031ec823d5638
 Patch0:		unpin-requirements.patch
-Patch1:		unicode.patch
 URL:		http://docker-py.readthedocs.org/
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.710
@@ -36,9 +35,9 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_noautoreq_py3egg	backports.ssl-match-hostname ipaddress
 
 %description
-A Python 2 library for the Docker Remote API. It does everything the
-`docker` command does, but from within Python - run containers, manage
-them, pull/push images, etc.
+A Python 2 library for the Docker Engine API. It lets you do anything
+the `docker` command does, but from within Python apps - run
+containers, manage containers, manage Swarms, etc.
 
 %package -n python3-%{module}
 Summary:	An API client for docker written in Python 3
@@ -47,14 +46,13 @@ Group:		Libraries/Python
 Suggests:	docker >= 1.3.3
 
 %description -n python3-%{module}
-A Python 3 library for the Docker Remote API. It does everything the
-`docker` command does, but from within Python - run containers, manage
-them, pull/push images, etc.
+A Python 3 library for the Docker Engine API. It lets you do anything
+the `docker` command does, but from within Python apps - run
+containers, manage containers, manage Swarms, etc.
 
 %prep
-%setup -q -n docker-py-%{version}
+%setup -q -n %{pypi_name}-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %build
 %if %{with python2}
diff --git a/unicode.patch b/unicode.patch
deleted file mode 100644
index 14a59c3..0000000
--- a/unicode.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-upstream: https://github.com/docker/docker-py/pull/1313
-
-+ /usr/bin/python3 setup.py build '--build-base=build-3'
-Traceback (most recent call last):
-  File "setup.py", line 36, in <module>
-    long_description = readme_rst.read()
-  File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode
-    return codecs.ascii_decode(input, self.errors)[0]
-UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 152: ordinal not in range(128)
-error: Bad exit status from /home/users/glen/tmp/rpm-tmp.71980 (%build)
-    Bad exit status from /home/users/glen/tmp/rpm-tmp.71980 (%build)
-
-
---- docker-py-1.10.6/README.md~	2016-10-17 23:28:43.000000000 +0300
-+++ docker-py-1.10.6/README.md	2016-11-27 14:52:18.175156781 +0200
-@@ -3,7 +3,7 @@
- 
- [![Build Status](https://travis-ci.org/docker/docker-py.png)](https://travis-ci.org/docker/docker-py)
- 
--A Python library for the Docker Remote API. It does everything the `docker` command does, but from within Python – run containers, manage them, pull/push images, etc.
-+A Python library for the Docker Remote API. It does everything the `docker` command does, but from within Python - run containers, manage them, pull/push images, etc.
- 
- Installation
- ------------
---- docker-py-1.10.6/README.rst~	2016-11-03 01:49:01.000000000 +0200
-+++ docker-py-1.10.6/README.rst	2016-11-27 14:53:00.603973652 +0200
-@@ -4,7 +4,7 @@
- |Build Status|
- 
- A Python library for the Docker Remote API. It does everything the
--``docker`` command does, but from within Python – run containers, manage
-+``docker`` command does, but from within Python - run containers, manage
- them, pull/push images, etc.
- 
- Installation
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-docker.git/commitdiff/b7e5dc8d9a8a5d6ecc6b113276b3e296220bd63c



More information about the pld-cvs-commit mailing list