Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libcloud/
Date: Tue, 28 Apr 2020 22:53:45
Message-Id: 1588114410.e76ddb2d8d79d3c80093540ec838a2cc5cc80276.chutzpah@gentoo
1 commit: e76ddb2d8d79d3c80093540ec838a2cc5cc80276
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Tue Apr 28 22:42:33 2020 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 28 22:53:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e76ddb2d
7
8 dev-python/libcloud-2.8.2: Version bump, add py37, py38 (bug #719044)
9
10 Closes: https://bugs.gentoo.org/719044
11 Copyright: Sony Interactive Entertainment Inc.
12 Package-Manager: Portage-2.3.99, Repoman-2.3.22
13 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
14
15 dev-python/libcloud/Manifest | 1 +
16 dev-python/libcloud/libcloud-2.8.2.ebuild | 50 +++++++++++++++++++++++++++++++
17 2 files changed, 51 insertions(+)
18
19 diff --git a/dev-python/libcloud/Manifest b/dev-python/libcloud/Manifest
20 index 40018b9779f..d3c6b61c949 100644
21 --- a/dev-python/libcloud/Manifest
22 +++ b/dev-python/libcloud/Manifest
23 @@ -1 +1,2 @@
24 DIST apache-libcloud-2.3.0.tar.bz2 1370556 BLAKE2B 14c6604d190d63f9049de2034b487cd7bb314add399339cac7a46dcbfea339497ede0d8058fd29dab43d53a45637fc5e60c71a5079fff6f45ed5023721eb68f2 SHA512 673c5b7b12f4510f2b43ea8199fab1e3f7ded62423d7d67301f5e3448c78750bc898c494a33d033844acf94bc292582371e9ac02ce1db6f4443a3966ef9fd0e8
25 +DIST apache-libcloud-2.8.2.tar.bz2 1559425 BLAKE2B 86baff68dae874ee9569646ac24831858784d8323dcbff5036ed0f26afdd47d859b68592d74084844f4b7d232c25f7a99d84fddbfcba54df6939f426203e59ff SHA512 9834cd54df11a27876bdc70c85e7d9e3063cd2639d9f19ccd17ec7841fc0e8db6fbc2d562320656a7db4edbe5a940e8562c929a21203757fabe78a4b48d89367
26
27 diff --git a/dev-python/libcloud/libcloud-2.8.2.ebuild b/dev-python/libcloud/libcloud-2.8.2.ebuild
28 new file mode 100644
29 index 00000000000..b8b53b82c69
30 --- /dev/null
31 +++ b/dev-python/libcloud/libcloud-2.8.2.ebuild
32 @@ -0,0 +1,50 @@
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,8} )
39 +PYTHON_REQ_USE="ssl(+)"
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Unified Interface to the Cloud - python support libs"
44 +HOMEPAGE="https://libcloud.apache.org/"
45 +SRC_URI="mirror://apache/${PN}/apache-${P}.tar.bz2"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="examples test"
51 +
52 +RDEPEND="
53 + >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
54 +
55 +"
56 +BDEPEND="${RDEPEND}
57 + test? (
58 + dev-python/lockfile[${PYTHON_USEDEP}]
59 + dev-python/requests-mock[${PYTHON_USEDEP}]
60 + >=dev-python/cryptography-2.6.1[${PYTHON_USEDEP}]
61 + )"
62 +
63 +S="${WORKDIR}/apache-${P}"
64 +
65 +distutils_enable_tests pytest
66 +
67 +python_prepare_all() {
68 + if use examples; then
69 + mkdir examples || die
70 + mv example_*.py examples || die
71 + fi
72 +
73 + # needed for tests
74 + cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die
75 +
76 + distutils-r1_python_prepare_all
77 +}
78 +
79 +python_install_all() {
80 + use examples && dodoc -r examples
81 + distutils-r1_python_install_all
82 +}