commit: 69c1235be04773be58562441bb0f12f1e80b34c0
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 5 19:10:17 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 15:52:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69c1235b
eclass/nuget.eclass: add special NUGET_API case for Gentoo devs' hosting
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
eclass/nuget.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/nuget.eclass b/eclass/nuget.eclass
index 8ac81497f523..445dcdccd331 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"