public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bandit/
Date: Wed, 28 Oct 2020 05:38:20 +0000 (UTC)	[thread overview]
Message-ID: <1603863493.a7a62a33f7aa0fe62a14dd834c8a41c65f918e7f.prometheanfire@gentoo> (raw)

commit:     a7a62a33f7aa0fe62a14dd834c8a41c65f918e7f
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 28 05:01:43 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Oct 28 05:38:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a62a33

dev-python/bandit: 1.6.2-r1 added to fix most testing

Closes: https://bugs.gentoo.org/733136

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 dev-python/bandit/Manifest               |  2 ++
 dev-python/bandit/bandit-1.6.2-r1.ebuild | 56 ++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/bandit/Manifest b/dev-python/bandit/Manifest
index f124e1c0046..f916b3dc819 100644
--- a/dev-python/bandit/Manifest
+++ b/dev-python/bandit/Manifest
@@ -1,2 +1,4 @@
 DIST bandit-1.5.1.tar.gz 480856 BLAKE2B f8a1a7dc1d93a1b6c8d3eb5bcbecda895b29dfebe055ac358b9437bd0c9ab5562e6d25a658bc2092cff6bddfd0245e71bf39ee88b2718e3a0c7376fa50293ae1 SHA512 e6f596e73af45ca2ff4d200fad63d37adf44efd5de52f8061f5a349b66457a39eb442ad442d5fb57b2e0e98c8bae0eb0879b958ff619b4e26c0183bc8b928e36
 DIST bandit-1.6.2.tar.gz 498567 BLAKE2B ab7885df634ff8258fc7620523b56995cb2f262f4290193a9063e216f66ba8ecb31ec17f09d0b72a0472923266953c46e47e74fcdfb39784873738c033e00c6c SHA512 9facce98411ceb9e33e5a978ca4aad2dab541ffe215e480806ac921b7f7067572445d8e32e8d473ef30bb57155b72b2ffd4e06d458a3da82e2a9fb1b1d8a4b9f
+DIST bandit-1.6.2_py38-1.patch 3892 BLAKE2B 750160be3d234b0d638307e74fd130921f43f460edca8d0ef0f9a98f34db709e0649b1e481668abd094942fa05ee710b82b3161fd82bc56bb0f5e73d90a6e70f SHA512 dc1e55bdcbf180e70757dd92aa590fe1348d84a2143af73e48c35c62864cf0720f6b055482eb274a4261adff37c84f998c75916b8ab70d99264bd88d09611e06
+DIST bandit-1.6.2_py38-2.patch 3724 BLAKE2B 8ce857419d99b059ce1b28aba7c04218397cad82f0fdb6e7eb3e57f698d6360de7b0f4402c40540e41d510db1aa0b75e006e0e15a20a8c5534b7e5a3cf78a0e8 SHA512 25f73b087b296867556d9b9bb7f789a4df64bd2930509086bc24312c43a3a98209d63a5b00009e31fd2653e89c85e62849c7af6ba044abc10c5789a6e3d9a968

diff --git a/dev-python/bandit/bandit-1.6.2-r1.ebuild b/dev-python/bandit/bandit-1.6.2-r1.ebuild
new file mode 100644
index 00000000000..d9cc3c10f03
--- /dev/null
+++ b/dev-python/bandit/bandit-1.6.2-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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
+	https://github.com/PyCQA/bandit/commit/45494c94d59eea5ddbe0204f3781b90108cbde30.patch -> ${P}_py38-1.patch
+	https://github.com/PyCQA/bandit/commit/3d0824676974e7e2e9635c10bc4f12e261f1dbdf.patch -> ${P}_py38-2.patch
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~s390 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
+	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="
+	>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
+	>=dev-python/GitPython-1.0.1[${PYTHON_USEDEP}]
+	>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
+	>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
+	>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]"
+
+python_prepare() {
+	sed -i 's/yaml.load/yaml.safe_load/g' tests/unit/formatters/test_yaml.py || die
+	eapply "${DISTDIR}/${P}_py38-1.patch"
+	eapply "${DISTDIR}/${P}_py38-2.patch"
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	distutils_install_for_testing
+	stestr init
+	stestr run || die
+}


             reply	other threads:[~2020-10-28  5:38 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28  5:38 Matthew Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-12  6:33 [gentoo-commits] repo/gentoo:master commit in: dev-python/bandit/ Sam James
2024-09-24  6:41 Michał Górny
2024-06-29 16:58 Michał Górny
2024-06-29  8:25 Sam James
2024-06-13  4:05 Michał Górny
2024-05-22  8:03 Michał Górny
2024-03-23 10:45 Michał Górny
2024-03-23 10:41 Michał Górny
2024-03-09  7:18 Michał Górny
2024-02-08 15:37 Michał Górny
2024-02-08 15:28 Michał Górny
2024-01-24  7:01 Michał Górny
2023-12-24  5:59 Michał Górny
2023-12-09  6:53 Michał Górny
2023-11-08 11:57 Michał Górny
2023-04-11 18:39 Michał Górny
2023-04-11 18:32 Arthur Zamarin
2023-03-10  9:00 Sam James
2023-03-10  4:16 Michał Górny
2022-11-12 11:59 Arthur Zamarin
2022-05-28 21:12 Jakov Smolić
2022-04-25 17:17 Sam James
2022-03-31 12:42 Michał Górny
2022-03-31 12:33 Jakov Smolić
2022-03-09 20:06 Arthur Zamarin
2022-02-28  8:28 Michał Górny
2022-02-27 18:35 Michał Górny
2022-02-27  9:18 Michał Górny
2022-02-24 18:46 Michał Górny
2022-01-28 23:01 Michał Górny
2022-01-26  7:33 Michał Górny
2021-12-17  9:15 Michał Górny
2021-12-14  7:14 Michał Górny
2021-12-13 20:29 Jakov Smolić
2021-12-13 18:58 Arthur Zamarin
2021-12-13 18:50 Jakov Smolić
2021-11-12 19:50 Arthur Zamarin
2021-11-12 19:50 Arthur Zamarin
2021-10-17  7:33 Michał Górny
2021-06-01  6:59 Agostino Sarubbo
2021-06-01  6:32 Agostino Sarubbo
2021-04-29  1:51 William Hubbs
2020-11-18 10:28 Michał Górny
2020-11-18  6:53 Agostino Sarubbo
2020-11-14  0:09 Thomas Deutschmann
2020-10-16  2:04 Matthew Thode
2020-02-24 16:52 Matthew Thode
2020-01-26 23:10 Matthew Thode
2020-01-26 21:46 Matthew Thode
2019-12-02 21:13 Aaron Bauman
2019-01-28  0:25 Matthew Thode
2019-01-28  0:25 Matthew Thode
2018-08-20  7:04 Mikle Kolyada
2018-02-13 15:57 Mart Raudsepp
2018-02-13 13:59 Mart Raudsepp
2017-03-13  1:30 Zac Medico
2017-02-09 12:10 Matt Thode
2017-01-12 18:02 Matt Thode
2016-12-03  4:17 Matt Thode
2016-11-16 15:38 Matt Thode
2016-04-05 22:39 Matt Thode
2016-04-05 14:48 Matt Thode
2016-01-28  5:30 Matt Thode
2016-01-27  4:23 Matt Thode
2015-12-17 18:40 Matt Thode
2015-11-10  8:24 Agostino Sarubbo
2015-11-10  8:19 Agostino Sarubbo
2015-10-14 22:47 Matt Thode
2015-10-12 22:32 Matt Thode
2015-10-12 16:33 Matt Thode
2015-10-08 21:45 Matt Thode
2015-08-25 23:47 Matt Thode
2015-08-14 20:20 Matt Thode
2015-08-12 22:47 Matt Thode

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1603863493.a7a62a33f7aa0fe62a14dd834c8a41c65f918e7f.prometheanfire@gentoo \
    --to=prometheanfire@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox