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 1B33B158089 for ; Thu, 5 Oct 2023 19:11:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE1F32BC0BD; Thu, 5 Oct 2023 19:11:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 7C4B92BC0BA for ; Thu, 5 Oct 2023 19:11:10 +0000 (UTC) From: =?UTF-8?q?Maciej=20Bar=C4=87?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Maciej=20Bar=C4=87?= Subject: [gentoo-dev] [PATCH 3/4] eclass/nuget.eclass: add special NUGET_API case for Gentoo devs' hosting Date: Thu, 5 Oct 2023 21:10:17 +0200 Message-ID: <20231005191025.12504-3-xgqt@gentoo.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231005191025.12504-1-xgqt@gentoo.org> References: <20231005191025.12504-1-xgqt@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 3771761f-3588-414a-aace-8b7d92445c90 X-Archives-Hash: eb5a2f3f8bd7ae0ce4a082f80a22a04a Signed-off-by: Maciej Barć --- eclass/nuget.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/nuget.eclass b/eclass/nuget.eclass index 8ac81497f..445dcdccd 100644 --- a/eclass/nuget.eclass +++ b/eclass/nuget.eclass @@ -112,6 +112,9 @@ _nuget_set_nuget_uris() { for nuget_api in "${NUGET_APIS[@]}" ; do case ${nuget_api%/} in + *dev.gentoo.org/~* ) + url="${nuget_api}/${name}.${version}.nupkg" + ;; */v2 ) url="${nuget_api}/package/${name}/${version} -> ${name}.${version}.nupkg" -- 2.41.0