From e25d1dc71c1c7387f5d8aac76dc6df0a38168dec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sat, 10 Feb 2024 13:42:48 +0100 Subject: [PATCH] dev-dotnet/fantomas: use eclass for NuGet.config manipulation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- dev-dotnet/fantomas/fantomas-6.2.3.ebuild | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/dev-dotnet/fantomas/fantomas-6.2.3.ebuild b/dev-dotnet/fantomas/fantomas-6.2.3.ebuild index d1be8a007fb90..ed5c618a2d3e6 100644 --- a/dev-dotnet/fantomas/fantomas-6.2.3.ebuild +++ b/dev-dotnet/fantomas/fantomas-6.2.3.ebuild @@ -255,18 +255,7 @@ src_unpack() { src_prepare() { dotnet-pkg_src_prepare - find "${S}" -type f -iname nuget.config -exec rm -v {} + || die - cat < NuGet.config || die - - - - - - - -EOF - - # Reimplementing "dotnet build.fsx -p Init" in shell: + # Reimplementing "dotnet build.fsx -p Init" in shell. mkdir -p "${S}/.deps" || die ln -s "${WORKDIR}/fsharp-${FCS_COMMIT}" "${S}/.deps/${FCS_COMMIT}" || die find "${S}/.deps/${FCS_COMMIT}/src" -type f \