summaryrefslogtreecommitdiff
path: root/dev-python/podman-py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-21 23:14:26 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-21 23:14:26 +0100
commit7c59acba5699c9c58090a7a738669669a7307023 (patch)
treed51d27d020895a6b7a3298d9d1b9846c1fcb59a0 /dev-python/podman-py
parente2db47eaae00ec33f8971db44b68645c5d3b9590 (diff)
gentoo resync : 21.08.2021
Diffstat (limited to 'dev-python/podman-py')
-rw-r--r--dev-python/podman-py/Manifest3
-rw-r--r--dev-python/podman-py/metadata.xml16
-rw-r--r--dev-python/podman-py/podman-py-3.2.0.ebuild42
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/podman-py/Manifest b/dev-python/podman-py/Manifest
new file mode 100644
index 000000000000..283c9e197dfc
--- /dev/null
+++ b/dev-python/podman-py/Manifest
@@ -0,0 +1,3 @@
+DIST podman-py-3.2.0.tar.gz 165514 BLAKE2B 7e25d160b98e45cc147069249d850b3a3d6dac5227942d90ed99b8313befd9db04a6423015ae56959a53eeeb49958d9067eb6fb7127ee55bf50ebfcea617a220 SHA512 8ef165847de5fecd81e7b5564baeaa0298efd4d2e6f12e1dfe958eed77f945d9375d90ba93a8ebab4b090b228d451e96ce49d08288dc3daae1255a05127b25c7
+EBUILD podman-py-3.2.0.ebuild 999 BLAKE2B 5a1830cbb64f6a9347c23dbba167a95c31c9325fd8ccb09d5acaac8111ef457f4e2cf509358341e57470d2fe73bebbafe5f89a968255685c21f4d6a0aa347737 SHA512 ab6d6c50cd59da65c9c2d41b45d988c91a8001c8c857291e26c2929ef00f896bcb34b28a83b16a703e9c1da27c6f820ebaa3ea37bc4c331c4f5f4a5405ab74df
+MISC metadata.xml 474 BLAKE2B f550a5de9a00c90f0ab6b38605b1b27f83e4bb9e8f200874ef5d09bdfb0669a890eafe6a542fac2f9f557b6ac57e642637b71a53697715b5921ccdbb0f78808a SHA512 f8b6432ab3a271e965b1c8a25f856fe0af3d09cc9d53c6befc62baab42452eadc2b463f715afca71523453dcd38b3ebc1e437cdbd26a790aa8442c453c8e8225
diff --git a/dev-python/podman-py/metadata.xml b/dev-python/podman-py/metadata.xml
new file mode 100644
index 000000000000..7dce9f7cad9f
--- /dev/null
+++ b/dev-python/podman-py/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">containers/podman-py</remote-id>
+ <remote-id type="pypi">podman</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/podman-py/podman-py-3.2.0.ebuild b/dev-python/podman-py/podman-py-3.2.0.ebuild
new file mode 100644
index 000000000000..ae42159d3f28
--- /dev/null
+++ b/dev-python/podman-py/podman-py-3.2.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+inherit distutils-r1
+
+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}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/toml[${PYTHON_USEDEP}]
+ dev-python/urllib3[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ dev-python/requests-mock[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local 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 ${deselect[@]/#/--deselect }
+}