Skip to content

Commit

Permalink
dotnet: drop duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
msdobrescu committed Nov 4, 2023
1 parent 0553654 commit b70d84a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/apps/collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10648,7 +10648,7 @@ packages:
- &apps-dotnet-6
category: "apps"
name: "dotnet-sdk-6"
version: "6.0.404-r1+1"
version: "6.0.404-r1+2"
uri:
- https://dotnet.microsoft.com/
license: "MIT"
Expand All @@ -10660,13 +10660,16 @@ packages:
provides:
- category: "dev-dotnet"
name: "dotnet-sdk-bin"
version: ">=0"
version: "6.0.12"
- category: "dev-dotnet"
name: "dotnet-runtime-nugets"
version: "6.0.12"
atoms:
- atom: "dev-dotnet/dotnet-sdk-bin"
accept_keywords: "~amd64"
prepare:
- sed -i -e 's/eselect dotnet update ifunset/echo 'eselect dotnet update ifunset' disabled/' /var/db/repos/gentoo/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.404-r1.ebuild
- ebuild /var/db/repos/gentoo/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.404-r1.ebuild manifest
requires:
- <<: *layers-sys-fs
- <<: *apps-dotnet-common
Expand All @@ -10677,7 +10680,7 @@ packages:
- &apps-dotnet-7
category: "apps"
name: "dotnet-sdk-7"
version: "7.0.401-r1+1"
version: "7.0.401-r1+2"
uri:
- https://dotnet.microsoft.com/
license: "MIT"
Expand All @@ -10698,6 +10701,9 @@ packages:
atoms:
- atom: "dev-dotnet/dotnet-runtime-nugets"
accept_keywords: "~amd64"
prepare:
- sed -i -e 's/eselect dotnet update ifunset/echo 'eselect dotnet update ifunset' disabled/' /var/db/repos/gentoo/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.401-r1.ebuild
- ebuild /var/db/repos/gentoo/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.401-r1.ebuild manifest
requires:
- <<: *layers-sys-fs
- <<: *apps-dotnet-common
Expand Down
4 changes: 4 additions & 0 deletions packages/apps/finalize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ install:
{{ if and (eq .Values.category "apps") (eq .Values.name "vdr") }}
- usermod -a -G audio,cdrom,video,lp,usb,input,dialout vdr
{{ end }}

{{ if and (eq .Values.category "apps") (or (eq .Values.name "dotnet-sdk-6") (eq .Values.name "dotnet-sdk-7")) }}
- eselect dotnet update ifunset
{{ end }}
16 changes: 16 additions & 0 deletions packages/layers/finalize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,19 @@ install:
{{ range .Values.requires | uniq }}
- env-update && source /etc/profile
{{ end }}

{{ if and (eq .Values.category "apps") (or (eq .Values.name "emacs") (eq .Values.name "xemacs")) }}
- eselect ctags update ifunset
- eselect emacs update ifunset
{{ end }}
{{ if and (eq .Values.category "apps") (eq .Values.name "xemacs") }}
- eselect gnuclient update ifunset
{{ end }}

{{ if and (eq .Values.category "apps") (eq .Values.name "vdr") }}
- usermod -a -G audio,cdrom,video,lp,usb,input,dialout vdr
{{ end }}

{{ if and (eq .Values.category "apps") (or (eq .Values.name "dotnet-sdk-6") (eq .Values.name "dotnet-sdk-7")) }}
- eselect dotnet update ifunset
{{ end }}

0 comments on commit b70d84a

Please sign in to comment.