Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/podman-py/
Date: Wed, 22 Sep 2021 07:37:10
Message-Id: 1632296219.5345a1b79f058bb3f8fd9739650f27d8612a5ed1.mgorny@gentoo
1 commit: 5345a1b79f058bb3f8fd9739650f27d8612a5ed1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 22 06:51:38 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 22 07:36:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5345a1b7
7
8 dev-python/podman-py: Bump to 3.2.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/podman-py/Manifest | 1 +
13 dev-python/podman-py/podman-py-3.2.1.ebuild | 42 +++++++++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-python/podman-py/Manifest b/dev-python/podman-py/Manifest
17 index ab2ad9fb16d..8847f35b0fb 100644
18 --- a/dev-python/podman-py/Manifest
19 +++ b/dev-python/podman-py/Manifest
20 @@ -1 +1,2 @@
21 DIST podman-py-3.2.0.tar.gz 165514 BLAKE2B 7e25d160b98e45cc147069249d850b3a3d6dac5227942d90ed99b8313befd9db04a6423015ae56959a53eeeb49958d9067eb6fb7127ee55bf50ebfcea617a220 SHA512 8ef165847de5fecd81e7b5564baeaa0298efd4d2e6f12e1dfe958eed77f945d9375d90ba93a8ebab4b090b228d451e96ce49d08288dc3daae1255a05127b25c7
22 +DIST podman-py-3.2.1.tar.gz 181095 BLAKE2B 5075a37d3ef20004424536bc1f9e6e08c842248fcb8d8235ebc354e832e78125fb19bd0001f7fd237ebc642e348368da90b634f0db8c84e23ef77e8cf99b71ad SHA512 656a5e61d9809e2866a071ff5b4792fb71fbe0f8cc05467b498718b74898acc39a970ba64fc08ffe70d9c34a9caeabc3d8ea07dcce856fec308b6ebd268b2fb0
23
24 diff --git a/dev-python/podman-py/podman-py-3.2.1.ebuild b/dev-python/podman-py/podman-py-3.2.1.ebuild
25 new file mode 100644
26 index 00000000000..c0d18e6cc5d
27 --- /dev/null
28 +++ b/dev-python/podman-py/podman-py-3.2.1.ebuild
29 @@ -0,0 +1,42 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..9} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="A library to interact with a Podman server"
39 +HOMEPAGE="
40 + https://github.com/containers/podman-py/
41 + https://pypi.org/project/podman/"
42 +SRC_URI="
43 + https://github.com/containers/podman-py/archive/v${PV}.tar.gz
44 + -> ${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64"
49 +
50 +RDEPEND="
51 + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}]
52 + >=dev-python/requests-2.24[${PYTHON_USEDEP}]
53 + >=dev-python/toml-0.10.2[${PYTHON_USEDEP}]
54 + >=dev-python/urllib3-1.24.2[${PYTHON_USEDEP}]"
55 +BDEPEND="
56 + test? (
57 + dev-python/requests-mock[${PYTHON_USEDEP}]
58 + )"
59 +
60 +distutils_enable_tests pytest
61 +
62 +python_test() {
63 + local EPYTEST_DESELECT=(
64 + # TODO
65 + podman/tests/unit/test_volumesmanager.py::VolumesManagerTestCase::test_get_404
66 + )
67 +
68 + # integration tests require a workable podman server,
69 + # and it doesn't seem to work in ebuild env
70 + epytest podman/tests/unit
71 +}