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 DD33C15808B for ; Wed, 9 Feb 2022 00:24:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DBFCE0953; Wed, 9 Feb 2022 00:24:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 pigeon.gentoo.org (Postfix) with ESMTPS id AE6C1E0938 for ; Wed, 9 Feb 2022 00:24:52 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BA6EF342E00 for ; Wed, 9 Feb 2022 00:24:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5CA3C2D2 for ; Wed, 9 Feb 2022 00:24:50 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1644366241.d1e6c3747471b76b1fcab1747995badf808aeeb8.cybertailor@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.4.ebuild X-VCS-Directories: app-admin/customrescuecd-x86_64/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: d1e6c3747471b76b1fcab1747995badf808aeeb8 X-VCS-Branch: dev Date: Wed, 9 Feb 2022 00:24:50 +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: 9d21d726-33f9-489e-8e76-60bd2c633296 X-Archives-Hash: b3ded809881202daff76f56402e8cd37 commit: d1e6c3747471b76b1fcab1747995badf808aeeb8 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Feb 9 00:24:01 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Wed Feb 9 00:24:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d1e6c374 app-admin/customrescuecd-x86_64: drop 0.12.4 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> .../customrescuecd-x86_64-0.12.4.ebuild | 55 ---------------------- 1 file changed, 55 deletions(-) diff --git a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.4.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.4.ebuild deleted file mode 100644 index d57a8059d..000000000 --- a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.4.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 -}