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 034691582EF for ; Sat, 22 Feb 2025 09:38:58 +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 E21E8343200 for ; Sat, 22 Feb 2025 09:38:57 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DEAB1110473; Sat, 22 Feb 2025 09:38:48 +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 D56A9110473 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 8E46C3431FB 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 28C5A2736 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.0934f0b6201ec5fb4cd66f174585ae4c2c9283f2.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/gitolite-gentoo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.13.1.ebuild X-VCS-Directories: dev-vcs/gitolite-gentoo/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 0934f0b6201ec5fb4cd66f174585ae4c2c9283f2 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: 00fd0e53-1ac2-4add-9331-e3c95354ac88 X-Archives-Hash: 6a5d4b456bc92218bfe47add2be0f827 commit: 0934f0b6201ec5fb4cd66f174585ae4c2c9283f2 Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:11:13 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=0934f0b6 dev-vcs/gitolite-gentoo: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> .../gitolite-gentoo-3.6.13.1.ebuild | 27 ++++++++++------------ 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.13.1.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.13.1.ebuild index e90dabd49472..599aa38e7548 100644 --- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.13.1.ebuild +++ b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.13.1.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=7 @@ -7,7 +7,7 @@ EAPI=7 EGIT_REPO_URI="git://git.gentoo.org/proj/gitolite-gentoo" EGIT_MASTER=master -inherit perl-module ${SCM} +inherit eapi9-ver perl-module ${SCM} DESCRIPTION="Highly flexible server for git directory version tracker, Gentoo fork" HOMEPAGE="https://cgit.gentoo.org/fork/gitolite-gentoo.git/" @@ -85,19 +85,16 @@ 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.html first!" - ewarn - elog "***NOTE*** If you're using the \"umask\" feature of ${PN}-2.x:" - elog "You'll have to replace each \"umask = ...\" option by \"option umask = ...\"" - elog "And you'll also have to enable the \"RepoUmask\" module in your .gitolite.rc" - ewarn - 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.html first!" + ewarn + elog "***NOTE*** If you're using the \"umask\" feature of ${PN}-2.x:" + elog "You'll have to replace each \"umask = ...\" option by \"option umask = ...\"" + elog "And you'll also have to enable the \"RepoUmask\" module in your .gitolite.rc" + ewarn + fi # bug 352291 gitolite_home=$(awk -F: '$1 == "git" { print $6 }' /etc/passwd)