From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1538919-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 0B99615800A for <garchives@archives.gentoo.org>; Thu, 20 Jul 2023 07:51:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F24AE0884; Thu, 20 Jul 2023 07:51:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 236B2E0884 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Jul 2023 07:51: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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 466AC33BF5D for <gentoo-commits@lists.gentoo.org>; Thu, 20 Jul 2023 07:51:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FFE8BD8 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Jul 2023 07:51:48 +0000 (UTC) From: "Florian Schmaus" <flow@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, "Florian Schmaus" <flow@gentoo.org> Message-ID: <1689839504.50d85d15175d868772d7823703684a8ae463af13.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/sendxmpp-amm/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/sendxmpp-amm/sendxmpp-amm-1.1.1-r1.ebuild net-im/sendxmpp-amm/sendxmpp-amm-1.1.1.ebuild X-VCS-Directories: net-im/sendxmpp-amm/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 50d85d15175d868772d7823703684a8ae463af13 X-VCS-Branch: master Date: Thu, 20 Jul 2023 07:51:48 +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: e276e6b6-879a-486a-8631-5df55784af7a X-Archives-Hash: c3175db30a655100a4e2e4ddbccc7311 commit: 50d85d15175d868772d7823703684a8ae463af13 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Thu Jul 20 07:35:49 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Thu Jul 20 07:51:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50d85d15 net-im/sendxmpp-amm: ensure correct scala version is used Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> ...dxmpp-amm-1.1.1.ebuild => sendxmpp-amm-1.1.1-r1.ebuild} | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/net-im/sendxmpp-amm/sendxmpp-amm-1.1.1.ebuild b/net-im/sendxmpp-amm/sendxmpp-amm-1.1.1-r1.ebuild similarity index 70% rename from net-im/sendxmpp-amm/sendxmpp-amm-1.1.1.ebuild rename to net-im/sendxmpp-amm/sendxmpp-amm-1.1.1-r1.ebuild index faee439560d1..4f057429d997 100644 --- a/net-im/sendxmpp-amm/sendxmpp-amm-1.1.1.ebuild +++ b/net-im/sendxmpp-amm/sendxmpp-amm-1.1.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,10 +22,20 @@ LICENSE="GPL-3+" SLOT="0" RDEPEND=" - dev-lang/ammonite-repl-bin + dev-lang/ammonite-repl-bin[scala2-13] !net-im/sendxmpp " +src_prepare() { + default + # Ensure that the script is using the right Scala version. + sed -i '1 s;^.*$;#!/usr/bin/env amm-2.13;' sendxmpp || die +} + +src_compile() { + : +} + src_install() { default dobin sendxmpp