commit:     6e7506b708ad4789e71829ba84b8852e4ae30c9e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 20 04:37:26 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 20 04:37:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7506b7

dev-python/podman: Bump to 5.4.0.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/podman/Manifest              |  1 +
 dev-python/podman/podman-5.4.0.1.ebuild | 52 +++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/podman/Manifest b/dev-python/podman/Manifest
index 6c2957fa7cf4..c53914c3fc47 100644
--- a/dev-python/podman/Manifest
+++ b/dev-python/podman/Manifest
@@ -1 +1,2 @@
 DIST podman-py-5.2.0.gh.tar.gz 186468 BLAKE2B 
d993e50817c6251dae4fcff8bdd9b4d125b5f96b2d5a690922ea5294cc739e2132edd4878b1dca26e1ffb7deef1e971f94a6e34c1b869dbe412c7965b49b2973
 SHA512 
6189415d644cf74868ccc5d560414fa876c1e0525ca028e7436a804ffe3a1219dead37223619e3d248da455856989407482638856b68cabeaf3ca4f02a9cf25c
+DIST podman-py-5.4.0.1.gh.tar.gz 174543 BLAKE2B 
b0e8ff4702e1b4d82a41883998b6722c761484000e3ee6fda3b80998587d9e8e4892c2f5fd07ec58aa2d4bb7b44c3556448eff4af53f03dcc9a7b44dfa4437bf
 SHA512 
ba86f42100691126e96401443a9febc87315c8b2f4bb11ee93803205886a910eaedc6c3f801e9cbc661d9c5ad8ee051b77cc63a14465a8c6ed307a3a606f708e

diff --git a/dev-python/podman/podman-5.4.0.1.ebuild 
b/dev-python/podman/podman-5.4.0.1.ebuild
new file mode 100644
index 000000000000..4bef30114762
--- /dev/null
+++ b/dev-python/podman/podman-5.4.0.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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}]
+       $(python_gen_cond_dep '
+               >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}]
+       ' 3.10)
+"
+BDEPEND="
+       test? (
+               >=dev-python/requests-mock-1.11.0[${PYTHON_USEDEP}]
+       )
+"
+
+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