diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-25 00:07:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-25 00:07:14 +0100 |
commit | f8999218b5a6eafa151e7367030cbfdb69e045ed (patch) | |
tree | 0d0e9293bcb75153cd18542369fa789ede9338a0 /dev-python/docker | |
parent | aa4954f71a3ba2293395a8cce2321a70c39c7554 (diff) |
gentoo auto-resync : 25:05:2024 - 00:07:14
Diffstat (limited to 'dev-python/docker')
-rw-r--r-- | dev-python/docker/Manifest | 2 | ||||
-rw-r--r-- | dev-python/docker/docker-7.1.0.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/docker/Manifest b/dev-python/docker/Manifest index 8d511c1bb629..b168586d61c5 100644 --- a/dev-python/docker/Manifest +++ b/dev-python/docker/Manifest @@ -1,5 +1,7 @@ DIST docker-py-6.1.3.gh.tar.gz 253192 BLAKE2B b5a54d2bcbb4a89e4861bbf59a9b4565886f5541a518f66691ae205b7581f73af9fe6d491af299b0295f39b4a6e6248871b16e25ea5650fabbeafb7ced6cdaf7 SHA512 ba6ade2487afb8f68606b7d78c0f0dc83ffde622444a9598a5c647d0176695171040c5d1115fb8db6d97cb062a24d552d043274a56923b0eae0f64d98cb92c30 DIST docker-py-7.0.0.gh.tar.gz 252188 BLAKE2B 64df988c8ece4fc0199731206b7f85554841e4c60ea10f1044c1d5f0dc52286e9da36280bfc468933bbae1f8efaa0fd44afaedf732001cd3d7a2c05879d6a467 SHA512 1ddfdc6d533d9e623baf8bbf1243272d6e511c2bb356c82d9401e566733794d38aa34df151788f1ad807fe7ba0144cc428e0b7f74acd888a58afc61c09c6d09c +DIST docker-py-7.1.0.gh.tar.gz 253282 BLAKE2B 82eba285c1ea61956005dd0a9bfb66864fd30119a4b4c384d0d4350edeb331004d66bcdba6f20ec56ff48590b4a29a7b0fb07c6db6ecadfe96830337c37a535a SHA512 3dd73f2c3f3e92863496ef8277f481e64484e0e85a64dffe4e3287836823e4b118a5c8e73b2540e7188a0b755cd3f237ccc868a5bfb81d3bff1142fbb33755cb EBUILD docker-6.1.3.ebuild 1296 BLAKE2B 8d6fdc5b18eb425a08bf720ce93db42f664302e89c7cdb2fc6da96746103de4a7b129188775dbf0048a38877db9c67c89826c1a0a10e31ceaaae008cd7bcc76a SHA512 759c07eefc51f45b00ba49a76187429197da4c0a87b16e1ed33a4fde161f744780d7e88037af9ae1523c072dce011c453bd36cc1bcd7b31d98b2d312ad86a43b EBUILD docker-7.0.0.ebuild 1228 BLAKE2B 8af895db91d1812ba52b7281fe9831bfa2b2d10519bed84aa3763e188ba62ea1fa7a80e54fa31b73399d03dfccf1d287dd95940810e50a44c63bc93e3827bd31 SHA512 dae86717e388598e635ab88c0f1ca205e366ef14637f544cf874d461ce53e086d0864f106fb19fe5262a2380dd04a07c5225c6d4fe48e0e7c09d2cedf3c52830 +EBUILD docker-7.1.0.ebuild 1194 BLAKE2B 3145a352ed53f1334eac28baa7984a9a17fb51ab25a1950a1e48f9e95c563dee4f99aab66456c5e5adb99c8bb4cf0c556844947db9d20e6f57792bbb34bf9988 SHA512 f4671cdb0397b4229db6534faa6cb3dc243ec3a2d2b880b4ccc9f2c2ecac4b3c32db0135a4c26b7dd1b1abbe29e2d92d67b166856860b9d12539b0c95cfff722 MISC metadata.xml 432 BLAKE2B d57abab67aa69fa94d65ad06263fd9aa748e9c918d51750b613b6a22fffbd3642c8b1e01ebf521edff10d082c9e41329b3234b981283e3ca8bb07ddee7f97dd5 SHA512 b7d9c322623a2e68902def06d10d8f2a3c18d231a36383b52f80001ef2a2161633a66950afd7ad60f07e5d666d15d1fab738e46fce42ab221ad2e1e0b2fb600a diff --git a/dev-python/docker/docker-7.1.0.ebuild b/dev-python/docker/docker-7.1.0.ebuild new file mode 100644 index 000000000000..d6e320f4ae1f --- /dev/null +++ b/dev-python/docker/docker-7.1.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +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/requests-2.26.0[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/paramiko-2.4.3[${PYTHON_USEDEP}] + >=dev-python/websocket-client-1.3.0[${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() { + local -x TZ=UTC + epytest tests/unit +} |