1 |
commit: 04c5b3983cc0f3c5f930b2156859040db026a241 |
2 |
Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 25 18:19:15 2019 +0000 |
4 |
Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 25 22:08:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c5b398 |
7 |
|
8 |
dev-python/boto3: add new version 1.10.2 |
9 |
|
10 |
Cloned from 9999 ebuild verbatim. |
11 |
|
12 |
No new dependencies spotted. |
13 |
|
14 |
Package-Manager: Portage-2.3.66, Repoman-2.3.16 |
15 |
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org> |
16 |
|
17 |
dev-python/boto3/Manifest | 1 + |
18 |
dev-python/boto3/boto3-1.10.2.ebuild | 53 ++++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 54 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
22 |
index 75e53cb21ad..5a4d0c57886 100644 |
23 |
--- a/dev-python/boto3/Manifest |
24 |
+++ b/dev-python/boto3/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
+DIST boto3-1.10.2.tar.gz 272071 BLAKE2B 9c3b90ae751784946a84d0cf31ed0111526ed97b5be1fe5f256f725889f9819db632c6e6f217e3f01ebb0aa5594257a5bdaabd8dcc5f14ccb5bdd333b1c416c7 SHA512 37ea11f5ae9263aa5e97ce94f2834c987190ba2eac4a60bf9312bb643f1d204e48db7bef6ddc0d46ae124109ec6807589108b58f3024485de163fd8f83688b42 |
27 |
DIST boto3-1.9.122.tar.gz 258061 BLAKE2B 68903edd97e10693675e4c2fa77c2c54f2d3aab79307ee0a856f43aabe256f7782d027b0a23f433c593962c90f7364c26a87c27fe8770e67b5052e4ced73a9bc SHA512 31b8d8c2369b9076d825196d400c8a8b5579c38f87c7f41634eedbdaf6c2be01072018312e90e25d81b850c51f7c22a13fa565cd4e8b7672c238bad61e6a0810 |
28 |
DIST boto3-1.9.4.tar.gz 237313 BLAKE2B 20ab73dd02864b455a2bcc567b6303ef8b0503c4dd80efb442bf7ad8167329c938dcd41cbc61d4ab50fd02cbf8758c10aadb9b13d9c795330fe1faf9a1f7352b SHA512 7f0eb3b5537aed598d75a05474439819dee8c0030dd1eb685281e963ec465699ff9120394170f1ac7b53493de9b8702ec789863839eb3710ff3d60e2dfc1f1ac |
29 |
|
30 |
diff --git a/dev-python/boto3/boto3-1.10.2.ebuild b/dev-python/boto3/boto3-1.10.2.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..bb665fd73e2 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/boto3/boto3-1.10.2.ebuild |
35 |
@@ -0,0 +1,53 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+PYTHON_COMPAT=( python2_7 python3_5 python3_6 python3_7 ) |
41 |
+ |
42 |
+inherit distutils-r1 vcs-snapshot |
43 |
+ |
44 |
+DESCRIPTION="The AWS SDK for Python" |
45 |
+HOMEPAGE="https://github.com/boto/boto3" |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+IUSE="doc test" |
49 |
+ |
50 |
+if [[ "${PV}" == "9999" ]]; then |
51 |
+ EGIT_REPO_URI="https://github.com/boto/boto3" |
52 |
+ inherit git-r3 |
53 |
+else |
54 |
+ SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
55 |
+ KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
56 |
+fi |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ >=dev-python/botocore-1.12.4[${PYTHON_USEDEP}] |
60 |
+ dev-python/jmespath[${PYTHON_USEDEP}] |
61 |
+ dev-python/s3transfer[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+DEPEND=" |
64 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
65 |
+ doc? ( |
66 |
+ dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}] |
67 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+ test? ( |
70 |
+ ${RDEPEND} |
71 |
+ dev-python/mock[${PYTHON_USEDEP}] |
72 |
+ dev-python/nose[${PYTHON_USEDEP}] |
73 |
+ ) |
74 |
+" |
75 |
+ |
76 |
+python_compile_all() { |
77 |
+ use doc && emake -C docs html |
78 |
+} |
79 |
+ |
80 |
+python_test() { |
81 |
+ nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}" |
82 |
+} |
83 |
+ |
84 |
+python_install_all() { |
85 |
+ use doc && local HTML_DOCS=( docs/build/html/. ) |
86 |
+ |
87 |
+ distutils-r1_python_install_all |
88 |
+} |