From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 805FC138350 for ; Mon, 24 Feb 2020 16:52:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CF4CE090E; Mon, 24 Feb 2020 16:52:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 74A2AE090E for ; Mon, 24 Feb 2020 16:52:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A0D2D34F1AB for ; Mon, 24 Feb 2020 16:52:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1D5D108 for ; Mon, 24 Feb 2020 16:52:24 +0000 (UTC) From: "Matthew Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" Message-ID: <1582563115.e821261fcef40fe30b83943abc7eca8bf3f7c8f7.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bandit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/bandit/Manifest dev-python/bandit/bandit-1.6.2.ebuild dev-python/bandit/metadata.xml X-VCS-Directories: dev-python/bandit/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matthew Thode X-VCS-Revision: e821261fcef40fe30b83943abc7eca8bf3f7c8f7 X-VCS-Branch: master Date: Mon, 24 Feb 2020 16:52:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7edd4885-f56c-4f83-9ffa-592b25ec9982 X-Archives-Hash: 66851bdf9f95a08f46c94377c8d5db2a commit: e821261fcef40fe30b83943abc7eca8bf3f7c8f7 Author: Matthew Thode gentoo org> AuthorDate: Mon Feb 24 16:51:55 2020 +0000 Commit: Matthew Thode gentoo org> CommitDate: Mon Feb 24 16:51:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e821261f dev-python/bandit: 1.6.2 bump Closes: https://bugs.gentoo.org/710506 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Matthew Thode gentoo.org> dev-python/bandit/Manifest | 1 + dev-python/bandit/bandit-1.6.2.ebuild | 47 +++++++++++++++++++++++++++++++++++ dev-python/bandit/metadata.xml | 2 +- 3 files changed, 49 insertions(+), 1 deletion(-) diff --git a/dev-python/bandit/Manifest b/dev-python/bandit/Manifest index 87999002a9f..f124e1c0046 100644 --- a/dev-python/bandit/Manifest +++ b/dev-python/bandit/Manifest @@ -1 +1,2 @@ DIST bandit-1.5.1.tar.gz 480856 BLAKE2B f8a1a7dc1d93a1b6c8d3eb5bcbecda895b29dfebe055ac358b9437bd0c9ab5562e6d25a658bc2092cff6bddfd0245e71bf39ee88b2718e3a0c7376fa50293ae1 SHA512 e6f596e73af45ca2ff4d200fad63d37adf44efd5de52f8061f5a349b66457a39eb442ad442d5fb57b2e0e98c8bae0eb0879b958ff619b4e26c0183bc8b928e36 +DIST bandit-1.6.2.tar.gz 498567 BLAKE2B ab7885df634ff8258fc7620523b56995cb2f262f4290193a9063e216f66ba8ecb31ec17f09d0b72a0472923266953c46e47e74fcdfb39784873738c033e00c6c SHA512 9facce98411ceb9e33e5a978ca4aad2dab541ffe215e480806ac921b7f7067572445d8e32e8d473ef30bb57155b72b2ffd4e06d458a3da82e2a9fb1b1d8a4b9f diff --git a/dev-python/bandit/bandit-1.6.2.ebuild b/dev-python/bandit/bandit-1.6.2.ebuild new file mode 100644 index 00000000000..3f077f18a76 --- /dev/null +++ b/dev-python/bandit/bandit-1.6.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A security linter from OpenStack Security" +HOMEPAGE="https://github.com/PyCQA/bandit" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~s390 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + test? ( + >=dev-python/coverage-4.0[${PYTHON_USEDEP}] + !~dev-python/coverage-4.4[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/hacking-1.0.0[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/stestr-1.0.0 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/beautifulsoup-4.6.0[${PYTHON_USEDEP}] + >=dev-python/pylint-1.4.5[${PYTHON_USEDEP}] + )" +RDEPEND=" + ${CDEPEND} + >=dev-python/git-python-1.0.1[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13.0[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]" + +python_test() { + stestr init + stestr run || die +} diff --git a/dev-python/bandit/metadata.xml b/dev-python/bandit/metadata.xml index 8ee1f52b6c1..40f27867ff3 100644 --- a/dev-python/bandit/metadata.xml +++ b/dev-python/bandit/metadata.xml @@ -6,7 +6,7 @@ Matthew Thode - A tool designed to find common security issues in Python code. + Bandit is a tool designed to find common security issues in Python code. To do this Bandit processes each file, builds an AST from it, and runs appropriate plugins against the AST nodes. Once Bandit has finished scanning all the files it generates a report. bandit