diff options
Diffstat (limited to 'dev-python/pypodman/pypodman-0.12.1.2.ebuild')
-rw-r--r-- | dev-python/pypodman/pypodman-0.12.1.2.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/pypodman/pypodman-0.12.1.2.ebuild b/dev-python/pypodman/pypodman-0.12.1.2.ebuild new file mode 100644 index 000000000000..b3798f5924a9 --- /dev/null +++ b/dev-python/pypodman/pypodman-0.12.1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="CLI for podman written in python" +HOMEPAGE="https://github.com/containers/libpod/tree/master/contrib/python/pypodman/" +SRC_URI="https://github.com/containers/libpod/archive/v${PV}.tar.gz -> libpod-${PV}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/humanize[${PYTHON_USEDEP}] + dev-python/python-podman[${PYTHON_USEDEP}] + dev-python/pytoml[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/setuptools-39[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +RESTRICT="test" + +S="${WORKDIR}/libpod-${PV}/contrib/python/pypodman" + +python_test() { + esetup.py test || die "tests failed with ${EPYTHON}" +} |