1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7} )
10 DESCRIPTION="A library for communicating with a Podman server"
11 HOMEPAGE="https://github.com/containers/libpod/tree/master/contrib/python/podman/"
12 SRC_URI="https://github.com/containers/libpod/archive/v${PV}.tar.gz -> libpod-${PV}.tar.gz"
17 RDEPEND="dev-python/psutil[${PYTHON_USEDEP}]
18 dev-python/python-dateutil[${PYTHON_USEDEP}]
19 dev-python/python-varlink[${PYTHON_USEDEP}]"
21 >=dev-python/setuptools-39[${PYTHON_USEDEP}]"
23 S="${WORKDIR}/libpod-${PV}/contrib/python/podman"
26 esetup.py test || die "tests failed with ${EPYTHON}"