From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 A7D811582EF for ; Sat, 15 Feb 2025 09:29:49 +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 8659E3430B6 for ; Sat, 15 Feb 2025 09:29:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 40F5711047B; Sat, 15 Feb 2025 09:29:30 +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 3BCCF11047B for ; Sat, 15 Feb 2025 09:29:30 +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 EB2C5343083 for ; Sat, 15 Feb 2025 09:29:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79A462721 for ; Sat, 15 Feb 2025 09:29:27 +0000 (UTC) From: "Ulrich Müller" 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" Message-ID: <1739611596.15486922489d9535484a60a948ec1f3b58893b01.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/solo1/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/solo1/solo1-0.1.1-r1.ebuild X-VCS-Directories: sys-auth/solo1/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 15486922489d9535484a60a948ec1f3b58893b01 X-VCS-Branch: master Date: Sat, 15 Feb 2025 09:29:27 +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: 31bc2819-360e-42f5-9623-bf1cd6ca89fe X-Archives-Hash: a9d972cb66b6de17053db6747efe81e8 commit: 15486922489d9535484a60a948ec1f3b58893b01 Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:12:07 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 15 09:26:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15486922 sys-auth/solo1: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> sys-auth/solo1/solo1-0.1.1-r1.ebuild | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/sys-auth/solo1/solo1-0.1.1-r1.ebuild b/sys-auth/solo1/solo1-0.1.1-r1.ebuild index 0e8e190536f4..f8d159eece00 100644 --- a/sys-auth/solo1/solo1-0.1.1-r1.ebuild +++ b/sys-auth/solo1/solo1-0.1.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=flit -inherit distutils-r1 pypi +inherit distutils-r1 eapi9-ver pypi DESCRIPTION="CLI and Python library for SoloKeys Solo 1" HOMEPAGE="https://github.com/solokeys/solo1-cli" @@ -25,14 +25,8 @@ RDEPEND=">=dev-python/click-7.1.0[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}]" pkg_postinst() { - if [[ -n ${REPLACING_VERSIONS} ]]; then - local ver - for ver in ${REPLACING_VERSIONS}; do - if ver_test ${ver} -lt 0.1.1; then - ewarn "Note that since version 0.1.1 the CLI executable is called '${PN}' rather than 'solo'" - ewarn "The old name can still be used for now but is deprecated" - break - fi - done + if ver_replacing -lt 0.1.1; then + ewarn "Note that since version 0.1.1 the CLI executable is called '${PN}' rather than 'solo'" + ewarn "The old name can still be used for now but is deprecated" fi }