summaryrefslogtreecommitdiff
blob: 2b55ca80585a44f1c021d4ac03fb830b62932f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 python3_{5,6} )
inherit distutils-r1

DESCRIPTION="Docker registry v2 client in Python"
HOMEPAGE="https://github.com/davedoesdev/dxf"
SRC_URI="https://github.com/davedoesdev/dxf/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND=">=dev-python/jwcrypto-0.4.2[${PYTHON_USEDEP}]
	>=dev-python/requests-2.18.4[${PYTHON_USEDEP}]
	dev-python/setuptools[${PYTHON_USEDEP}]
	>=dev-python/tqdm-4.19.4[${PYTHON_USEDEP}]
	>=dev-python/www-authenticate-0.9.2[${PYTHON_USEDEP}]"

RESTRICT="test"
# Require dockerd running

python_test() {
	emake test
}