commit: e25d1dc71c1c7387f5d8aac76dc6df0a38168dec
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 12:42:48 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 16:24:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25d1dc7
dev-dotnet/fantomas: use eclass for NuGet.config manipulation
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
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 d1be8a007fb9..ed5c618a2d3e 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 <<EOF > NuGet.config || die
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
-<packageSources>
-<clear />
-<add key="nuget" value="${NUGET_PACKAGES}" />
-</packageSources>
-</configuration>
-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 \