diff options
Diffstat (limited to 'dev-python/hcloud')
| -rw-r--r-- | dev-python/hcloud/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hcloud/hcloud-2.22.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest index f3ca39828b97..6819ba381d4f 100644 --- a/dev-python/hcloud/Manifest +++ b/dev-python/hcloud/Manifest @@ -1,2 +1,3 @@ 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 +DIST hcloud-python-2.22.0.gh.tar.gz 152735 BLAKE2B 65f255dcc47470050e5619dd6335f83664789d88c4a5d9e5f6c3cff6c6f25f8f881b2ed23d01e426b331f1cda8d5610c870c46b01467fc642b87e46427f7eec0 SHA512 4706147405fe50c5db44ab181607c660bf71faf595f75229a46cc00ed4a9fbcf70a86e91b104e86fcacb54ef8d0804d33919a65db299da57b0cf660e04ebb7f6 diff --git a/dev-python/hcloud/hcloud-2.22.0.ebuild b/dev-python/hcloud/hcloud-2.22.0.ebuild new file mode 100644 index 000000000000..9b729306ac26 --- /dev/null +++ b/dev-python/hcloud/hcloud-2.22.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_{13..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 +} |
