You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
728 B
30 lines
728 B
7 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
|
PYTHON_COMPAT=( python2_7 python3_{4,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.9.0[${PYTHON_USEDEP}]
|
||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||
|
>=dev-python/tqdm-4.10.0[${PYTHON_USEDEP}]
|
||
|
>=dev-python/www-authenticate-0.9.2[${PYTHON_USEDEP}]"
|
||
|
|
||
|
RESTRICT="test"
|
||
|
# Require dockerd running
|
||
|
|
||
|
python_test() {
|
||
|
emake test
|
||
|
}
|