1 |
commit: f2f53f7355633e5fcb87f232fd4a5ef92f46b415 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 2 12:10:17 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 2 12:21:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2f53f73 |
7 |
|
8 |
app-misc/lcd4linux: fix Python 3.7 usage |
9 |
|
10 |
Missed by CI as the usage was via usex. We need to use python-utils-r1's helpers |
11 |
instead (but note, a pkg-config hack would've been a bit more portable if |
12 |
those didn't exist). |
13 |
|
14 |
Closes: https://bugs.gentoo.org/793869 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild | 7 ++++--- |
18 |
1 file changed, 4 insertions(+), 3 deletions(-) |
19 |
|
20 |
diff --git a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild |
21 |
index ef4a8ada7cf..7e5012fe420 100644 |
22 |
--- a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild |
23 |
+++ b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild |
24 |
@@ -3,7 +3,7 @@ |
25 |
|
26 |
EAPI=7 |
27 |
|
28 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
29 |
+PYTHON_COMPAT=( python3_{8,9} ) |
30 |
|
31 |
inherit autotools flag-o-matic python-single-r1 |
32 |
|
33 |
@@ -142,7 +142,8 @@ src_prepare() { |
34 |
rm ax_python_devel.m4 |
35 |
|
36 |
# Use correct python version. |
37 |
- append-libs "-lpython${EPYTHON#python}$(usex python_single_target_python3_7 'm' '')" |
38 |
+ # (See: bug #793869) |
39 |
+ append-libs $(python_get_LIBS) |
40 |
fi |
41 |
|
42 |
eautoreconf |
43 |
@@ -193,6 +194,6 @@ src_install() { |
44 |
|
45 |
pkg_postinst() { |
46 |
if [[ ! -z ${REPLACING_VERSIONS} ]]; then |
47 |
- use python && einfo "Starting with that version, the python plugins uses now python3 instead if python2!" |
48 |
+ use python && einfo "Starting with this version, the python plugins now uses python3 instead of python2!" |
49 |
fi |
50 |
} |