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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A2BE15808B for ; Thu, 10 Mar 2022 16:57:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C10D3E0839; Thu, 10 Mar 2022 16:57:36 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9BFC5E0839 for ; Thu, 10 Mar 2022 16:57:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C4A3342E13 for ; Thu, 10 Mar 2022 16:57:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C8A01BD for ; Thu, 10 Mar 2022 16:57:33 +0000 (UTC) From: "Mathieu Tortuyaux" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mathieu Tortuyaux" Message-ID: <1646931433.530984b394c23e0b8f8750b7fb2cdc494e07c352.MathieuTortuyaux@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-admin/customrescuecd-x86_64/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.5.ebuild X-VCS-Directories: app-admin/customrescuecd-x86_64/ X-VCS-Committer: MathieuTortuyaux X-VCS-Committer-Name: Mathieu Tortuyaux X-VCS-Revision: 530984b394c23e0b8f8750b7fb2cdc494e07c352 X-VCS-Branch: dev Date: Thu, 10 Mar 2022 16:57:33 +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: eb2b40ff-21b9-4eb5-ad76-673d41fdcf97 X-Archives-Hash: 33c1bb0d1364a6972281060e52a51d31 commit: 530984b394c23e0b8f8750b7fb2cdc494e07c352 Author: Mathieu Tortuyaux gmail com> AuthorDate: Thu Mar 10 16:57:13 2022 +0000 Commit: Mathieu Tortuyaux gmail com> CommitDate: Thu Mar 10 16:57:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=530984b3 app-admin/customrescuecd-x86_64: drop 0.12.5 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Mathieu Tortuyaux gmail.com> .../customrescuecd-x86_64-0.12.5.ebuild | 55 ---------------------- 1 file changed, 55 deletions(-) diff --git a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.5.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.5.ebuild deleted file mode 100644 index d57a8059d..000000000 --- a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.5.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="CUSTOMRESCUECD-x86_64" -DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo" -HOMEPAGE="https://sourceforge.net/projects/customrescuecd" -SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso" - -LICENSE="GPL-3" -SLOT="${PV}" -KEYWORDS="~amd64" -RESTRICT="bindist mirror" - -S=${WORKDIR} - -src_unpack() { :; } - -src_install() { - insinto "/usr/share/${PN%-*}" - doins "${DISTDIR}/${MY_P}-${PV}.iso" -} - -pkg_postinst() { - local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso - - # no version newer than ours? we're the newest! - if ! has_version ">${CATEGORY}/${PF}"; then - ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die - fi -} - -pkg_postrm() { - local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso - - # if there is no version newer than ours installed - if ! has_version ">${CATEGORY}/${PF}"; then - # and we are truly and completely uninstalled... - if [[ ! ${REPLACED_BY_VERSION} ]]; then - # then find an older version to set the symlink to - local newest_version=$(best_version "<${CATEGORY}/${PF}") - - if [[ ${newest_version} ]]; then - # update the symlink - ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die - else - # last version removed? clean up the symlink - rm -v "${f}" || die - # and the parent directory - rmdir "${f%/*}" || die - fi - fi - fi -}