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