[gentoo-commits] repo/gentoo:master commit in: dev-python/python-podman/, dev-python/podman-py/, profiles/updates/

2021-08-18 Thread Michał Górny
commit: 1ec8384ede721c169963dc856ef46129b3b1048b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 17 11:34:13 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Aug 18 07:57:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ec8384e

Move dev-python/{python-podman → podman-py}

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

 dev-python/{python-podman => podman-py}/Manifest  | 0
 dev-python/{python-podman => podman-py}/metadata.xml  | 2 +-
 .../python-podman-3.2.0.ebuild => podman-py/podman-py-3.2.0.ebuild}   | 4 +---
 profiles/updates/3Q-2021  | 1 +
 4 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-python/python-podman/Manifest b/dev-python/podman-py/Manifest
similarity index 100%
rename from dev-python/python-podman/Manifest
rename to dev-python/podman-py/Manifest

diff --git a/dev-python/python-podman/metadata.xml 
b/dev-python/podman-py/metadata.xml
similarity index 86%
rename from dev-python/python-podman/metadata.xml
rename to dev-python/podman-py/metadata.xml
index 345f5fb9555..7dce9f7cad9 100644
--- a/dev-python/python-podman/metadata.xml
+++ b/dev-python/podman-py/metadata.xml
@@ -10,7 +10,7 @@
Python


-   containers/python-podman
+   containers/podman-py
podman

 

diff --git a/dev-python/python-podman/python-podman-3.2.0.ebuild 
b/dev-python/podman-py/podman-py-3.2.0.ebuild
similarity index 93%
rename from dev-python/python-podman/python-podman-3.2.0.ebuild
rename to dev-python/podman-py/podman-py-3.2.0.ebuild
index 58c9d7fd927..ae42159d3f2 100644
--- a/dev-python/python-podman/python-podman-3.2.0.ebuild
+++ b/dev-python/podman-py/podman-py-3.2.0.ebuild
@@ -6,15 +6,13 @@ EAPI=8
 PYTHON_COMPAT=( python3_{8..9} )
 inherit distutils-r1
 
-MY_P=podman-py-${PV}
 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
-   -> ${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
+   -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"

diff --git a/profiles/updates/3Q-2021 b/profiles/updates/3Q-2021
index 2c808a92c19..89189dbcab3 100644
--- a/profiles/updates/3Q-2021
+++ b/profiles/updates/3Q-2021
@@ -6,3 +6,4 @@ move dev-python/dbusmock dev-python/python-dbusmock
 move dev-python/fcl dev-python/python-fcl
 move dev-python/python-backoff dev-python/backoff
 move dev-python/python-musicbrainz-ngs dev-python/python-musicbrainzngs
+move dev-python/python-podman dev-python/podman-py



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-podman/

2021-08-17 Thread Michał Górny
commit: 24becc315b5fbf58796f5923cdc495efeff83963
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 17 11:33:04 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 17 11:47:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24becc31

dev-python/python-podman: Remove old

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

 dev-python/python-podman/Manifest  |  1 -
 .../python-podman/python-podman-1.6.0.ebuild   | 30 --
 2 files changed, 31 deletions(-)

diff --git a/dev-python/python-podman/Manifest 
b/dev-python/python-podman/Manifest
index c304840a114..ab2ad9fb16d 100644
--- a/dev-python/python-podman/Manifest
+++ b/dev-python/python-podman/Manifest
@@ -1,2 +1 @@
 DIST podman-py-3.2.0.tar.gz 165514 BLAKE2B 
7e25d160b98e45cc147069249d850b3a3d6dac5227942d90ed99b8313befd9db04a6423015ae56959a53eeeb49958d9067eb6fb7127ee55bf50ebfcea617a220
 SHA512 
8ef165847de5fecd81e7b5564baeaa0298efd4d2e6f12e1dfe958eed77f945d9375d90ba93a8ebab4b090b228d451e96ce49d08288dc3daae1255a05127b25c7
-DIST python-podman-1.6.0.tar.gz 28733 BLAKE2B 
ef36b80d99be07def311c2a8574cc36131760b39f0c80fb8707fb99ec9c2234e297724fc662f936217f9c2ec24fed0f57fd680702fbbac0e8411fc7c90da0577
 SHA512 
e7d730f8cfef0944df82ee73edb858e3cfd76a91dace98a2638341a1eb3ba5b9076d52f2f634cb4a94e082a83553412cdb1c5b79041d5bf4615998d67bb4a03f

diff --git a/dev-python/python-podman/python-podman-1.6.0.ebuild 
b/dev-python/python-podman/python-podman-1.6.0.ebuild
deleted file mode 100644
index 6b9cd8447ee..000
--- a/dev-python/python-podman/python-podman-1.6.0.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-DESCRIPTION="A library to interact with a Podman server"
-HOMEPAGE="https://github.com/containers/python-podman/ 
https://pypi.org/project/podman/;
-MY_PN=${PN#python-}
-MY_P=${MY_PN}-${PV}
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="dev-python/psutil[${PYTHON_USEDEP}]
-   dev-python/python-dateutil[${PYTHON_USEDEP}]
-   dev-python/python-varlink[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/pbr[${PYTHON_USEDEP}]"
-
-S=${WORKDIR}/${MY_P}
-
-python_test() {
-   "${PYTHON}" -m unittest discover tests/ || die "tests failed with 
${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-podman/

2021-07-16 Thread Michał Górny
commit: cdba8f00dae74bb2667a46cd587da973d7bbb802
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 16 11:07:47 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 16 11:08:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdba8f00

dev-python/python-podman: Ignore integration tests entirely

Ignore integration tests entirely rather than deselecting them,
in order to avoid additional test dependencies.

Closes: https://bugs.gentoo.org/802447
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-podman/python-podman-3.2.0.ebuild | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/dev-python/python-podman/python-podman-3.2.0.ebuild 
b/dev-python/python-podman/python-podman-3.2.0.ebuild
index 716d1e8876b..58c9d7fd927 100644
--- a/dev-python/python-podman/python-podman-3.2.0.ebuild
+++ b/dev-python/python-podman/python-podman-3.2.0.ebuild
@@ -34,13 +34,11 @@ distutils_enable_tests pytest
 
 python_test() {
local deselect=(
-   # integration tests require a workable podman server,
-   # and it doesn't seem to work in ebuild env
-   podman/tests/integration
-
# TODO

podman/tests/unit/test_volumesmanager.py::VolumesManagerTestCase::test_get_404
)
 
-   epytest ${deselect[@]/#/--deselect }
+   # integration tests require a workable podman server,
+   # and it doesn't seem to work in ebuild env
+   epytest podman/tests/unit ${deselect[@]/#/--deselect }
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-podman/

2021-07-16 Thread Michał Górny
commit: 81d144f27fe0064edc2cc5778cd00843e3588425
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 16 07:53:13 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 16 07:54:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81d144f2

dev-python/python-podman: Add test-dep on requests-mock

Closes: https://bugs.gentoo.org/802387
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/python-podman/python-podman-3.2.0.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/python-podman/python-podman-3.2.0.ebuild 
b/dev-python/python-podman/python-podman-3.2.0.ebuild
index eba715f5f00..716d1e8876b 100644
--- a/dev-python/python-podman/python-podman-3.2.0.ebuild
+++ b/dev-python/python-podman/python-podman-3.2.0.ebuild
@@ -25,6 +25,10 @@ RDEPEND="
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
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-podman/

2021-07-16 Thread Michał Górny
commit: 623ef2412d92ad0a47657c67417322294ab888be
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 16 06:10:29 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 16 06:12:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623ef241

dev-python/python-podman: Bump to 3.2.0

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

 dev-python/python-podman/Manifest  |  1 +
 .../python-podman/python-podman-3.2.0.ebuild   | 42 ++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/python-podman/Manifest 
b/dev-python/python-podman/Manifest
index 670ad77b854..c304840a114 100644
--- a/dev-python/python-podman/Manifest
+++ b/dev-python/python-podman/Manifest
@@ -1 +1,2 @@
+DIST podman-py-3.2.0.tar.gz 165514 BLAKE2B 
7e25d160b98e45cc147069249d850b3a3d6dac5227942d90ed99b8313befd9db04a6423015ae56959a53eeeb49958d9067eb6fb7127ee55bf50ebfcea617a220
 SHA512 
8ef165847de5fecd81e7b5564baeaa0298efd4d2e6f12e1dfe958eed77f945d9375d90ba93a8ebab4b090b228d451e96ce49d08288dc3daae1255a05127b25c7
 DIST python-podman-1.6.0.tar.gz 28733 BLAKE2B 
ef36b80d99be07def311c2a8574cc36131760b39f0c80fb8707fb99ec9c2234e297724fc662f936217f9c2ec24fed0f57fd680702fbbac0e8411fc7c90da0577
 SHA512 
e7d730f8cfef0944df82ee73edb858e3cfd76a91dace98a2638341a1eb3ba5b9076d52f2f634cb4a94e082a83553412cdb1c5b79041d5bf4615998d67bb4a03f

diff --git a/dev-python/python-podman/python-podman-3.2.0.ebuild 
b/dev-python/python-podman/python-podman-3.2.0.ebuild
new file mode 100644
index 000..eba715f5f00
--- /dev/null
+++ b/dev-python/python-podman/python-podman-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
+
+MY_P=podman-py-${PV}
+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
+   -> ${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+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}]"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local deselect=(
+   # integration tests require a workable podman server,
+   # and it doesn't seem to work in ebuild env
+   podman/tests/integration
+
+   # TODO
+   
podman/tests/unit/test_volumesmanager.py::VolumesManagerTestCase::test_get_404
+   )
+
+   epytest ${deselect[@]/#/--deselect }
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-podman/

2021-07-16 Thread Michał Górny
commit: 5b30ec134b5410b0555b6bcddabd12b87ba72714
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 16 06:10:49 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 16 06:12:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b30ec13

dev-python/python-podman: Add python@ as co-maint.

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

 dev-python/python-podman/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/python-podman/metadata.xml 
b/dev-python/python-podman/metadata.xml
index 1264cba62cc..345f5fb9555 100644
--- a/dev-python/python-podman/metadata.xml
+++ b/dev-python/python-podman/metadata.xml
@@ -5,6 +5,10 @@
zmed...@gentoo.org
Zac Medico

+   
+   pyt...@gentoo.org
+   Python
+   

containers/python-podman
podman



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-podman/

2020-10-14 Thread Zac Medico
commit: c9998f292aa50040992299ce0b1c9ab1e71e5750
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Oct 14 13:28:38 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Oct 15 01:44:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9998f29

dev-python/python-podman: correct DISTUTILS_USE_SETUPTOOLS

Closes: https://bugs.gentoo.org/748660
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/python-podman/python-podman-1.6.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/python-podman/python-podman-1.6.0.ebuild 
b/dev-python/python-podman/python-podman-1.6.0.ebuild
index d08d17805de..63ec2c3e60a 100644
--- a/dev-python/python-podman/python-podman-1.6.0.ebuild
+++ b/dev-python/python-podman/python-podman-1.6.0.ebuild
@@ -4,6 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
 
@@ -20,8 +21,7 @@ RDEPEND="dev-python/psutil[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/python-varlink[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
-   dev-python/pbr[${PYTHON_USEDEP}]
-   >=dev-python/setuptools-39[${PYTHON_USEDEP}]"
+   dev-python/pbr[${PYTHON_USEDEP}]"
 
 S=${WORKDIR}/${MY_P}
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-podman/

2020-03-28 Thread Michał Górny
commit: 28351ada2ce7b3a5db41a528e797e901c215d191
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 21:03:52 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 21:11:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28351ada

dev-python/python-podman: Remove redundant versions

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

 dev-python/python-podman/Manifest  |  1 -
 .../python-podman/python-podman-0.12.1.2.ebuild| 27 --
 2 files changed, 28 deletions(-)

diff --git a/dev-python/python-podman/Manifest 
b/dev-python/python-podman/Manifest
index 1e93bcd4cca..670ad77b854 100644
--- a/dev-python/python-podman/Manifest
+++ b/dev-python/python-podman/Manifest
@@ -1,2 +1 @@
-DIST libpod-0.12.1.2.tar.gz 5987875 BLAKE2B 
11381c53e768c94bfadcb2013a028f64058b0001cd985ef289d1618163225cdf10bd608cff0cd6f7fc1c094497184fc6d0cedea32fde54f3581ebb51eb5eabdd
 SHA512 
9abb46d7880c4577d22b48aed01baeae29662dc3dbbdbc297f1eebe8324fb734d9bac6cd105dc93f7600753874c0fa581142d1b16f7490175cea80b8f62b34ce
 DIST python-podman-1.6.0.tar.gz 28733 BLAKE2B 
ef36b80d99be07def311c2a8574cc36131760b39f0c80fb8707fb99ec9c2234e297724fc662f936217f9c2ec24fed0f57fd680702fbbac0e8411fc7c90da0577
 SHA512 
e7d730f8cfef0944df82ee73edb858e3cfd76a91dace98a2638341a1eb3ba5b9076d52f2f634cb4a94e082a83553412cdb1c5b79041d5bf4615998d67bb4a03f

diff --git a/dev-python/python-podman/python-podman-0.12.1.2.ebuild 
b/dev-python/python-podman/python-podman-0.12.1.2.ebuild
deleted file mode 100644
index 3cc1637956b..000
--- a/dev-python/python-podman/python-podman-0.12.1.2.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit distutils-r1
-
-DESCRIPTION="A library for communicating with a Podman server"
-HOMEPAGE="https://github.com/containers/libpod/tree/master/contrib/python/podman/;
-SRC_URI="https://github.com/containers/libpod/archive/v${PV}.tar.gz -> 
libpod-${PV}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="dev-python/psutil[${PYTHON_USEDEP}]
-   dev-python/python-dateutil[${PYTHON_USEDEP}]
-   dev-python/python-varlink[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   >=dev-python/setuptools-39[${PYTHON_USEDEP}]"
-RESTRICT="test"
-S="${WORKDIR}/libpod-${PV}/contrib/python/podman"
-
-python_test() {
-   esetup.py test || die "tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-podman/

2020-01-19 Thread Zac Medico
commit: dc111d957705dc9f1196f7483eb69d544a0be78e
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Jan 19 20:52:11 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Jan 19 21:05:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc111d95

dev-python/python-podman: Bump to version 1.6.0

Reported-by: Nils Freydank  posteo.de>
Closes: https://bugs.gentoo.org/705826
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/python-podman/Manifest  |  1 +
 dev-python/python-podman/metadata.xml  |  3 ++-
 .../python-podman/python-podman-1.6.0.ebuild   | 30 ++
 3 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/dev-python/python-podman/Manifest 
b/dev-python/python-podman/Manifest
index 42810a9b0f0..1e93bcd4cca 100644
--- a/dev-python/python-podman/Manifest
+++ b/dev-python/python-podman/Manifest
@@ -1 +1,2 @@
 DIST libpod-0.12.1.2.tar.gz 5987875 BLAKE2B 
11381c53e768c94bfadcb2013a028f64058b0001cd985ef289d1618163225cdf10bd608cff0cd6f7fc1c094497184fc6d0cedea32fde54f3581ebb51eb5eabdd
 SHA512 
9abb46d7880c4577d22b48aed01baeae29662dc3dbbdbc297f1eebe8324fb734d9bac6cd105dc93f7600753874c0fa581142d1b16f7490175cea80b8f62b34ce
+DIST python-podman-1.6.0.tar.gz 28733 BLAKE2B 
ef36b80d99be07def311c2a8574cc36131760b39f0c80fb8707fb99ec9c2234e297724fc662f936217f9c2ec24fed0f57fd680702fbbac0e8411fc7c90da0577
 SHA512 
e7d730f8cfef0944df82ee73edb858e3cfd76a91dace98a2638341a1eb3ba5b9076d52f2f634cb4a94e082a83553412cdb1c5b79041d5bf4615998d67bb4a03f

diff --git a/dev-python/python-podman/metadata.xml 
b/dev-python/python-podman/metadata.xml
index 7d1075feff1..1264cba62cc 100644
--- a/dev-python/python-podman/metadata.xml
+++ b/dev-python/python-podman/metadata.xml
@@ -6,6 +6,7 @@
Zac Medico


-   containers/libpod
+   containers/python-podman
+   podman

 

diff --git a/dev-python/python-podman/python-podman-1.6.0.ebuild 
b/dev-python/python-podman/python-podman-1.6.0.ebuild
new file mode 100644
index 000..d08d17805de
--- /dev/null
+++ b/dev-python/python-podman/python-podman-1.6.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="A library to interact with a Podman server"
+HOMEPAGE="https://github.com/containers/python-podman/ 
https://pypi.org/project/podman/;
+MY_PN=${PN#python-}
+MY_P=${MY_PN}-${PV}
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-python/psutil[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+   dev-python/python-varlink[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/pbr[${PYTHON_USEDEP}]
+   >=dev-python/setuptools-39[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${MY_P}
+
+python_test() {
+   "${PYTHON}" -m unittest discover tests/ || die "tests failed with 
${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-podman/

2019-01-07 Thread Zac Medico
commit: dff147393df05d7f37346f9192d5caa8cea4b54d
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Jan  7 05:52:40 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Jan  7 10:16:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dff14739

dev-python/python-podman: new package

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/python-podman/Manifest  |  1 +
 dev-python/python-podman/metadata.xml  | 11 +
 .../python-podman/python-podman-0.12.1.2.ebuild| 27 ++
 3 files changed, 39 insertions(+)

diff --git a/dev-python/python-podman/Manifest 
b/dev-python/python-podman/Manifest
new file mode 100644
index 000..42810a9b0f0
--- /dev/null
+++ b/dev-python/python-podman/Manifest
@@ -0,0 +1 @@
+DIST libpod-0.12.1.2.tar.gz 5987875 BLAKE2B 
11381c53e768c94bfadcb2013a028f64058b0001cd985ef289d1618163225cdf10bd608cff0cd6f7fc1c094497184fc6d0cedea32fde54f3581ebb51eb5eabdd
 SHA512 
9abb46d7880c4577d22b48aed01baeae29662dc3dbbdbc297f1eebe8324fb734d9bac6cd105dc93f7600753874c0fa581142d1b16f7490175cea80b8f62b34ce

diff --git a/dev-python/python-podman/metadata.xml 
b/dev-python/python-podman/metadata.xml
new file mode 100644
index 000..7d1075feff1
--- /dev/null
+++ b/dev-python/python-podman/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   zmed...@gentoo.org
+   Zac Medico
+   
+   
+   containers/libpod
+   
+

diff --git a/dev-python/python-podman/python-podman-0.12.1.2.ebuild 
b/dev-python/python-podman/python-podman-0.12.1.2.ebuild
new file mode 100644
index 000..d99498b3177
--- /dev/null
+++ b/dev-python/python-podman/python-podman-0.12.1.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A library for communicating with a Podman server"
+HOMEPAGE="https://github.com/containers/libpod/tree/master/contrib/python/podman/;
+SRC_URI="https://github.com/containers/libpod/archive/v${PV}.tar.gz -> 
libpod-${PV}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-python/psutil[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+   dev-python/python-varlink[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   >=dev-python/setuptools-39[${PYTHON_USEDEP}]"
+RESTRICT="test"
+S="${WORKDIR}/libpod-${PV}/contrib/python/podman"
+
+python_test() {
+   esetup.py test || die "tests failed with ${EPYTHON}"
+}