commit:     c6b39962eb8b034c6c23b025afc7f50f1dd4fd46
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  8 05:03:42 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct  8 06:25:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b39962

dev-python/hcloud: Bump to 2.8.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/hcloud/Manifest            |  1 +
 dev-python/hcloud/hcloud-2.8.0.ebuild | 51 +++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest
index fc5ba9f3f7a2..7bf3085e287e 100644
--- a/dev-python/hcloud/Manifest
+++ b/dev-python/hcloud/Manifest
@@ -1,3 +1,4 @@
 DIST hcloud-python-2.5.4.gh.tar.gz 123092 BLAKE2B 
0b5f9ae2c7c3d67c902e2d8b4d8915512eb253742ec49472d35183e7560dd96fd8c877c302b3d207a9ffe9650fefa6981a49519ea3256d3e18cf0c483a5e83bc
 SHA512 
c824425e6d7be48b47fcc647a56c60bdfce18736fc4d0cfcc93f5a58e3b60f8cf1f28e892c27044c564eca7609c5c6a4a7d36070926be4104f012c422539a2a9
 DIST hcloud-python-2.6.0.gh.tar.gz 122385 BLAKE2B 
d9b753f8483e1ee799d8fb08dcdb54096f7ddaff8ecab02ee8bac09996dd25bcaf1d6b2c3a63dd14d663833e1eb8212983252454000bef79e0faef999bb1576b
 SHA512 
e913b90b8b279cdcd90bb2d698196eb413151c5dda16eb5ec8a3fb7c4d8eadb30e85b7e4b7458c121a130d6c2faad802f52daf81babfd8bc7d80bc2d6fad13bb
 DIST hcloud-python-2.7.0.gh.tar.gz 123649 BLAKE2B 
b15811993189521ae6b33bf46936316e562e6fd402cd5839d60f9c6b48ba46526781d5a13e113cd24a61ba586420f9d8a797084c66d9256faf5e1bd4aacacb72
 SHA512 
6f33ee7cc2f3473f76ffdeb28a485bc42c9cbde4bce9262d732238b56d846a21c87479f4cea01bc70b7ac950898446cfe57be533cc6d478debdee01175aa299c
+DIST hcloud-python-2.8.0.gh.tar.gz 133402 BLAKE2B 
a257b32d316935783ba71e46aecb233305b1a53dca994b44663f6ebcd144bfb317a26a4fa31387221595894c53e79f6f3dda6e27c59ea0e82bc68911176c275e
 SHA512 
41eaf73a0c28c542378acee8991f39b676888f9c3b86276880c9b778daa6fb05ceb15959e0d1e758e907de8a5a9e93c993da575582c4506b0f7abeeb2c5897d1

diff --git a/dev-python/hcloud/hcloud-2.8.0.ebuild 
b/dev-python/hcloud/hcloud-2.8.0.ebuild
new file mode 100644
index 000000000000..9c2cd55dbc9d
--- /dev/null
+++ b/dev-python/hcloud/hcloud-2.8.0.ebuild
@@ -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
+}

Reply via email to