Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gef/
Date: Mon, 31 Jan 2022 03:54:10
Message-Id: 1643600954.d4a18ac6d209a8fad9ece954c9da75f5c97434e0.sam@gentoo
1 commit: d4a18ac6d209a8fad9ece954c9da75f5c97434e0
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 31 03:49:14 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 31 03:49:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4a18ac6
7
8 dev-util/gef: strip pylint dependency
9
10 We don't want this even for running test suites usually as it's
11 not helpful/indicative downstream of whether something is
12 working properly.
13
14 Closes: https://bugs.gentoo.org/832410
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 dev-util/gef/{gef-2021.10.ebuild => gef-2021.10-r1.ebuild} | 6 ++++++
18 dev-util/gef/gef-9999.ebuild | 6 ++++++
19 2 files changed, 12 insertions(+)
20
21 diff --git a/dev-util/gef/gef-2021.10.ebuild b/dev-util/gef/gef-2021.10-r1.ebuild
22 similarity index 93%
23 rename from dev-util/gef/gef-2021.10.ebuild
24 rename to dev-util/gef/gef-2021.10-r1.ebuild
25 index 0d0db6c0ae2b..1591c4b14506 100644
26 --- a/dev-util/gef/gef-2021.10.ebuild
27 +++ b/dev-util/gef/gef-2021.10-r1.ebuild
28 @@ -44,6 +44,12 @@ BDEPEND="doc? ( dev-python/mkdocs )
29 ')
30 )"
31
32 +python_prepare_all() {
33 + sed -i -e '/pylint/d' requirements.txt || die
34 +
35 + distutils-r1_python_prepare_all
36 +}
37 +
38 src_compile() {
39 # Tries to compile tests
40 :
41
42 diff --git a/dev-util/gef/gef-9999.ebuild b/dev-util/gef/gef-9999.ebuild
43 index 0d0db6c0ae2b..1591c4b14506 100644
44 --- a/dev-util/gef/gef-9999.ebuild
45 +++ b/dev-util/gef/gef-9999.ebuild
46 @@ -44,6 +44,12 @@ BDEPEND="doc? ( dev-python/mkdocs )
47 ')
48 )"
49
50 +python_prepare_all() {
51 + sed -i -e '/pylint/d' requirements.txt || die
52 +
53 + distutils-r1_python_prepare_all
54 +}
55 +
56 src_compile() {
57 # Tries to compile tests
58 :