summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-23 14:19:05 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-23 14:34:45 +0200
commit8b56a914921a430a636ff22d4014659d12fa9700 (patch)
tree7f131849fa93439e99b9b5380015a88da47a0d49 /dev-python/hcloud
parentdev-python/email-validator: Bump to 2.1.0_p1 (diff)
downloadgentoo-8b56a914921a430a636ff22d4014659d12fa9700.tar.gz
gentoo-8b56a914921a430a636ff22d4014659d12fa9700.tar.bz2
gentoo-8b56a914921a430a636ff22d4014659d12fa9700.zip
dev-python/hcloud: Bump to 1.31.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/hcloud')
-rw-r--r--dev-python/hcloud/Manifest1
-rw-r--r--dev-python/hcloud/hcloud-1.31.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest
index 0fe6f29673d9..5d29acb9f0ee 100644
--- a/dev-python/hcloud/Manifest
+++ b/dev-python/hcloud/Manifest
@@ -2,3 +2,4 @@ DIST hcloud-python-1.28.0.gh.tar.gz 106288 BLAKE2B 4ffdb81e82b51b85b0d52a938a244
DIST hcloud-python-1.29.0.gh.tar.gz 108189 BLAKE2B 1344211e7d0c30ee3b25cc4b91e2cbd135260b7edab89e25f13259fb282f461c4abafd8ddf623aba5cb01c58b06389ce5fa84600cdeb1557649717339325c09c SHA512 550b7b3703d5ddb6805a82772bd8edc03c4bf28017e7dc8dd06386ef9606a15c328f53bc2887c0800ee8c2f305063c86aa435c05efc7b2b0ba237bba25a8aeeb
DIST hcloud-python-1.29.1.gh.tar.gz 108389 BLAKE2B edbbbeb0026c44fa2f6fbc4462aea75b1b3ce40922dfde4f66bd39e0cd2cf4cf3a45901e39c05b934cc36d30899e96bbedb9b971d200cf1c12b46cdb36645cdd SHA512 0bec39b035f7c8be236f97d43ab7c28f753025428b52c1df4da13030d07a2e6b493fb068bcae243987b03c0fb9868c83ec6fd650deb76585189f8edd64bc13c1
DIST hcloud-python-1.30.0.gh.tar.gz 108965 BLAKE2B b078310dcab67b37744ab285fe3c3207956f778de9c85fb64cbf4777250b3852a7bb19a6e2498a19bc1027a7b5edebc3aa0011192edf057ce1a1591e610387ef SHA512 459fdeff833a86c9c6869e06eac5b96250d2f0c9d1ebf55053c278ae8417af04611d4bb7bd89a757f75e5bc7303e13e235ba57496efcc59f63c38cf48fb87d82
+DIST hcloud-python-1.31.0.gh.tar.gz 109239 BLAKE2B 26a58fe75386f98403afd6f13c55768fa676d130243c9c8ef70c0c6310e2ec76235eadc50122b2ce203f190244e0d36f4d7b05e07c2e8fbe5707120634e1ef6c SHA512 be3d3e643e970390faae6d3da9e75b754d167398a7a6d04f06a4dea1bc79c160a39184365019ed1f8c7242a85f5deb9d43d8923cc1907861d38089fe8835ed62
diff --git a/dev-python/hcloud/hcloud-1.31.0.ebuild b/dev-python/hcloud/hcloud-1.31.0.ebuild
new file mode 100644
index 000000000000..498400383d05
--- /dev/null
+++ b/dev-python/hcloud/hcloud-1.31.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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
+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
+}