/[gentoo-x86]/dev-python/docker-py/docker-py-1.2.3.ebuild
Gentoo

Contents of /dev-python/docker-py/docker-py-1.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 4 18:27:29 2015 UTC (5 years ago) by alunduil
Branch: MAIN
CVS Tags: HEAD
add version 1.2.3

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 11A8217C!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/docker-py/docker-py-1.2.3_rc1.ebuild,v 1.1 2015/06/13 17:18:08 alunduil Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
7
8 inherit distutils-r1 vcs-snapshot
9
10 DESCRIPTION="Python client for Docker"
11 HOMEPAGE="https://github.com/docker/docker-py"
12 SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
13
14 LICENSE="Apache-2.0"
15 SLOT="0"
16 KEYWORDS="~amd64"
17 IUSE="doc test"
18
19 DEPEND="
20 dev-python/setuptools[${PYTHON_USEDEP}]
21 doc? ( >=dev-python/mkdocs-0.9[${PYTHON_USEDEP}] )
22 test? ( >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] )
23 "
24 RDEPEND="
25 >=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
26 >=dev-python/six-1.3.0[${PYTHON_USEDEP}]
27 $(python_gen_cond_dep '>=dev-python/websocket-client-0.11.0[${PYTHON_USEDEP}]' python2_7)
28 "
29
30 python_compile_all() {
31 if use doc; then
32 mkdocs build || die "docs failed to build"
33 fi
34 }
35
36 python_test() {
37 "${PYTHON}" tests/test.py || die "tests failed under ${EPYTHON}"
38 }
39
40 python_install_all() {
41 use doc && local HTML_DOCS=( site/. )
42
43 distutils-r1_python_install_all
44 }

  ViewVC Help
Powered by ViewVC 1.1.20