dev-python/hcloud: Bump to 2.5.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-05-01 04:39:59 +02:00
parent ff5e56121b
commit 9e5963f5c1
2 changed files with 50 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST hcloud-python-2.4.0.gh.tar.gz 120779 BLAKE2B 9a81c91e7ddc90148b10ca370589e27cb06af9b8a7acff26979fa9ed4f4a095f0ebb458ba4b8223338d8c69123e0ca5763627a41a4d610786b2ac98594700098 SHA512 a22970ab1f1241368d424bc08d540da5f9287581d2a4ecdbba3feb7a97176ddafce66fc0397ee5e22b4131702cfabcab89347da3709a8b6d4d1aa71df001518b
DIST hcloud-python-2.5.0.gh.tar.gz 121327 BLAKE2B 582d55116082dc1dbd06310f93a77a984d58191cebc715e3b68822b3ee98c6c3a0fc01ae58493d6444d56b53e24dc679652ac2cab87f86cfc852197c6fc8a72f SHA512 1b29de830c9ce001ffa93c73a0391569d65cc2da36ba36073af8840a1030777f327c9712220a0d63ed6a374b8ab57d4a2fe62f0cbdeb583059622df705d9cc0d
DIST hcloud-python-2.5.1.gh.tar.gz 121374 BLAKE2B 08f936960415252e2fb980d2f1175e94ae8d148fa9699e1fc2885204240a5588754064375a4e40be6fbbcf4b40a699052b1c6637ce6760fa5cfb6cb5bce0e342 SHA512 9f54bc0f0eca3aad3dabe0187d9ce2612c5d9b806ceb3c04311e6794a0f21538a6ac65d0ebc74b4702f3a3b179f686950148f6d21cfb0cf3596eea41efb69a64

View File

@@ -0,0 +1,49 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
MY_P=hcloud-python-${PV}
DESCRIPTION="Official Hetzner Cloud python library"
HOMEPAGE="
https://github.com/hetznercloud/hcloud-python/
https://pypi.org/project/hcloud/
"
# sdist is missing doc assets as of 1.19.0
# https://github.com/hetznercloud/hcloud-python/pull/183
SRC_URI="
https://github.com/hetznercloud/hcloud-python/archive/v${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples"
RDEPEND="
>=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
>=dev-python/requests-2.20[${PYTHON_USEDEP}]
"
distutils_enable_sphinx docs \
dev-python/myst-parser \
dev-python/sphinx-rtd-theme
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# Integration tests need docker:
# https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16
tests/integration
)
python_install_all() {
use examples && dodoc -r examples
distutils-r1_python_install_all
}