Gentoo Archives: gentoo-commits

From: Agostino Sarubbo <ago@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hcloud-python/
Date: Sat, 11 Jan 2020 13:56:42
Message-Id: 1578750989.4b21181dfbdcb599b6293a74daf59ee08491a057.ago@gentoo
1 commit: 4b21181dfbdcb599b6293a74daf59ee08491a057
2 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 11 13:56:29 2020 +0000
4 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 11 13:56:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b21181d
7
8 dev-python/hcloud-python: version bump to 1.6.3
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
12
13 dev-python/hcloud-python/Manifest | 1 +
14 .../hcloud-python/hcloud-python-1.6.3.ebuild | 40 ++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest
18 index 32b4c2880af..4200f6a3ea9 100644
19 --- a/dev-python/hcloud-python/Manifest
20 +++ b/dev-python/hcloud-python/Manifest
21 @@ -1,3 +1,4 @@
22 DIST hcloud-python-1.2.1.tar.gz 63592 BLAKE2B 9a6d2dae97ff405ebd9b92bc833c9d953c13840e68be4eb43fed375a60e55cf4bf9b4b742b26fb03401f631b7f7127815961861cb673adf4839c829141c8ed00 SHA512 cb70d190350457fc3c6e474bc6c943070102762595dac2f386041956f64255f390a928a2f2411be861645cd65b015ab9e0c931b36aeed0076b06d9f67ac72d1c
23 DIST hcloud-python-1.6.1.tar.gz 71866 BLAKE2B 0a1d37d4dc8be4e28595385ec7622ec65367c40f9cdd455e03827a5ee2983f43026b1dbb7e9bd20d241ed9a4748015d33bdcb53b15ce148c401984960e158716 SHA512 0b2ecaa311b4dac44b3122a45a38f76f8377bc189b1550f21327ea3f56fefad624ea6809c4abd6bbaf5c8fc23dfa5e6edd352dcbbcfae6c87af897ff376ce2cf
24 DIST hcloud-python-1.6.2.tar.gz 71887 BLAKE2B 2c423b0b83cc8c7bd5f0d4ef7db59516f125ff975e8cb82f38b340a0f448c20dd374a1edc7a486d18af3d438722b77f32f4ab6191966e3ada13f437f2d8a29a4 SHA512 ae2da263a038add593c7e302057d6e5e34258f180bddf67fc23edcc8c287c67d91aa190efeb1190af2596017b8964f4623d9cc03c4f1788c71c7d251f2a5422d
25 +DIST hcloud-python-1.6.3.tar.gz 71575 BLAKE2B a6c969d713d1351bba0cebef8752abbbf0805b4a39eedc918767ccf60d590ac8259e1405a25c2c563923146d52ae1318d6362cbaee311bfe04bea5afcc18951b SHA512 dec3f16197de9f02c2707601e1cad40289d3ccbd6256887da50b84fb8fe6b0fb98f708c9ba0cfc2ff1308a53b9997cfda579df3ec79a1d28686a3c43f4124e74
26
27 diff --git a/dev-python/hcloud-python/hcloud-python-1.6.3.ebuild b/dev-python/hcloud-python/hcloud-python-1.6.3.ebuild
28 new file mode 100644
29 index 00000000000..e1e37a93f17
30 --- /dev/null
31 +++ b/dev-python/hcloud-python/hcloud-python-1.6.3.ebuild
32 @@ -0,0 +1,40 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_{6,7} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Official Hetzner Cloud python library"
43 +HOMEPAGE="https://github.com/hetznercloud/hcloud-python"
44 +SRC_URI="https://github.com/hetznercloud/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64"
49 +IUSE="doc examples"
50 +
51 +COMMON_DEPEND=">=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
52 + <dev-python/python-dateutil-2.9[${PYTHON_USEDEP}]
53 + >=dev-python/requests-2.20[${PYTHON_USEDEP}]
54 + <dev-python/requests-2.23[${PYTHON_USEDEP}]"
55 +
56 +DEPEND="${COMMON_DEPEND}
57 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
58 +
59 +RDEPEND="${COMMON_DEPEND}
60 + >=dev-python/future-0.17.1[${PYTHON_USEDEP}]
61 + <dev-python/future-0.19[${PYTHON_USEDEP}]"
62 +
63 +python_compile_all() {
64 + use doc && emake -C docs html
65 +}
66 +
67 +python_install_all() {
68 + use examples && dodoc -r examples
69 + use doc && local HTML_DOCS=( docs/_build/html/. )
70 +
71 + distutils-r1_python_install_all
72 +}