From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1599686-garchives=archives.gentoo.org@lists.gentoo.org>
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 9E3B215815E
	for <garchives@archives.gentoo.org>; Sun, 11 Feb 2024 23:47:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F24A7E2A34;
	Sun, 11 Feb 2024 23:47:51 +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 AA526E2A3B
	for <gentoo-commits@lists.gentoo.org>; Sun, 11 Feb 2024 23:47:51 +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 D94FC34302F
	for <gentoo-commits@lists.gentoo.org>; Sun, 11 Feb 2024 23:47:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5448514CE
	for <gentoo-commits@lists.gentoo.org>; Sun, 11 Feb 2024 23:47:49 +0000 (UTC)
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" <xgqt@gentoo.org>
Message-ID: <1707693771.c949a5ddc4351726450cac22d82a8ad9abb12f8c.xgqt@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/coffee-script/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/coffee-script/coffee-script-2.7.0.ebuild
X-VCS-Directories: dev-lang/coffee-script/
X-VCS-Committer: xgqt
X-VCS-Committer-Name: Maciej Barć
X-VCS-Revision: c949a5ddc4351726450cac22d82a8ad9abb12f8c
X-VCS-Branch: master
Date: Sun, 11 Feb 2024 23:47:49 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d114ae31-4859-4af1-a141-e7fc713791ae
X-Archives-Hash: 116806f235620d75eb7dd96e668ae503

commit:     c949a5ddc4351726450cac22d82a8ad9abb12f8c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 23:04:32 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 23:22:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c949a5dd

dev-lang/coffee-script: rename cake -> coffee-cake

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/coffee-script/coffee-script-2.7.0.ebuild | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/dev-lang/coffee-script/coffee-script-2.7.0.ebuild b/dev-lang/coffee-script/coffee-script-2.7.0.ebuild
index 7dd220bd7837..2f497e582b0f 100644
--- a/dev-lang/coffee-script/coffee-script-2.7.0.ebuild
+++ b/dev-lang/coffee-script/coffee-script-2.7.0.ebuild
@@ -5,6 +5,8 @@ EAPI=8
 
 MY_PN="coffeescript"
 
+inherit readme.gentoo-r1
+
 DESCRIPTION="A little language that compiles into javascript"
 HOMEPAGE="https://coffeescript.org/"
 SRC_URI="https://github.com/jashkenas/${MY_PN}/archive/${PV}.tar.gz
@@ -23,6 +25,9 @@ RDEPEND="
 	net-libs/nodejs
 "
 
+DOC_CONTENTS="To enable installation alongside other tools the Gentoo
+maintainer decided to rename the \"cake\" executable to \"coffee-cake\"."
+
 src_install() {
 	local npm_module_dir="/usr/$(get_libdir)/node/${PN}"
 
@@ -50,6 +55,12 @@ src_install() {
 	exeinto "${npm_module_dir}/bin"
 	doexe bin/cake
 	doexe bin/coffee
-	dosym "${npm_module_dir}/bin/cake" "/usr/bin/cake"
+	dosym "${npm_module_dir}/bin/cake" "/usr/bin/coffee-cake"
 	dosym "${npm_module_dir}/bin/coffee" "/usr/bin/coffee"
+
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	readme.gentoo_print_elog
 }