summaryrefslogtreecommitdiff
blob: 50748bf02f17b5ebf2835b94fe4f595a298d5087 (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-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3_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
}