diff options
Diffstat (limited to 'dev-python/podman')
-rw-r--r-- | dev-python/podman/Manifest | 2 | ||||
-rw-r--r-- | dev-python/podman/podman-4.8.2.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/podman/Manifest b/dev-python/podman/Manifest index 238ed47baca6..24db326c09b4 100644 --- a/dev-python/podman/Manifest +++ b/dev-python/podman/Manifest @@ -1,3 +1,5 @@ DIST podman-py-4.8.1.gh.tar.gz 182099 BLAKE2B 345cf5374baeab6760dd0494a105963658a3c0cff5a8e283be7ac7e6f8f9acba742022628cfde7f978d08f99a680b2c4aebd1d5682553b3bd0f5609d3265c93d SHA512 35f62f16f61ec0a5ebfeede0e6e8fe5528b896315e000529a0aff38bf572b3b558e5066f034ba38a755899e1b6a7a26623406c677a6c7f3aad777094377b5755 +DIST podman-py-4.8.2.gh.tar.gz 182212 BLAKE2B 3a6fc69d3d1512962a019bd1ed6087cc1f8ae4e42de42660f023d1125c4442a44208618115c4386bc9a70dd10b8154e253d30479d31675d1f46f584b6eeffee1 SHA512 78a6bb76a8ba4d4598adb7b353f5fb919848f98f1c2d6de6b1de9ff24d8672e9d0ffd102fa8bdf16a24aa289d0f724932e8b990df19b926c4424c9f7ac2b1ada EBUILD podman-4.8.1.ebuild 1194 BLAKE2B a135704aaf0a18ccb484e9e3bd12c4884fc2041f88c705a64ba9cd22c6f635d3b5aba4bdf1f87e4b1267626e8b98cd940b5fd5144ee1b1cb7aab7ea42de1e4ce SHA512 ae6159d90540017549aa03e65cdb1f47ca6d2eae50efa38ff65e4e9c14d7ee79790bfe780ac5cf25d6f2c1829fa79efc572c1cef897e05bae20fb3757d5e203b +EBUILD podman-4.8.2.ebuild 1194 BLAKE2B 645670f0fe056e5e8e6bb854ebbf9b551648429a3dc988c6c8f3db6debbf8554f800a2fff26c1d2057f8fd0760b92b77960325d199e76e60fb82f56815977e61 SHA512 8ed5fe93feadfd36b1f3ab82ae6b72b0472026260b4b5737635d1184884e5d7cca1194c7f9a42da6c87c5df5c3205e0a38fcf8d03bf514a4c9b5b0aa95aa5cfb MISC metadata.xml 475 BLAKE2B 42fc2c044df94ebf8a4eb5088a39ad3075089cd5a007473db0964df4efb8c7a437c94db9c161d6ba81d2c017377919861f17b7fe3e133aa597312cad2df012f4 SHA512 017f54ebf56fc59c14ff0e9c2f15b899556ff3d512d22ed2abc35227c079ec64c8eb855f60e65299abd7f8b5433b2268dc7c2e428476efc334e24f0d90181bc8 diff --git a/dev-python/podman/podman-4.8.2.ebuild b/dev-python/podman/podman-4.8.2.ebuild new file mode 100644 index 000000000000..9567fabe9519 --- /dev/null +++ b/dev-python/podman/podman-4.8.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +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/pyxdg-0.26[${PYTHON_USEDEP}] + >=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 +} |