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: Mon, 02 Sep 2019 11:52:16
Message-Id: 1567425122.eccbc99756d04e4b7908c1ccd05b41094e6ebd1a.ago@gentoo
1 commit: eccbc99756d04e4b7908c1ccd05b41094e6ebd1a
2 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 2 11:52:02 2019 +0000
4 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 2 11:52:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eccbc997
7
8 dev-python/hcloud-python: Version bump to 1.4.1
9
10 Package-Manager: Portage-2.3.69, 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.4.1.ebuild | 38 ++++++++++++++++++++++
15 2 files changed, 39 insertions(+)
16
17 diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest
18 index ad81d6cdb6c..d1c0278990f 100644
19 --- a/dev-python/hcloud-python/Manifest
20 +++ b/dev-python/hcloud-python/Manifest
21 @@ -1,2 +1,3 @@
22 DIST hcloud-python-1.2.1.tar.gz 63592 BLAKE2B 9a6d2dae97ff405ebd9b92bc833c9d953c13840e68be4eb43fed375a60e55cf4bf9b4b742b26fb03401f631b7f7127815961861cb673adf4839c829141c8ed00 SHA512 cb70d190350457fc3c6e474bc6c943070102762595dac2f386041956f64255f390a928a2f2411be861645cd65b015ab9e0c931b36aeed0076b06d9f67ac72d1c
23 DIST hcloud-python-1.3.0.tar.gz 71208 BLAKE2B 1a074f64aaff87991ef5c565bb8976184a1f5ca54c0d2fe19ac3dc4f8425d3a2d92ef13cbcec7ecbfb8958572ab5561953098cf0ed9f141ba43c3eb0a90ffc10 SHA512 6dfff2301ad91db3c79fc8f68a05b5a886f86824a34f044d14a6a35771d23fdba9764055c797d11f404cccf3ae6338af940e4814113859d7809733629d7c2659
24 +DIST hcloud-python-1.4.1.tar.gz 71379 BLAKE2B 8f6f0a4e23dd3b99bd4375644ebdd161fb0c305773ccf10992fdcc05cefa37ad58e33eb0516eccd377ebb642749f5014ed5baad4d37f3eea91cece7eeaac0c56 SHA512 3eff15d6b46caa2b46f398f26efc1f986af0818253888ee42c97652f5d0369738558eea57e6ca934c4f7e88fea379f5a0e9e671908717f07cf32ec74d8415d42
25
26 diff --git a/dev-python/hcloud-python/hcloud-python-1.4.1.ebuild b/dev-python/hcloud-python/hcloud-python-1.4.1.ebuild
27 new file mode 100644
28 index 00000000000..12cb839f08d
29 --- /dev/null
30 +++ b/dev-python/hcloud-python/hcloud-python-1.4.1.ebuild
31 @@ -0,0 +1,38 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Official Hetzner Cloud python library"
42 +HOMEPAGE="https://github.com/hetznercloud/hcloud-python"
43 +SRC_URI="https://github.com/hetznercloud/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="doc examples"
49 +
50 +COMMON_DEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
51 + >=dev-python/requests-2.20[${PYTHON_USEDEP}]
52 + <dev-python/requests-2.23[${PYTHON_USEDEP}]"
53 +
54 +DEPEND="${COMMON_DEPEND}
55 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
56 +
57 +RDEPEND="${COMMON_DEPEND}
58 + dev-python/future[${PYTHON_USEDEP}]"
59 +
60 +python_compile_all() {
61 + use doc && emake -C docs html
62 +}
63 +
64 +python_install_all() {
65 + use examples && dodoc -r examples
66 + use doc && local HTML_DOCS=( docs/_build/html/. )
67 +
68 + distutils-r1_python_install_all
69 +}