mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
dev-python/docker-py: Bump to 6.1.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
77f9435db8
commit
ef59505774
@ -1 +1,2 @@
|
||||
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
|
||||
|
||||
56
dev-python/docker-py/docker-py-6.1.2.ebuild
Normal file
56
dev-python/docker-py/docker-py-6.1.2.ebuild
Normal file
@ -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
|
||||
}
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user