Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bandit/
Date: Mon, 28 Jan 2019 19:13:41
Message-Id: 1548635126.506744ce24efa73c92cae47dd0a1c41c5c10abaf.prometheanfire@gentoo
1 commit: 506744ce24efa73c92cae47dd0a1c41c5c10abaf
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 27 23:41:06 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 28 00:25:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=506744ce
7
8 dev-python/bandit: add py37 support
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 dev-python/bandit/Manifest | 1 +
14 dev-python/bandit/bandit-1.4.0.ebuild | 2 +-
15 dev-python/bandit/bandit-1.5.1.ebuild | 46 +++++++++++++++++++++++++++++++++++
16 3 files changed, 48 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-python/bandit/Manifest b/dev-python/bandit/Manifest
19 index a4bd1693e21..079e059ff89 100644
20 --- a/dev-python/bandit/Manifest
21 +++ b/dev-python/bandit/Manifest
22 @@ -4,3 +4,4 @@ DIST bandit-1.1.0.tar.gz 135333 BLAKE2B 828356ddff316879c0d7a308b0e1545a20ddeb83
23 DIST bandit-1.2.0.tar.gz 138040 BLAKE2B d2eb2d36fa80f7e2873454ceb043ae2aad5a7df09f250f0f5d5b13852ce38e848e5ea34f93df647ccec125c847b2184cfbb3dc72f20228d808364f1c09312fac SHA512 f2119bb7b920ca7b4254fed433ee0e41bbbde51a45cd88283fac1a9ac8f60ce621fffecca676bdb8db7ea5cb925851e50176014405425c30b5991e17f57f294a
24 DIST bandit-1.3.0.tar.gz 139075 BLAKE2B 870481b4ef9932ce9bae2e6563cd7007d5f2afe3abf2b4e03b3da5f8c719c6792f1dc0a9f9c252b922324ef8369d4265f0b81426a6db67ce52595dedcb5f1042 SHA512 24341cc837fa6a8bb095c7fdc684a81b3c06834b408c6328c6b3425d5cc5c63dcb119cadf54c8cea302a108923638839626f1f8c6d401ce66cd112a776a8363f
25 DIST bandit-1.4.0.tar.gz 138019 BLAKE2B 1a7aee62aa44fca533d02bdb6e5d44fe136038b9ee8ab462d6af6af84a4111ae341bd791b142d5e090e90f639cd5968419b2a9fa3b51e664dda971af13d52959 SHA512 e5ae412e3b13c89f8c4a85d318b0504c2d5b9aa4ca81652266a13d96f859705c2d0112dc534373cd7fd1020790369e3fe6b55da57773fa7821e663c37fe98817
26 +DIST bandit-1.5.1.tar.gz 480856 BLAKE2B f8a1a7dc1d93a1b6c8d3eb5bcbecda895b29dfebe055ac358b9437bd0c9ab5562e6d25a658bc2092cff6bddfd0245e71bf39ee88b2718e3a0c7376fa50293ae1 SHA512 e6f596e73af45ca2ff4d200fad63d37adf44efd5de52f8061f5a349b66457a39eb442ad442d5fb57b2e0e98c8bae0eb0879b958ff619b4e26c0183bc8b928e36
27
28 diff --git a/dev-python/bandit/bandit-1.4.0.ebuild b/dev-python/bandit/bandit-1.4.0.ebuild
29 index a15457cb08f..0b4564fb701 100644
30 --- a/dev-python/bandit/bandit-1.4.0.ebuild
31 +++ b/dev-python/bandit/bandit-1.4.0.ebuild
32 @@ -3,7 +3,7 @@
33
34 EAPI=6
35
36 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
37 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
38
39 inherit distutils-r1
40
41
42 diff --git a/dev-python/bandit/bandit-1.5.1.ebuild b/dev-python/bandit/bandit-1.5.1.ebuild
43 new file mode 100644
44 index 00000000000..2057f9a8a93
45 --- /dev/null
46 +++ b/dev-python/bandit/bandit-1.5.1.ebuild
47 @@ -0,0 +1,46 @@
48 +# Copyright 1999-2019 Gentoo Authors
49 +# Distributed under the terms of the GNU General Public License v2
50 +
51 +EAPI=6
52 +
53 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
54 +
55 +inherit distutils-r1
56 +
57 +DESCRIPTION="A security linter from OpenStack Security"
58 +HOMEPAGE="https://openstack.org"
59 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
60 +
61 +LICENSE="Apache-2.0"
62 +SLOT="0"
63 +KEYWORDS="~amd64 ~arm64 ~s390 ~x86"
64 +IUSE="test"
65 +
66 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]"
67 +DEPEND="
68 + dev-python/setuptools[${PYTHON_USEDEP}]
69 + ${CDEPEND}
70 + test? (
71 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
72 + !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
73 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
74 + >=dev-python/hacking-1.0.0[${PYTHON_USEDEP}]
75 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
76 + >=dev-python/stestr-1.0.0
77 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
78 + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
79 + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
80 + >=dev-python/beautifulsoup-4.6.0[${PYTHON_USEDEP}]
81 + >=dev-python/pylint-1.4.5[${PYTHON_USEDEP}]
82 + )"
83 +RDEPEND="
84 + ${CDEPEND}
85 + >=dev-python/git-python-1.0.1[${PYTHON_USEDEP}]
86 + >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}]
87 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
88 + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]"
89 +
90 +python_test() {
91 + stestr init
92 + stestr run || die
93 +}