commit:     9a186bc4905e70f49955e0bf121920bb03097dcd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 17 07:04:37 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 17 07:28:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a186bc4

dev-python/hcloud-python: Bump to 1.15.0

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

 dev-python/hcloud-python/Manifest                  |  1 +
 .../hcloud-python/hcloud-python-1.15.0.ebuild      | 40 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/hcloud-python/Manifest 
b/dev-python/hcloud-python/Manifest
index fad39865060..d7a8d1e4874 100644
--- a/dev-python/hcloud-python/Manifest
+++ b/dev-python/hcloud-python/Manifest
@@ -1,3 +1,4 @@
 DIST hcloud-python-1.12.0.tar.gz 88905 BLAKE2B 
1e24cfa208f02a1068b0016ac8948358a3709eb4a2c1f73d75d8e3ee85bee7265b0da6f5cfc58afefee664a024becc57dfa3389f36c4e7ae0c0ae623944e51a3
 SHA512 
fc431041d2bbae749d5335dda0c8ccf6abcb3fdd8e3a467b50a2ff45e70f9b7a8378bc2b72c00be7c65cc8cf84e01fde7965c6bb731b7252d7da377648bc01eb
 DIST hcloud-python-1.13.0.tar.gz 89714 BLAKE2B 
0d39d25c867e2433cec235b1ce101b3df8c5946cb4ccc7ffe658cb8a721eea5502f8fb2816491ac687a411a696c60ba4b1c602668385480d7a3645eb2a652c62
 SHA512 
4283b7b9be6add5ee6321645efc95b4bb77110417bff34327a533c416ee916c19511c35ef614fddbff184ee515fcf31bce740cdb6ad5c18ea7dd8e66c9760fc5
 DIST hcloud-python-1.14.1.tar.gz 89865 BLAKE2B 
962c24488681ed31d91d2f94b589de2c6192f3397831b482e3f0939224705344671467708266f1ce9ddf2ba767a0eaccaf4ac7516e1a9e27b5a5331fb009ab5c
 SHA512 
bc4fdae97daf41ec8b84bf4069c07d75674b5bab8e74861a28e124343135e6c90fbdef232c6950d612778ffb9ba194bc9bd1a432df2336664e9fef87e28f9210
+DIST hcloud-python-1.15.0.tar.gz 93265 BLAKE2B 
851e2eebccd13a2c64902094f0012f018872ba78648abc98b049cc60c66283081db0e39e13b94f98eaa521c1b07df0b5f8f6f7beaaa463cb0d823319b2d94c7f
 SHA512 
26feafdaf6f08bdc451394165442035dc61473e69c466cad8e1308dbebf220c7d6a6b719b539ccbab1a2db00526f875e037762d3656a38a1eb114a953b3e2f10

diff --git a/dev-python/hcloud-python/hcloud-python-1.15.0.ebuild 
b/dev-python/hcloud-python/hcloud-python-1.15.0.ebuild
new file mode 100644
index 00000000000..ca78be85c16
--- /dev/null
+++ b/dev-python/hcloud-python/hcloud-python-1.15.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+inherit distutils-r1
+
+DESCRIPTION="Official Hetzner Cloud python library"
+HOMEPAGE="https://github.com/hetznercloud/hcloud-python";
+SRC_URI="https://github.com/hetznercloud/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples"
+
+RDEPEND="
+       >=dev-python/future-0.17.1[${PYTHON_USEDEP}]
+       >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.20[${PYTHON_USEDEP}]"
+BDEPEND="
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+       )"
+
+distutils_enable_sphinx docs \
+       dev-python/sphinx_rtd_theme
+distutils_enable_tests pytest
+
+python_install_all() {
+       use examples && dodoc -r examples
+       distutils-r1_python_install_all
+}
+
+python_test() {
+       # Integration tests need docker:
+       # 
https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16
+       epytest --ignore tests/integration
+}

Reply via email to