commit: e993112c5b4ada5b7b6682ae84294304c7c64269
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 13 05:34:40 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 13 06:04:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e993112c
dev-python/hcloud-python: Bump to 1.19.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/hcloud-python/Manifest | 1 +
.../hcloud-python/hcloud-python-1.19.0.ebuild | 45 ++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/dev-python/hcloud-python/Manifest
b/dev-python/hcloud-python/Manifest
index 64d4405e7714..86c2ad3a54d1 100644
--- a/dev-python/hcloud-python/Manifest
+++ b/dev-python/hcloud-python/Manifest
@@ -1 +1,2 @@
DIST hcloud-python-1.18.2.gh.tar.gz 98998 BLAKE2B
b4f8d3335c4589c8e5f453ed60299b222f002de1d8ae5ba95dcc35c6d4c4c4f649e6924037ed935651976fce06aa4ff61b893e3dcbdf745c6c1d9ff678b04dcd
SHA512
da71f5590514d45b630662b1bedf7907e5ba33a48617131615377724e1377a2776f979c00e50521c513052b4f540224439e048e2e1215973b76c55a8a20e1a45
+DIST hcloud-python-1.19.0.gh.tar.gz 99679 BLAKE2B
4b0e13e48f7f91a7cb123df22dcdb9a61685daa8ab51eaf893e6a5badfc2b5f5f5c6f963fa43a33ef01ca1914a222d51140383f55389235fd6ad26dbb096c3e3
SHA512
f3c7613f22f18048066ed32354b6b7fcfc7f1bfd0b8fc4c95add1824f9f403369dcc2a57bb7754d75e83ff6f6a4f9e65cafaa626fb39fce0a12cc1c9167f59fd
diff --git a/dev-python/hcloud-python/hcloud-python-1.19.0.ebuild
b/dev-python/hcloud-python/hcloud-python-1.19.0.ebuild
new file mode 100644
index 000000000000..714a87b98be1
--- /dev/null
+++ b/dev-python/hcloud-python/hcloud-python-1.19.0.ebuild
@@ -0,0 +1,45 @@
+# 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_{9..11} )
+inherit distutils-r1
+
+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/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+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/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
+}