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

Contents of /dev-python/docker-py/docker-py-1.1.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri May 22 03:39:33 2015 UTC (5 years, 1 month ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
Readd version needed by docker-compose

(Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)

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/Attic/docker-py-1.1.0-r2.ebuild,v 1.3 2015/05/22 03:13:26 patrick dead $
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}-r1.tar.gz"
13
14 S="${S}-r1"
15
16 LICENSE="Apache-2.0"
17 SLOT="0"
18 KEYWORDS="~amd64"
19 IUSE="doc test"
20
21 DEPEND="
22 dev-python/setuptools[${PYTHON_USEDEP}]
23 doc? ( >=dev-python/mkdocs-0.9[${PYTHON_USEDEP}] )
24 test? (
25 >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}]
26 >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
27 )
28 "
29 RDEPEND="
30 >=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
31 >=dev-python/six-1.3.0[${PYTHON_USEDEP}]
32 $(python_gen_cond_dep '>=dev-python/websocket-client-0.11.0[${PYTHON_USEDEP}]' python2_7)
33 "
34
35 python_compile_all() {
36 if use doc; then
37 mkdocs build || die "docs failed to build"
38 fi
39 }
40
41 python_test() {
42 "${PYTHON}" tests/test.py || die "tests failed under ${EPYTHON}"
43 }
44
45 python_install_all() {
46 use doc && local HTML_DOCS=( site/. )
47
48 distutils-r1_python_install_all
49 }

  ViewVC Help
Powered by ViewVC 1.1.20