1 |
commit: 570dc28e6e5bbdc4d2e562e61eb070a2581fae96 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 3 21:25:54 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 14 23:21:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570dc28e |
7 |
|
8 |
sys-libs/libblockdev: Drop superfluous calls to python_is_python3 |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
sys-libs/libblockdev/libblockdev-2.23-r1.ebuild | 13 ++----------- |
13 |
sys-libs/libblockdev/libblockdev-2.24.ebuild | 13 ++----------- |
14 |
sys-libs/libblockdev/libblockdev-9999.ebuild | 13 ++----------- |
15 |
3 files changed, 6 insertions(+), 33 deletions(-) |
16 |
|
17 |
diff --git a/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild b/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild |
18 |
index 105df4812ba..6007c32f473 100644 |
19 |
--- a/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild |
20 |
+++ b/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild |
21 |
@@ -98,18 +98,9 @@ src_configure() { |
22 |
$(use_with lvm lvm-dbus) |
23 |
$(use_with tools) |
24 |
$(use_with vdo) |
25 |
+ --without-python2 |
26 |
+ --with-python3 |
27 |
) |
28 |
- if python_is_python3 ; then |
29 |
- myeconfargs+=( |
30 |
- --without-python2 |
31 |
- --with-python3 |
32 |
- ) |
33 |
- else |
34 |
- myeconfargs+=( |
35 |
- --with-python2 |
36 |
- --without-python3 |
37 |
- ) |
38 |
- fi |
39 |
econf "${myeconfargs[@]}" |
40 |
} |
41 |
|
42 |
|
43 |
diff --git a/sys-libs/libblockdev/libblockdev-2.24.ebuild b/sys-libs/libblockdev/libblockdev-2.24.ebuild |
44 |
index c252b7d2104..2d41db82758 100644 |
45 |
--- a/sys-libs/libblockdev/libblockdev-2.24.ebuild |
46 |
+++ b/sys-libs/libblockdev/libblockdev-2.24.ebuild |
47 |
@@ -96,18 +96,9 @@ src_configure() { |
48 |
$(use_with lvm lvm-dbus) |
49 |
$(use_with tools) |
50 |
$(use_with vdo) |
51 |
+ --without-python2 |
52 |
+ --with-python3 |
53 |
) |
54 |
- if python_is_python3 ; then |
55 |
- myeconfargs+=( |
56 |
- --without-python2 |
57 |
- --with-python3 |
58 |
- ) |
59 |
- else |
60 |
- myeconfargs+=( |
61 |
- --with-python2 |
62 |
- --without-python3 |
63 |
- ) |
64 |
- fi |
65 |
econf "${myeconfargs[@]}" |
66 |
} |
67 |
|
68 |
|
69 |
diff --git a/sys-libs/libblockdev/libblockdev-9999.ebuild b/sys-libs/libblockdev/libblockdev-9999.ebuild |
70 |
index 1ea252a8b26..214de07c57c 100644 |
71 |
--- a/sys-libs/libblockdev/libblockdev-9999.ebuild |
72 |
+++ b/sys-libs/libblockdev/libblockdev-9999.ebuild |
73 |
@@ -96,18 +96,9 @@ src_configure() { |
74 |
$(use_with lvm lvm-dbus) |
75 |
$(use_with tools) |
76 |
$(use_with vdo) |
77 |
+ --without-python2 |
78 |
+ --with-python3 |
79 |
) |
80 |
- if python_is_python3 ; then |
81 |
- myeconfargs+=( |
82 |
- --without-python2 |
83 |
- --with-python3 |
84 |
- ) |
85 |
- else |
86 |
- myeconfargs+=( |
87 |
- --with-python2 |
88 |
- --without-python3 |
89 |
- ) |
90 |
- fi |
91 |
econf "${myeconfargs[@]}" |
92 |
} |