summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-10-05 21:10:17 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-10-12 17:52:27 +0200
commit69c1235be04773be58562441bb0f12f1e80b34c0 (patch)
treee22e75fb4f0f8925d0a8b430eac31f137a1154fe /eclass
parenteclass/dotnet-pkg-base.eclass: clarify test, quotes in dolauncher (diff)
downloadgentoo-69c1235be04773be58562441bb0f12f1e80b34c0.tar.gz
gentoo-69c1235be04773be58562441bb0f12f1e80b34c0.tar.bz2
gentoo-69c1235be04773be58562441bb0f12f1e80b34c0.zip
eclass/nuget.eclass: add special NUGET_API case for Gentoo devs' hosting
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/nuget.eclass3
1 files changed, 3 insertions, 0 deletions
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"