summaryrefslogtreecommitdiff
path: root/dev-python/docker-py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-12 05:48:13 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-12 05:48:13 +0100
commit8d9dd6a2b8f0525f6337deacd0cc20027f645396 (patch)
tree055778f8b0feeae92daec20b5693a21a206ea379 /dev-python/docker-py
parent02930d1eb5af78d32b1597af6af24163895d9e0f (diff)
gentoo auto-resync : 12:05:2023 - 05:48:13
Diffstat (limited to 'dev-python/docker-py')
-rw-r--r--dev-python/docker-py/Manifest4
-rw-r--r--dev-python/docker-py/docker-py-6.1.2.ebuild56
-rw-r--r--dev-python/docker-py/metadata.xml2
3 files changed, 60 insertions, 2 deletions
diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest
index 4aff541dbf39..7cf2583fa7e3 100644
--- a/dev-python/docker-py/Manifest
+++ b/dev-python/docker-py/Manifest
@@ -1,3 +1,5 @@
DIST docker-py-5.0.3.gh.tar.gz 247093 BLAKE2B 607aca3f6a58b289feed018f40fa5e76e9d6cbae9eefd15a3347e393ae68d963e897e5f288ebf3a13cfbbfafd37882152da1398f61a808338424f353384f1b43 SHA512 50890e8d75eb9e4d3d98bbea5f86b86ad199a56ab0761bf2d0c0f3b7902810b2c17c2a677b0063963742a43a4660d400705bb8eb4e217c89302ae849a4ef3e08
+DIST docker-py-6.1.2.gh.tar.gz 253183 BLAKE2B 28435f5db00cbcd189cb06af77a4eac95a27944d324718c02b1d8f28c9954242c3a36ae376b0e0118ce1e03cb49f44925250b33b34b3ba5b459ef0df9ae9a6a4 SHA512 13c2711c44ae7b781187abaa7518ed86dd37192a44b6fff2c0090bfd8edb82555d15fb9d1681de9db47839f8dbcf17cc03fb88ed4e0e0052032dbcc9ed4c0078
EBUILD docker-py-5.0.3.ebuild 1037 BLAKE2B ea18064d680e92cfc90828ffc38377efefad40bbf7c7774ce82cffa9973813729773767eccd05a0fac9975fcec55964d1b62f67e80b9e66718591148420736a2 SHA512 33ece00373699eca1480fa5caf49cd3e5f34ed68f441abd741c8a9d7c0e9f3ef4ba62775a61fd6b3a7945c27baa20efbdefe49738ee3d6ec283fdfb155d7ef3a
-MISC metadata.xml 435 BLAKE2B d73e3905c5e21106255c6f19647879a5eba99f3334bcddf5104772bc300466442970ad489fc08e013af5bfdcbd4439d104f27cbb8c514d8e45fda27ae30a6a96 SHA512 5b5d470fdf19135af2095ca85c002945fd1462ae1ca32b7285411f8e75faeedea893c46bc200352c1bf25b43310b5bba43c226be2f2b02ccd6cba14b33ebc07e
+EBUILD docker-py-6.1.2.ebuild 1229 BLAKE2B 795a0a0fdbd9944ff91df95f80880db2df4bfcee3d9e429fa1ce5676fcef55241a307fb3aada38f999bfa6c73687afb5a73133fcb62b9e73b84c165cb2761831 SHA512 9c010980933cfa0912f08ac0095d3bb46db8c0762beeea12296763094d0afb8ffb03e32d28c73f62f8287f4c4676a84938cefafba0155abc1f3634caff9b2b3d
+MISC metadata.xml 432 BLAKE2B d57abab67aa69fa94d65ad06263fd9aa748e9c918d51750b613b6a22fffbd3642c8b1e01ebf521edff10d082c9e41329b3234b981283e3ca8bb07ddee7f97dd5 SHA512 b7d9c322623a2e68902def06d10d8f2a3c18d231a36383b52f80001ef2a2161633a66950afd7ad60f07e5d666d15d1fab738e46fce42ab221ad2e1e0b2fb600a
diff --git a/dev-python/docker-py/docker-py-6.1.2.ebuild b/dev-python/docker-py/docker-py-6.1.2.ebuild
new file mode 100644
index 000000000000..3c5d6b7bfcd0
--- /dev/null
+++ b/dev-python/docker-py/docker-py-6.1.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+MY_P=docker-py-${PV}
+DESCRIPTION="Python client for Docker"
+HOMEPAGE="
+ https://github.com/docker/docker-py/
+ https://pypi.org/project/docker/
+"
+SRC_URI="
+ https://github.com/docker/docker-py/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/packaging-14.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
+ >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/paramiko-2.4.3[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_sphinx docs \
+ 'dev-python/myst-parser'
+distutils_enable_tests pytest
+
+src_prepare() {
+ # localhost has a better chance of being in /etc/hosts
+ sed -e 's:socket[.]gethostname():"localhost":' \
+ -i tests/unit/api_test.py || die
+
+ distutils-r1_src_prepare
+
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}
+
+python_test() {
+ epytest tests/unit
+}
diff --git a/dev-python/docker-py/metadata.xml b/dev-python/docker-py/metadata.xml
index 8ec98dea8792..f7c364e174f0 100644
--- a/dev-python/docker-py/metadata.xml
+++ b/dev-python/docker-py/metadata.xml
@@ -8,6 +8,6 @@
<upstream>
<remote-id type="github">docker/docker-py</remote-id>
<bugs-to>https://github.com/docker/docker-py/issues</bugs-to>
- <remote-id type="pypi">docker-py</remote-id>
+ <remote-id type="pypi">docker</remote-id>
</upstream>
</pkgmetadata>