From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B7AF21382C5 for ; Wed, 2 Jun 2021 12:51:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7922AE0867; Wed, 2 Jun 2021 12:51:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 61B9CE0867 for ; Wed, 2 Jun 2021 12:51:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7B91340CB1 for ; Wed, 2 Jun 2021 12:50:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64A0379E for ; Wed, 2 Jun 2021 12:50:58 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1622636486.f2f53f7355633e5fcb87f232fd4a5ef92f46b415.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/lcd4linux/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild X-VCS-Directories: app-misc/lcd4linux/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f2f53f7355633e5fcb87f232fd4a5ef92f46b415 X-VCS-Branch: master Date: Wed, 2 Jun 2021 12:50:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ddfeee9d-05d3-465a-824c-bb7c342bde13 X-Archives-Hash: 0c6b1683f4cc08def406df5459e720e4 commit: f2f53f7355633e5fcb87f232fd4a5ef92f46b415 Author: Sam James gentoo org> AuthorDate: Wed Jun 2 12:10:17 2021 +0000 Commit: Sam James gentoo 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 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 }