dev-python/hcloud: Bump to 2.12.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-12-11 05:18:26 +01:00
parent 0bbb934caf
commit a409ef34bb
2 changed files with 52 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST hcloud-python-2.10.0.gh.tar.gz 135210 BLAKE2B e5dbd2481ee41e122fa93d6562d02f75887ff30756d47a0414bc09eb168cf8a39ebc251fcd522608357e870140d4d80364e2470d85abf883ce588d9c25c68c8c SHA512 3733e750df238134a5fc9e7328ad487f3c027f4823c0915dc9e05bb85dbd7997b36445a9ad58b686eb298f65a659f09ec4e06d7355b5878ea53ebfa5c6f9dda9
DIST hcloud-python-2.11.1.gh.tar.gz 135317 BLAKE2B e71e77e8300169eb657d9b326b351fa0f3a19b3bd32657d899c6faf4e3c32169a0847b61e9996ea401502635f7b208d2da611637426c23cd2a40a05074e5db50 SHA512 9e01ba3d6d1cdb6d00d816a3da1272f6bdc4ca5e0b935127da4448191df727fe1f7cebf2c3872a2ad883f814783b563088bb4e993f13ec5666d29ab90fbed47b
DIST hcloud-python-2.12.0.gh.tar.gz 148791 BLAKE2B 94dd094a7104b4832fbccbaeb2a2d2d52709a1a28f191a218dbeccfb1c32ded15d1ba5baa6d486ea2bd677969411b263d4246dc723050387dd5d2ecfb3a03313 SHA512 1b98dea1bd8383a21b6e1958172e2f259af198b3652ff3090d6c0bcd5246783df0f6e1331ad2bd028eb4bbd5cc17f14dcdcebf0224c8d0c11b6d94af4d1c7f29
DIST hcloud-python-2.9.0.gh.tar.gz 133722 BLAKE2B 7a8a9934779981a456b90774f5daa9a26a6cc0e8e6efb2eb98f3c4e518d15f358c0c2384c4234fff08fc2b0dfd6a2257f282f4eca014a5391264257902ce9580 SHA512 f416993b49ac7bf082a6bcd5635595e60cb79643b9b5baab0a5b2e12d10ea7ecfbd95272a690747e86b7510120bf2cdb7decb51072a847f013cd9bdec8001c2b

View File

@@ -0,0 +1,51 @@
# 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_{11..14} )
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
EPYTEST_PLUGINS=()
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
}