commit:     be59288d21db29daaa8efe3f70202092c95e0546
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 13 15:32:13 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 13 15:49:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be59288d

dev-python/hcloud: Bump to 1.30.0

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

 dev-python/hcloud/Manifest             |  1 +
 dev-python/hcloud/hcloud-1.30.0.ebuild | 49 ++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest
index 38376334ced5..0fe6f29673d9 100644
--- a/dev-python/hcloud/Manifest
+++ b/dev-python/hcloud/Manifest
@@ -1,3 +1,4 @@
 DIST hcloud-python-1.28.0.gh.tar.gz 106288 BLAKE2B 
4ffdb81e82b51b85b0d52a938a24400b477850e3442c2565515c7ebbaa9b425d729d0caa269da502b3c5b24e5e3475d5d6cd60e9a77a97c8e362087a4b11c01c
 SHA512 
fe720cf5b943f9535143f9389dc30e92ef295b7e5769b91e41ef979a5f6bbd059b42551818e7900e37213b530084eda51a54bad84a7ceb6e29f7f03d19bd4bbb
 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

diff --git a/dev-python/hcloud/hcloud-1.30.0.ebuild 
b/dev-python/hcloud/hcloud-1.30.0.ebuild
new file mode 100644
index 000000000000..498400383d05
--- /dev/null
+++ b/dev-python/hcloud/hcloud-1.30.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
+}

Reply via email to