commit:     2d3cf2d1160302ac8e5fed43b0931dadc63af19f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 13 04:18:16 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 13 04:46:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3cf2d1

dev-python/hcloud-python: Bump to 1.20.0

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

 dev-python/hcloud-python/Manifest                  |  1 +
 .../hcloud-python/hcloud-python-1.20.0.ebuild      | 45 ++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/hcloud-python/Manifest 
b/dev-python/hcloud-python/Manifest
index 86c2ad3a54d1..1aa629fb282f 100644
--- a/dev-python/hcloud-python/Manifest
+++ b/dev-python/hcloud-python/Manifest
@@ -1,2 +1,3 @@
 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
+DIST hcloud-python-1.20.0.gh.tar.gz 100107 BLAKE2B 
584e1399ddb1c5d1e5ad0beaf795609bb63d37457afe33c663cf303f8b20e2c6f6b3ff294007e9f4ae2d9aa833794e59516ad167f1dd51d14e692f6eab887881
 SHA512 
b17abc716ae6f7c78803096f2fd887e47ee746fccbe299cc434b7f445abdd7818e445d186f5adacc715971e2ebe2e92551cdb08aa1891ed58d8f443ea3be61fb

diff --git a/dev-python/hcloud-python/hcloud-python-1.20.0.ebuild 
b/dev-python/hcloud-python/hcloud-python-1.20.0.ebuild
new file mode 100644
index 000000000000..714a87b98be1
--- /dev/null
+++ b/dev-python/hcloud-python/hcloud-python-1.20.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
+}

Reply via email to