From 2d4583bac5aa0ee6482733e6458443e9b0717018 Mon Sep 17 00:00:00 2001 From: Adrian Zimmer Date: Tue, 3 May 2022 15:41:10 +0200 Subject: [PATCH] [ci skip] Merge PR 34685 Merge PR #34685, commits were: * Fix build * Merge branch 'bioconda:master' into master * Merge branch 'bioconda:master' into master * Merge branch 'bioconda:master' into master * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge pull request #1 from bioconda/master Update Fork --- .../proteomiqon-labeledproteinquantification/build.sh | 10 ++++++++++ .../proteomiqon-labeledproteinquantification/meta.yaml | 9 ++++----- .../proteomiqon-labeledproteinquantification.sh | 2 ++ 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 recipes/proteomiqon-labeledproteinquantification/build.sh create mode 100644 recipes/proteomiqon-labeledproteinquantification/proteomiqon-labeledproteinquantification.sh diff --git a/recipes/proteomiqon-labeledproteinquantification/build.sh b/recipes/proteomiqon-labeledproteinquantification/build.sh new file mode 100644 index 0000000000000..c0c3fffa68676 --- /dev/null +++ b/recipes/proteomiqon-labeledproteinquantification/build.sh @@ -0,0 +1,10 @@ +#!/bin/bash +unzip $SRC_DIR/$PKG_VERSION +PREFIX=$(echo "${PREFIX}" | tr '\\' '/') +DOTNET_ROOT="${PREFIX}/lib/dotnet" +TOOL_ROOT=$DOTNET_ROOT/tools/LabeledProteinQuantification + +mkdir -p $PREFIX/bin $TOOL_ROOT +cp -r $SRC_DIR/tools/net5.0/any/* $TOOL_ROOT +cp "$RECIPE_DIR/proteomiqon-labeledproteinquantification.sh" "$PREFIX/bin/proteomiqon-labeledproteinquantification" +chmod +x "$PREFIX/bin/proteomiqon-labeledproteinquantification" diff --git a/recipes/proteomiqon-labeledproteinquantification/meta.yaml b/recipes/proteomiqon-labeledproteinquantification/meta.yaml index efb544010488c..cd7681b674450 100644 --- a/recipes/proteomiqon-labeledproteinquantification/meta.yaml +++ b/recipes/proteomiqon-labeledproteinquantification/meta.yaml @@ -11,15 +11,14 @@ source: build: noarch: generic - number: 0 - script: - - dotnet tool install --add-source $SRC_DIR --tool-path $PREFIX/bin --version {{ version }} ProteomIQon.LabeledProteinQuantification + number: 1 requirements: host: - - dotnet-sdk + - unzip run: - - dotnet-runtime + - dotnet-runtime =5.0 + - openssl =1.1 test: commands: diff --git a/recipes/proteomiqon-labeledproteinquantification/proteomiqon-labeledproteinquantification.sh b/recipes/proteomiqon-labeledproteinquantification/proteomiqon-labeledproteinquantification.sh new file mode 100644 index 0000000000000..c3b56401ce7df --- /dev/null +++ b/recipes/proteomiqon-labeledproteinquantification/proteomiqon-labeledproteinquantification.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +dotnet $CONDA_PREFIX/lib/dotnet/tools/LabeledProteinQuantification/ProteomIQon.LabeledProteinQuantification.dll "$@"