commit:     a154638c023c080fcb33c4785890069015af39e1
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 21 18:22:28 2026 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 18:23:33 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a154638c

dev-python/podman: add 5.7.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/podman/Manifest            |  1 +
 dev-python/podman/podman-5.7.0.ebuild | 50 +++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/podman/Manifest b/dev-python/podman/Manifest
index 99cba73e39dc..1c6736acf74e 100644
--- a/dev-python/podman/Manifest
+++ b/dev-python/podman/Manifest
@@ -1,3 +1,4 @@
 DIST podman-py-5.4.0.1.gh.tar.gz 174543 BLAKE2B 
b0e8ff4702e1b4d82a41883998b6722c761484000e3ee6fda3b80998587d9e8e4892c2f5fd07ec58aa2d4bb7b44c3556448eff4af53f03dcc9a7b44dfa4437bf
 SHA512 
ba86f42100691126e96401443a9febc87315c8b2f4bb11ee93803205886a910eaedc6c3f801e9cbc661d9c5ad8ee051b77cc63a14465a8c6ed307a3a606f708e
 DIST podman-py-5.5.0.gh.tar.gz 179640 BLAKE2B 
6111d889d58d5a0999c4dd0303b191f54668a691af26db247311b05dc784d59e193d97c87f81d1820bf2bbc057ae00774faf3f74b1cae835dc0e1b2d92783b36
 SHA512 
a48253375e90f426baf046bdffc3df3ee8dc4e66a0ccacf55d86cb847b1937a1135f3518b5ad5e9ddd50f11800e97bd5454ec2098535ccf7f06d7210a0cd63ba
 DIST podman-py-5.6.0.gh.tar.gz 182866 BLAKE2B 
0ec5b330d5d14ba5080d1c03251781360d4c035d51a688446b65d6f52d5afbbe711018d44d56c8f628da22e9779b3fa90b2adf34c77ee856316c348ce8cf5b7f
 SHA512 
a5f4d1368221ea68202c1413f54493307fd2220ae386bc23690fa5997d6fb974f41a528f2a74aca92588b5c3aa121b492365356ecebc8a9a09245e07ae4905c3
+DIST podman-py-5.7.0.gh.tar.gz 186239 BLAKE2B 
40e0ed15bbee559d89cf63389246a1b3e01da64e25d5cfaed72dc7f9f5098bcf5f1ab92b5d2d1c07ac283cf3c1ffb2bfaccb5372137a67151c2eb901deaadcaa
 SHA512 
4e6d761f8ee2dd4b08062773a0986f44ea52aac2478c97a56f2dfdb60fe561029ecffd5fcf51b067f8730efc51a6e57254a77554169e298a9c61c27a3aa456cb

diff --git a/dev-python/podman/podman-5.7.0.ebuild 
b/dev-python/podman/podman-5.7.0.ebuild
new file mode 100644
index 000000000000..6322448dc4b3
--- /dev/null
+++ b/dev-python/podman/podman-5.7.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+MY_P=podman-py-${PV/_p/.post}
+DESCRIPTION="A library to interact with a Podman server"
+HOMEPAGE="
+       https://github.com/containers/podman-py/
+       https://pypi.org/project/podman/
+"
+SRC_URI="
+       https://github.com/containers/podman-py/archive/v${PV/_p/.post}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       >=dev-python/requests-2.24[${PYTHON_USEDEP}]
+       >=dev-python/rich-12.5.1[${PYTHON_USEDEP}]
+       dev-python/urllib3[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               >=dev-python/requests-mock-1.11.0[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # TODO
+               
podman/tests/unit/test_volumesmanager.py::VolumesManagerTestCase::test_get_404
+       )
+
+       # integration tests require a workable podman server,
+       # and it doesn't seem to work in ebuild env
+       epytest podman/tests/unit
+}

Reply via email to