{{if eq .PackageDescriptor.Package.Type "conda"}}

{{.locale.Tr "packages.installation"}}

channel_alias: {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/conda
channels:
  - {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/conda
default_channels:
  - {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/conda
{{$channel := .PackageDescriptor.PackageProperties.GetByName "conda.channel"}}
conda install{{if $channel}} -c {{$channel}}{{end}} {{.PackageDescriptor.PackageProperties.GetByName "conda.name"}}={{.PackageDescriptor.Version.Version}}
{{if or .PackageDescriptor.Metadata.Description .PackageDescriptor.Metadata.Summary}}

{{.locale.Tr "packages.about"}}

{{if .PackageDescriptor.Metadata.Description}}{{.PackageDescriptor.Metadata.Description}}{{else}}{{.PackageDescriptor.Metadata.Summary}}{{end}}
{{end}} {{end}}