summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-01-19 12:52:11 -0800
committerZac Medico <zmedico@gentoo.org>2020-01-19 13:05:27 -0800
commitdc111d957705dc9f1196f7483eb69d544a0be78e (patch)
treec174b48c317c0f8dca2a72d243c8e1203b887e55 /dev-python/python-podman
parentwww-client/chromium: security cleanup (diff)
downloadgentoo-dc111d957705dc9f1196f7483eb69d544a0be78e.tar.gz
gentoo-dc111d957705dc9f1196f7483eb69d544a0be78e.tar.bz2
gentoo-dc111d957705dc9f1196f7483eb69d544a0be78e.zip
dev-python/python-podman: Bump to version 1.6.0
Reported-by: Nils Freydank <holgersson@posteo.de> Closes: https://bugs.gentoo.org/705826 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python/python-podman')
-rw-r--r--dev-python/python-podman/Manifest1
-rw-r--r--dev-python/python-podman/metadata.xml3
-rw-r--r--dev-python/python-podman/python-podman-1.6.0.ebuild30
3 files changed, 33 insertions, 1 deletions
diff --git a/dev-python/python-podman/Manifest b/dev-python/python-podman/Manifest
index 42810a9b0f02..1e93bcd4cca5 100644
--- a/dev-python/python-podman/Manifest
+++ b/dev-python/python-podman/Manifest
@@ -1 +1,2 @@
DIST libpod-0.12.1.2.tar.gz 5987875 BLAKE2B 11381c53e768c94bfadcb2013a028f64058b0001cd985ef289d1618163225cdf10bd608cff0cd6f7fc1c094497184fc6d0cedea32fde54f3581ebb51eb5eabdd SHA512 9abb46d7880c4577d22b48aed01baeae29662dc3dbbdbc297f1eebe8324fb734d9bac6cd105dc93f7600753874c0fa581142d1b16f7490175cea80b8f62b34ce
+DIST python-podman-1.6.0.tar.gz 28733 BLAKE2B ef36b80d99be07def311c2a8574cc36131760b39f0c80fb8707fb99ec9c2234e297724fc662f936217f9c2ec24fed0f57fd680702fbbac0e8411fc7c90da0577 SHA512 e7d730f8cfef0944df82ee73edb858e3cfd76a91dace98a2638341a1eb3ba5b9076d52f2f634cb4a94e082a83553412cdb1c5b79041d5bf4615998d67bb4a03f
diff --git a/dev-python/python-podman/metadata.xml b/dev-python/python-podman/metadata.xml
index 7d1075feff13..1264cba62cca 100644
--- a/dev-python/python-podman/metadata.xml
+++ b/dev-python/python-podman/metadata.xml
@@ -6,6 +6,7 @@
<name>Zac Medico</name>
</maintainer>
<upstream>
- <remote-id type="github">containers/libpod</remote-id>
+ <remote-id type="github">containers/python-podman</remote-id>
+ <remote-id type="pypi">podman</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/python-podman/python-podman-1.6.0.ebuild b/dev-python/python-podman/python-podman-1.6.0.ebuild
new file mode 100644
index 000000000000..d08d17805def
--- /dev/null
+++ b/dev-python/python-podman/python-podman-1.6.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="A library to interact with a Podman server"
+HOMEPAGE="https://github.com/containers/python-podman/ https://pypi.org/project/podman/"
+MY_PN=${PN#python-}
+MY_P=${MY_PN}-${PV}
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.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/pbr[${PYTHON_USEDEP}]
+ >=dev-python/setuptools-39[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${MY_P}
+
+python_test() {
+ "${PYTHON}" -m unittest discover tests/ || die "tests failed with ${EPYTHON}"
+}