commit:     2b52b2db8e5af199e88ea65afbf3972bb22be934
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 10 01:45:17 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 10 01:45:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b52b2db

dev-python/hcloud: Bump to 2.5.4

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

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

diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest
index 8b525c235b23..ee800f1255f7 100644
--- a/dev-python/hcloud/Manifest
+++ b/dev-python/hcloud/Manifest
@@ -1 +1,2 @@
 DIST hcloud-python-2.5.3.gh.tar.gz 121515 BLAKE2B 
39294ffa2b7a5d10de5228f5d20bfb3b9298aee507c38e76470f0a12c95e9c05165e644b03c5ef2b5b3fd1e0a2fb268611dcd463dfa76c680ae12580925c7531
 SHA512 
6095762a0970f0bdea55f4453f47b6f5634d032e15a1148d0681c65c59a34c538fca45f2fa70acb4872f16a321f6c38bb7b4520f9c88165306cb2c29ba3dac7e
+DIST hcloud-python-2.5.4.gh.tar.gz 123092 BLAKE2B 
0b5f9ae2c7c3d67c902e2d8b4d8915512eb253742ec49472d35183e7560dd96fd8c877c302b3d207a9ffe9650fefa6981a49519ea3256d3e18cf0c483a5e83bc
 SHA512 
c824425e6d7be48b47fcc647a56c60bdfce18736fc4d0cfcc93f5a58e3b60f8cf1f28e892c27044c564eca7609c5c6a4a7d36070926be4104f012c422539a2a9

diff --git a/dev-python/hcloud/hcloud-2.5.4.ebuild 
b/dev-python/hcloud/hcloud-2.5.4.ebuild
new file mode 100644
index 000000000000..6752ad0aab91
--- /dev/null
+++ b/dev-python/hcloud/hcloud-2.5.4.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..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
+
+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