1 |
commit: 623ef2412d92ad0a47657c67417322294ab888be |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 16 06:10:29 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 16 06:12:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623ef241 |
7 |
|
8 |
dev-python/python-podman: Bump to 3.2.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-podman/Manifest | 1 + |
13 |
.../python-podman/python-podman-3.2.0.ebuild | 42 ++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-podman/Manifest b/dev-python/python-podman/Manifest |
17 |
index 670ad77b854..c304840a114 100644 |
18 |
--- a/dev-python/python-podman/Manifest |
19 |
+++ b/dev-python/python-podman/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST podman-py-3.2.0.tar.gz 165514 BLAKE2B 7e25d160b98e45cc147069249d850b3a3d6dac5227942d90ed99b8313befd9db04a6423015ae56959a53eeeb49958d9067eb6fb7127ee55bf50ebfcea617a220 SHA512 8ef165847de5fecd81e7b5564baeaa0298efd4d2e6f12e1dfe958eed77f945d9375d90ba93a8ebab4b090b228d451e96ce49d08288dc3daae1255a05127b25c7 |
22 |
DIST python-podman-1.6.0.tar.gz 28733 BLAKE2B ef36b80d99be07def311c2a8574cc36131760b39f0c80fb8707fb99ec9c2234e297724fc662f936217f9c2ec24fed0f57fd680702fbbac0e8411fc7c90da0577 SHA512 e7d730f8cfef0944df82ee73edb858e3cfd76a91dace98a2638341a1eb3ba5b9076d52f2f634cb4a94e082a83553412cdb1c5b79041d5bf4615998d67bb4a03f |
23 |
|
24 |
diff --git a/dev-python/python-podman/python-podman-3.2.0.ebuild b/dev-python/python-podman/python-podman-3.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..eba715f5f00 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-podman/python-podman-3.2.0.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 |
+MY_P=podman-py-${PV} |
39 |
+DESCRIPTION="A library to interact with a Podman server" |
40 |
+HOMEPAGE=" |
41 |
+ https://github.com/containers/podman-py/ |
42 |
+ https://pypi.org/project/podman/" |
43 |
+SRC_URI=" |
44 |
+ https://github.com/containers/podman-py/archive/v${PV}.tar.gz |
45 |
+ -> ${MY_P}.tar.gz" |
46 |
+S=${WORKDIR}/${MY_P} |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/pyxdg[${PYTHON_USEDEP}] |
54 |
+ dev-python/requests[${PYTHON_USEDEP}] |
55 |
+ dev-python/toml[${PYTHON_USEDEP}] |
56 |
+ dev-python/urllib3[${PYTHON_USEDEP}]" |
57 |
+ |
58 |
+distutils_enable_tests pytest |
59 |
+ |
60 |
+python_test() { |
61 |
+ local deselect=( |
62 |
+ # integration tests require a workable podman server, |
63 |
+ # and it doesn't seem to work in ebuild env |
64 |
+ podman/tests/integration |
65 |
+ |
66 |
+ # TODO |
67 |
+ podman/tests/unit/test_volumesmanager.py::VolumesManagerTestCase::test_get_404 |
68 |
+ ) |
69 |
+ |
70 |
+ epytest ${deselect[@]/#/--deselect } |
71 |
+} |