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 0250F1582EF for ; Sat, 22 Feb 2025 09:38:56 +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 E37373431FB for ; Sat, 22 Feb 2025 09:38:55 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C8341110472; Sat, 22 Feb 2025 09:38:48 +0000 (UTC) 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 bobolink.gentoo.org (Postfix) with ESMTPS id BDFDA110472 for ; Sat, 22 Feb 2025 09:38:48 +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 7916D3431F8 for ; Sat, 22 Feb 2025 09:38:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15F912733 for ; Sat, 22 Feb 2025 09:38:47 +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: <1740217090.b3ac8680322ccf578c6ba66247f187ba83bc4bee.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/gitolite/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/gitolite/gitolite-3.6.13.ebuild X-VCS-Directories: dev-vcs/gitolite/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: b3ac8680322ccf578c6ba66247f187ba83bc4bee X-VCS-Branch: master Date: Sat, 22 Feb 2025 09:38:47 +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: 7a5d0bd4-ff54-4479-9919-ed9fca6fc22a X-Archives-Hash: a380a5232b2d917cdeee1e008896a6c7 commit: b3ac8680322ccf578c6ba66247f187ba83bc4bee Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:11:12 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 22 09:38:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3ac8680 dev-vcs/gitolite: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> dev-vcs/gitolite/gitolite-3.6.13.ebuild | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/dev-vcs/gitolite/gitolite-3.6.13.ebuild b/dev-vcs/gitolite/gitolite-3.6.13.ebuild index 3d1b50b369fb..827acd25398a 100644 --- a/dev-vcs/gitolite/gitolite-3.6.13.ebuild +++ b/dev-vcs/gitolite/gitolite-3.6.13.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit perl-module +inherit eapi9-ver perl-module DESCRIPTION="Highly flexible server for git directory version tracker" HOMEPAGE="https://github.com/sitaramc/gitolite" @@ -84,14 +84,11 @@ src_install() { } pkg_postinst() { - local old_ver - for old_ver in ${REPLACING_VERSIONS}; do - if ver_test ${old_ver} -lt "3" ; then - ewarn - elog "***NOTE*** This is a major upgrade and will likely break your existing gitolite-2.x setup!" - elog "Please read http://gitolite.com/gitolite/migr/index.html first!" - fi - done + if ver_replacing -lt "3" ; then + ewarn + elog "***NOTE*** This is a major upgrade and will likely break your existing gitolite-2.x setup!" + elog "Please read http://gitolite.com/gitolite/migr/index.html first!" + fi # bug 352291 ewarn