From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1720367-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 4D3EF1582EF
	for <garchives@archives.gentoo.org>; Sat, 22 Feb 2025 09:39:03 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 347AC3431F5
	for <garchives@archives.gentoo.org>; Sat, 22 Feb 2025 09:39:03 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 512C0110476;
	Sat, 22 Feb 2025 09:38:50 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 3C562110474
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Feb 2025 09:38:50 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EC6AF3431F8
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Feb 2025 09:38:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 770392742
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Feb 2025 09:38:47 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1740217093.927d9d4eb441172ed2b5b5d5fccef1041fd3ece8.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lollypop/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-sound/lollypop/lollypop-1.4.41.ebuild
X-VCS-Directories: media-sound/lollypop/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 927d9d4eb441172ed2b5b5d5fccef1041fd3ece8
X-VCS-Branch: master
Date: Sat, 22 Feb 2025 09:38:47 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1bb618c9-f201-416a-a480-73e812524922
X-Archives-Hash: ee3ce413f0bc703485431fab8fd92fc8

commit:     927d9d4eb441172ed2b5b5d5fccef1041fd3ece8
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 14:11:26 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 22 09:38:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=927d9d4e

media-sound/lollypop: Port to ver_replacing

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 media-sound/lollypop/lollypop-1.4.41.ebuild | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/media-sound/lollypop/lollypop-1.4.41.ebuild b/media-sound/lollypop/lollypop-1.4.41.ebuild
index 536591db9bce..0c5537764788 100644
--- a/media-sound/lollypop/lollypop-1.4.41.ebuild
+++ b/media-sound/lollypop/lollypop-1.4.41.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..13} )
 PYTHON_REQ_USE="sqlite"
-inherit gnome2-utils meson python-single-r1 xdg
+inherit eapi9-ver gnome2-utils meson python-single-r1 xdg
 
 DESCRIPTION="Modern music player for GNOME"
 HOMEPAGE="https://wiki.gnome.org/Apps/Lollypop"
@@ -68,14 +68,9 @@ pkg_postinst() {
 	if [[ -z ${REPLACING_VERSIONS} ]]; then
 		elog "Remember to install the necessary gst-plugins packages for your audio files."
 		elog "You can also use the gst-plugins-meta package and its USE flags."
-	fi
-
-	local log_yt_dlp ver
-	for ver in ${REPLACING_VERSIONS}; do
-		ver_test "${ver}" -lt "1.4.36" && log_yt_dlp=1
-	done
-	[[ ${log_yt_dlp} ]] &&
+	elif ver_replacing -lt "1.4.36"; then
 		elog "Since version 1.4.36, Lollypop relies on yt-dlp instead of youtube-dl."
+	fi
 }
 
 pkg_postrm() {