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/boto/
Date: Wed, 29 Apr 2020 17:33:25
Message-Id: 1588181594.5a736b8f57e01d58e28a3dd05b55939a7d61a298.chutzpah@gentoo
1 commit: 5a736b8f57e01d58e28a3dd05b55939a7d61a298
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Wed Apr 29 17:27:57 2020 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 29 17:33:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a736b8f
7
8 dev-python/boto-2.49.0-r1: revbump, modernize a bit, py38
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 dev-python/boto/boto-2.49.0-r1.ebuild | 29 +++++++++++++++++++++++++++++
15 1 file changed, 29 insertions(+)
16
17 diff --git a/dev-python/boto/boto-2.49.0-r1.ebuild b/dev-python/boto/boto-2.49.0-r1.ebuild
18 new file mode 100644
19 index 00000000000..7bc0f11b0fa
20 --- /dev/null
21 +++ b/dev-python/boto/boto-2.49.0-r1.ebuild
22 @@ -0,0 +1,29 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +PYTHON_COMPAT=( python3_{6,7,8} )
28 +DISTUTILS_USE_SETUPTOOLS=bdepend
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Amazon Web Services API"
32 +HOMEPAGE="https://github.com/boto/boto https://pypi.org/project/boto/"
33 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
38 +IUSE="test"
39 +
40 +BDEPEND="
41 + test? ( dev-python/nose[${PYTHON_USEDEP}] )
42 +"
43 +
44 +RESTRICT="!test? ( test )"
45 +
46 +# requires Amazon Web Services keys to pass some tests
47 +RESTRICT+=" test"
48 +
49 +python_test() {
50 + "${PYTHON}" tests/test.py -v || die "Tests fail with ${EPYTHON}"
51 +}