diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2014-07-01 21:40:15 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2014-07-01 21:40:15 +0000 |
commit | 184a027e54670f8ab17fdd7a333325fa960a56da (patch) | |
tree | 9d22b06a5a35b1509bafeb967578c1ed10e8c35c /dev-python/docker-py | |
parent | install header file (diff) | |
download | gentoo-2-184a027e54670f8ab17fdd7a333325fa960a56da.tar.gz gentoo-2-184a027e54670f8ab17fdd7a333325fa960a56da.tar.bz2 gentoo-2-184a027e54670f8ab17fdd7a333325fa960a56da.zip |
New package, python api for docker
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF)
Diffstat (limited to 'dev-python/docker-py')
-rw-r--r-- | dev-python/docker-py/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/docker-py/docker-py-0.3.2.ebuild | 32 | ||||
-rw-r--r-- | dev-python/docker-py/files/docker-py-0.3.2-no-version-lock.patch | 26 | ||||
-rw-r--r-- | dev-python/docker-py/metadata.xml | 5 |
4 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/docker-py/ChangeLog b/dev-python/docker-py/ChangeLog new file mode 100644 index 000000000000..f8155b89e2c1 --- /dev/null +++ b/dev-python/docker-py/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/docker-py +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/docker-py/ChangeLog,v 1.1 2014/07/01 21:40:15 chutzpah Exp $ + +*docker-py-0.3.2 (01 Jul 2014) + + 01 Jul 2014; Patrick McLean <chutzpah@gentoo.org> +docker-py-0.3.2.ebuild, + +files/docker-py-0.3.2-no-version-lock.patch, +metadata.xml: + Initial commit. + diff --git a/dev-python/docker-py/docker-py-0.3.2.ebuild b/dev-python/docker-py/docker-py-0.3.2.ebuild new file mode 100644 index 000000000000..59da269298b0 --- /dev/null +++ b/dev-python/docker-py/docker-py-0.3.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/docker-py/docker-py-0.3.2.ebuild,v 1.1 2014/07/01 21:40:15 chutzpah Exp $ + +EAPI=5 +PYTHON_COMPAT=(python3_{3,4}) +inherit distutils-r1 + +DESCRIPTION="An API client for docker." +HOMEPAGE="https://github.com/dotcloud/docker-py" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] )" +RDEPEND=">=dev-python/requests-2.2.1[${PYTHON_USEDEP}] + >=dev-python/six-1.3.0[${PYTHON_USEDEP}]" + +PATCHES=( + "${FILESDIR}"/${P}-no-version-lock.patch +) + +# upstream archive does not include the tests +RESTRICT=test + +python_test() { + PYTHONPATH="${S}" esetup.py test || die +} diff --git a/dev-python/docker-py/files/docker-py-0.3.2-no-version-lock.patch b/dev-python/docker-py/files/docker-py-0.3.2-no-version-lock.patch new file mode 100644 index 000000000000..4c57254db6df --- /dev/null +++ b/dev-python/docker-py/files/docker-py-0.3.2-no-version-lock.patch @@ -0,0 +1,26 @@ +diff --git a/requirements.txt b/requirements.txt +index a1cc1af..d4920a7 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -1,3 +1,3 @@ +-requests==2.2.1 ++requests>=2.2.1 + six>=1.3.0 +-websocket-client==0.11.0 ++websocket-client>=0.11.0 +diff --git a/requirements3.txt b/requirements3.txt +index 68533d1..ab74f44 100644 +--- a/requirements3.txt ++++ b/requirements3.txt +@@ -1,2 +1,2 @@ +-requests==2.2.1 ++requests>=2.2.1 + six>=1.3.0 +diff --git a/test-requirements.txt b/test-requirements.txt +index 5857671..0a52703 100644 +--- a/test-requirements.txt ++++ b/test-requirements.txt +@@ -1 +1 @@ +-mock==1.0.1 +\ No newline at end of file ++mock>=1.0.1 diff --git a/dev-python/docker-py/metadata.xml b/dev-python/docker-py/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/docker-py/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> |