dev-python/pypodman: new package
authorZac Medico <zmedico@gentoo.org>
Mon, 7 Jan 2019 07:04:57 +0000 (23:04 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 7 Jan 2019 10:16:23 +0000 (02:16 -0800)
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
dev-python/pypodman/Manifest [new file with mode: 0644]
dev-python/pypodman/metadata.xml [new file with mode: 0644]
dev-python/pypodman/pypodman-0.12.1.2.ebuild [new file with mode: 0644]

diff --git a/dev-python/pypodman/Manifest b/dev-python/pypodman/Manifest
new file mode 100644 (file)
index 0000000..42810a9
--- /dev/null
@@ -0,0 +1 @@
+DIST libpod-0.12.1.2.tar.gz 5987875 BLAKE2B 11381c53e768c94bfadcb2013a028f64058b0001cd985ef289d1618163225cdf10bd608cff0cd6f7fc1c094497184fc6d0cedea32fde54f3581ebb51eb5eabdd SHA512 9abb46d7880c4577d22b48aed01baeae29662dc3dbbdbc297f1eebe8324fb734d9bac6cd105dc93f7600753874c0fa581142d1b16f7490175cea80b8f62b34ce
diff --git a/dev-python/pypodman/metadata.xml b/dev-python/pypodman/metadata.xml
new file mode 100644 (file)
index 0000000..7d1075f
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>zmedico@gentoo.org</email>
+               <name>Zac Medico</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">containers/libpod</remote-id>
+       </upstream>
+</pkgmetadata>
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 (file)
index 0000000..b3798f5
--- /dev/null
@@ -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}"
+}