diff --git a/programming/language/python3/python3-docker-py/actions.py b/programming/language/python3/python3-docker-py/actions.py index 6d692d5cee..7c0cc75960 100644 --- a/programming/language/python3/python3-docker-py/actions.py +++ b/programming/language/python3/python3-docker-py/actions.py @@ -12,4 +12,4 @@ def build(): def install(): pythonmodules.install(pyVer="3") - pisitools.dodoc("CONTRIBUTING*", "LICENSE", "MAINTAINERS", "MANIFEST*", "README*") \ No newline at end of file + pisitools.dodoc("CONTRIBUTING*", "LICENSE", "MAINTAINERS", "MANIFEST*", "README*") diff --git a/programming/language/python3/python3-docker-py/files/get_rid_of_pip.patch b/programming/language/python3/python3-docker-py/files/get_rid_of_pip.patch new file mode 100644 index 0000000000..69837c1ddc --- /dev/null +++ b/programming/language/python3/python3-docker-py/files/get_rid_of_pip.patch @@ -0,0 +1,19 @@ +--- setup_old.py 2017-02-01 15:02:25.088620379 +0300 ++++ setup.py 2017-02-01 15:10:53.517611419 +0300 +@@ -5,16 +5,8 @@ + import os + import sys + +-import pip +- + from setuptools import setup, find_packages + +-if 'docker-py' in [x.project_name for x in pip.get_installed_distributions()]: +- print( +- 'ERROR: "docker-py" needs to be uninstalled before installing this' +- ' package:\npip uninstall docker-py', file=sys.stderr +- ) +- sys.exit(1) + + ROOT_DIR = os.path.dirname(__file__) + SOURCE_DIR = os.path.join(ROOT_DIR) diff --git a/programming/language/python3/python3-docker-py/pspec.xml b/programming/language/python3/python3-docker-py/pspec.xml index 62fc312521..bfd75c0405 100644 --- a/programming/language/python3/python3-docker-py/pspec.xml +++ b/programming/language/python3/python3-docker-py/pspec.xml @@ -10,20 +10,23 @@ app:console Python client for Docker. 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. - https://github.com/docker/docker-py/archive/1.8.1.tar.gz + https://github.com/docker/docker-py/archive/2.0.2.tar.gz - python3-devel + python3-devel python3-setuptools python3-websocket-client python3-six python3-requests + + get_rid_of_pip.patch + python3-docker-py Python client for Docker. - python3 + python3 python3-websocket-client python3-six python3-requests @@ -34,6 +37,13 @@ + + 2017-02-01 + 2.0.2 + Version Bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + 2016-06-09 1.8.1