1 |
commit: be2ff53a2aec1548130a734bddc3c71e0e4856c4 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 3 01:12:50 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 3 02:07:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be2ff53a |
7 |
|
8 |
dev-python/libcloud: Bump to v1.5.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-python/libcloud/Manifest | 1 + |
13 |
dev-python/libcloud/libcloud-1.5.0.ebuild | 54 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/libcloud/Manifest b/dev-python/libcloud/Manifest |
17 |
index 3ec96368b8a..7ec75e74f37 100644 |
18 |
--- a/dev-python/libcloud/Manifest |
19 |
+++ b/dev-python/libcloud/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST apache-libcloud-0.15.1.tar.bz2 570953 BLAKE2B 1baca706ac57d76baf4f83824ea0fccaccec51f38114a0103777e2965e67ad9cd96ad46459841ea702d72f8f0c3ce166037714d04f91c1f2369ddf6f455ffa63 SHA512 0cbc02c955cb91e135d73a5198ad216d0f91fa942b88dd1ffc1c46a487190f45500f003d2825cdb4f6c96c4ca7e5cf2681709769b0c2d8801b08e5a41b3d69b0 |
22 |
DIST apache-libcloud-1.2.1.tar.bz2 992983 BLAKE2B e3caccd2814f3b25fa96fbc21972fb3694a6f5e55663564f712b98b64a60e577baf1da0295b914fef2440a461f6fa16f313e83bde252360ac6786995527afc04 SHA512 12e239f286d8eb523597488998582be02d6e8cd4e21a8fa7c639c829ba622833e4292ac4cd7cbc8b94670e19ec1711cb0032bc72433f421bf2ba2b8c70dcd954 |
23 |
+DIST apache-libcloud-1.5.0.tar.bz2 1258553 BLAKE2B 9cad0f61ab8505deea99c15022da92caf24295480d16bedf9c735c1117a055c94162cdcb331734c572f375de3ba10b499d5ed46a5a11f1e634d272e69748ef79 SHA512 91c10d164f56c9f75c6e5633802c3cf31046ab7a3ae554b73310b1da2d882ac1f8e90aaf3462db57ac0949dfd66cb840ec8fc6e6b79c46128668f13183d47b30 |
24 |
|
25 |
diff --git a/dev-python/libcloud/libcloud-1.5.0.ebuild b/dev-python/libcloud/libcloud-1.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..414bc3b2bb6 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/libcloud/libcloud-1.5.0.ebuild |
30 |
@@ -0,0 +1,54 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+# py3 dropped due to failing tests once lockfile installed |
37 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) |
38 |
+PYTHON_REQ_USE="ssl(+)" |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Unified Interface to the Cloud - python support libs" |
43 |
+HOMEPAGE="https://libcloud.apache.org/" |
44 |
+SRC_URI="mirror://apache/${PN}/apache-${P}.tar.bz2" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="examples test" |
50 |
+ |
51 |
+RDEPEND="" |
52 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ test? ( |
54 |
+ dev-python/mock[${PYTHON_USEDEP}] |
55 |
+ dev-python/lockfile[${PYTHON_USEDEP}] |
56 |
+ $(python_gen_cond_dep 'dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]' python{2_7,3_4} pypy) |
57 |
+ )" |
58 |
+ |
59 |
+# Known test failures |
60 |
+RESTRICT="test" |
61 |
+ |
62 |
+S="${WORKDIR}/apache-${P}" |
63 |
+ |
64 |
+python_prepare_all() { |
65 |
+ if use examples; then |
66 |
+ mkdir examples |
67 |
+ mv example_*.py examples || die |
68 |
+ fi |
69 |
+ distutils-r1_python_prepare_all |
70 |
+} |
71 |
+ |
72 |
+src_test() { |
73 |
+ cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die |
74 |
+ distutils-r1_src_test |
75 |
+} |
76 |
+ |
77 |
+python_test() { |
78 |
+ esetup.py test |
79 |
+} |
80 |
+ |
81 |
+python_install_all() { |
82 |
+ use examples && local EXAMPLES=( examples/. ) |
83 |
+ distutils-r1_python_install_all |
84 |
+} |