commit: dc111d957705dc9f1196f7483eb69d544a0be78e Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sun Jan 19 20:52:11 2020 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sun Jan 19 21:05:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc111d95
dev-python/python-podman: Bump to version 1.6.0 Reported-by: Nils Freydank <holgersson <AT> posteo.de> Closes: https://bugs.gentoo.org/705826 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> dev-python/python-podman/Manifest | 1 + dev-python/python-podman/metadata.xml | 3 ++- .../python-podman/python-podman-1.6.0.ebuild | 30 ++++++++++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/dev-python/python-podman/Manifest b/dev-python/python-podman/Manifest index 42810a9b0f0..1e93bcd4cca 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 7d1075feff1..1264cba62cc 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 00000000000..d08d17805de --- /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}" +}