diff options
| author | Michał Górny <mgorny@gentoo.org> | 2026-06-12 18:42:11 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2026-06-12 18:42:29 +0200 |
| commit | 89d36e810ca830ff54a70296d26632ba3ec0d8f1 (patch) | |
| tree | 7f25e95138ddc7c1daf055b0f4df4b4ecf8923e2 /dev-python/hcloud | |
| parent | 5c1159fb071b9079fc0fbf777ebc44a93dc2c36f (diff) | |
dev-python/hcloud: Bump to 2.21.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/hcloud')
| -rw-r--r-- | dev-python/hcloud/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hcloud/hcloud-2.21.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest index 1d31e06e7fac..f3ca39828b97 100644 --- a/dev-python/hcloud/Manifest +++ b/dev-python/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-python-2.20.0.gh.tar.gz 151611 BLAKE2B e4c713352523c773108fa3807dd0374bc60b006dd62790cebdc32fbeda50e01fadccd823cdcc5c35d312fae9c404e08d0cbe91f240a11cf057c782229c7e48cf SHA512 bdb2280fc68c3cae275689bdd40cbe9d9d6f680535040bb250a7beeacc01411815d841ddb2b55d42ebb0bef3c201b1a3626df8e605a21574d2a8d6f88634907a +DIST hcloud-python-2.21.0.gh.tar.gz 152096 BLAKE2B 4fdda2178958cb159f178ad4574e4c3b647008cef13fe1fe66543a4569664b3d9eeedb824adc29330fd02b50feef4c71a70f7674c83bd568adf05391f0d25498 SHA512 f4b5c6d1b53b0f4f31da607e84e4db98c1a23fe00e17631db3216e23dca1db8d2f1443b1da50dae346f63b4e5756113ce460bc7fb9e8d3f05c32ccb2ed59eae8 diff --git a/dev-python/hcloud/hcloud-2.21.0.ebuild b/dev-python/hcloud/hcloud-2.21.0.ebuild new file mode 100644 index 000000000000..b6564dff2e25 --- /dev/null +++ b/dev-python/hcloud/hcloud-2.21.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..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 +} |
