dev-python/hcloud: Bump to 2.13.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-12-20 08:25:35 +01:00
parent 646e5f8158
commit 2a10aca5f4
No known key found for this signature in database
GPG Key ID: 8E32347AF4055AE8
2 changed files with 52 additions and 0 deletions

View File

@ -1,2 +1,3 @@
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.13.0.gh.tar.gz 150142 BLAKE2B 35b506346a53d57d6cc1a74a654d8d475da53684381b7e14f091fcdc5a21ed8481bf293f5451590c810b01b989e1bf397be6c04b6c6236c373c8e10e097d00e3 SHA512 9aca1674af7dc93e399e30129f09c87263c1d5cb8d70dfdbe27a4eae161b65151d5984ca2a18d74332972e2291400e300b4bb88a02fe06fa049680dc07aa7489

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
}