summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-01-06 21:52:40 -0800
committerZac Medico <zmedico@gentoo.org>2019-01-07 02:16:21 -0800
commitdff147393df05d7f37346f9192d5caa8cea4b54d (patch)
tree84adb241df6edae4514968597a73f55fbea8eeef /dev-python
parentapp-emulation/libpod: new package (diff)
downloadgentoo-dff147393df05d7f37346f9192d5caa8cea4b54d.tar.gz
gentoo-dff147393df05d7f37346f9192d5caa8cea4b54d.tar.bz2
gentoo-dff147393df05d7f37346f9192d5caa8cea4b54d.zip
dev-python/python-podman: new package
Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/python-podman/Manifest1
-rw-r--r--dev-python/python-podman/metadata.xml11
-rw-r--r--dev-python/python-podman/python-podman-0.12.1.2.ebuild27
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/python-podman/Manifest b/dev-python/python-podman/Manifest
new file mode 100644
index 000000000000..42810a9b0f02
--- /dev/null
+++ b/dev-python/python-podman/Manifest
@@ -0,0 +1 @@
+DIST libpod-0.12.1.2.tar.gz 5987875 BLAKE2B 11381c53e768c94bfadcb2013a028f64058b0001cd985ef289d1618163225cdf10bd608cff0cd6f7fc1c094497184fc6d0cedea32fde54f3581ebb51eb5eabdd SHA512 9abb46d7880c4577d22b48aed01baeae29662dc3dbbdbc297f1eebe8324fb734d9bac6cd105dc93f7600753874c0fa581142d1b16f7490175cea80b8f62b34ce
diff --git a/dev-python/python-podman/metadata.xml b/dev-python/python-podman/metadata.xml
new file mode 100644
index 000000000000..7d1075feff13
--- /dev/null
+++ b/dev-python/python-podman/metadata.xml
@@ -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/python-podman/python-podman-0.12.1.2.ebuild b/dev-python/python-podman/python-podman-0.12.1.2.ebuild
new file mode 100644
index 000000000000..d99498b3177d
--- /dev/null
+++ b/dev-python/python-podman/python-podman-0.12.1.2.ebuild
@@ -0,0 +1,27 @@
+# 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="A library for communicating with a Podman server"
+HOMEPAGE="https://github.com/containers/libpod/tree/master/contrib/python/podman/"
+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/psutil[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/python-varlink[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ >=dev-python/setuptools-39[${PYTHON_USEDEP}]"
+RESTRICT="test"
+S="${WORKDIR}/libpod-${PV}/contrib/python/podman"
+
+python_test() {
+ esetup.py test || die "tests failed with ${EPYTHON}"
+}