public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/lcd4linux/
Date: Wed,  2 Jun 2021 12:50:58 +0000 (UTC)	[thread overview]
Message-ID: <1622636486.f2f53f7355633e5fcb87f232fd4a5ef92f46b415.sam@gentoo> (raw)

commit:     f2f53f7355633e5fcb87f232fd4a5ef92f46b415
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  2 12:10:17 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun  2 12:21:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2f53f73

app-misc/lcd4linux: fix Python 3.7 usage

Missed by CI as the usage was via usex. We need to use python-utils-r1's helpers
instead (but note, a pkg-config hack would've been a bit more portable if
those didn't exist).

Closes: https://bugs.gentoo.org/793869
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild
index ef4a8ada7cf..7e5012fe420 100644
--- a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild
+++ b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
 
 inherit autotools flag-o-matic python-single-r1
 
@@ -142,7 +142,8 @@ src_prepare() {
 		rm ax_python_devel.m4
 
 		# Use correct python version.
-		append-libs "-lpython${EPYTHON#python}$(usex python_single_target_python3_7 'm' '')"
+		# (See: bug #793869)
+		append-libs $(python_get_LIBS)
 	fi
 
 	eautoreconf
@@ -193,6 +194,6 @@ src_install() {
 
 pkg_postinst() {
 	if [[ ! -z ${REPLACING_VERSIONS} ]]; then
-		use python && einfo "Starting with that version, the python plugins uses now python3 instead if python2!"
+		use python && einfo "Starting with this version, the python plugins now uses python3 instead of python2!"
 	fi
 }


             reply	other threads:[~2021-06-02 12:51 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02 12:50 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-20  0:00 [gentoo-commits] repo/gentoo:master commit in: app-misc/lcd4linux/ Conrad Kostecki
2024-06-17 22:31 Conrad Kostecki
2024-06-17 22:31 Conrad Kostecki
2024-06-17 22:31 Conrad Kostecki
2022-07-22 19:35 Conrad Kostecki
2022-07-22 19:35 Conrad Kostecki
2022-07-22 19:35 Conrad Kostecki
2022-07-22 19:35 Conrad Kostecki
2021-07-01 21:15 Conrad Kostecki
2021-01-24 15:25 Conrad Kostecki
2020-10-03 18:16 Conrad Kostecki
2020-08-09 15:53 Conrad Kostecki
2020-08-05 19:48 Conrad Kostecki
2020-08-05 14:17 Agostino Sarubbo
2020-08-05 13:53 Agostino Sarubbo
2019-12-11 21:01 Conrad Kostecki
2019-12-10  9:17 Agostino Sarubbo
2019-12-09 13:48 Agostino Sarubbo
2019-12-04 23:44 Conrad Kostecki
2019-10-13 17:11 Joonas Niilola
2019-10-13 17:11 Joonas Niilola
2019-07-18  7:46 Michał Górny
2018-11-08 22:49 Patrice Clement
2018-11-06  7:19 Mikle Kolyada
2018-10-07 16:06 Matt Turner
2017-04-20  7:59 David Seifert
2016-05-09  2:19 Mike Frysinger
2016-04-26 17:27 Austin English

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=1622636486.f2f53f7355633e5fcb87f232fd4a5ef92f46b415.sam@gentoo \
    --to=sam@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