1 |
commit: faa0a6472045728ac33567fbce9cdfe9efb10d38 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 17 06:32:37 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 17 07:03:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa0a647 |
7 |
|
8 |
dev-python/hcloud-python: Bump to 1.13.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/hcloud-python/Manifest | 1 + |
13 |
.../hcloud-python/hcloud-python-1.13.0.ebuild | 40 ++++++++++++++++++++++ |
14 |
2 files changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest |
17 |
index afbb3555998..80b05f397f3 100644 |
18 |
--- a/dev-python/hcloud-python/Manifest |
19 |
+++ b/dev-python/hcloud-python/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST hcloud-python-1.12.0.tar.gz 88905 BLAKE2B 1e24cfa208f02a1068b0016ac8948358a3709eb4a2c1f73d75d8e3ee85bee7265b0da6f5cfc58afefee664a024becc57dfa3389f36c4e7ae0c0ae623944e51a3 SHA512 fc431041d2bbae749d5335dda0c8ccf6abcb3fdd8e3a467b50a2ff45e70f9b7a8378bc2b72c00be7c65cc8cf84e01fde7965c6bb731b7252d7da377648bc01eb |
22 |
+DIST hcloud-python-1.13.0.tar.gz 89714 BLAKE2B 0d39d25c867e2433cec235b1ce101b3df8c5946cb4ccc7ffe658cb8a721eea5502f8fb2816491ac687a411a696c60ba4b1c602668385480d7a3645eb2a652c62 SHA512 4283b7b9be6add5ee6321645efc95b4bb77110417bff34327a533c416ee916c19511c35ef614fddbff184ee515fcf31bce740cdb6ad5c18ea7dd8e66c9760fc5 |
23 |
|
24 |
diff --git a/dev-python/hcloud-python/hcloud-python-1.13.0.ebuild b/dev-python/hcloud-python/hcloud-python-1.13.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..ca78be85c16 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/hcloud-python/hcloud-python-1.13.0.ebuild |
29 |
@@ -0,0 +1,40 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Official Hetzner Cloud python library" |
39 |
+HOMEPAGE="https://github.com/hetznercloud/hcloud-python" |
40 |
+SRC_URI="https://github.com/hetznercloud/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="doc examples" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ >=dev-python/future-0.17.1[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/requests-2.20[${PYTHON_USEDEP}]" |
51 |
+BDEPEND=" |
52 |
+ test? ( |
53 |
+ dev-python/mock[${PYTHON_USEDEP}] |
54 |
+ )" |
55 |
+ |
56 |
+distutils_enable_sphinx docs \ |
57 |
+ dev-python/sphinx_rtd_theme |
58 |
+distutils_enable_tests pytest |
59 |
+ |
60 |
+python_install_all() { |
61 |
+ use examples && dodoc -r examples |
62 |
+ distutils-r1_python_install_all |
63 |
+} |
64 |
+ |
65 |
+python_test() { |
66 |
+ # Integration tests need docker: |
67 |
+ # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 |
68 |
+ epytest --ignore tests/integration |
69 |
+} |