From 35475cd8fb60846a2a37aaf9044848904b0e38a8 Mon Sep 17 00:00:00 2001 From: Adrian Zimmer Date: Thu, 28 Apr 2022 11:28:09 +0200 Subject: [PATCH] [ci skip] Merge PR 34560 Merge PR #34560, commits were: * Update version to 0.0.8, fix build * 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 --- recipes/proteomiqon-mzmltomzlite/build.sh | 10 ++++++++++ recipes/proteomiqon-mzmltomzlite/meta.yaml | 13 ++++++------- .../proteomiqon-mzmltomzlite.sh | 2 ++ 3 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 recipes/proteomiqon-mzmltomzlite/build.sh create mode 100644 recipes/proteomiqon-mzmltomzlite/proteomiqon-mzmltomzlite.sh diff --git a/recipes/proteomiqon-mzmltomzlite/build.sh b/recipes/proteomiqon-mzmltomzlite/build.sh new file mode 100644 index 0000000000000..e4a04ca0cc291 --- /dev/null +++ b/recipes/proteomiqon-mzmltomzlite/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/MzMLToMzLite + +mkdir -p $PREFIX/bin $TOOL_ROOT +cp -r $SRC_DIR/tools/net5.0/any/* $TOOL_ROOT +cp "$RECIPE_DIR/proteomiqon-mzmltomzlite.sh" "$PREFIX/bin/proteomiqon-mzmltomzlite" +chmod +x "$PREFIX/bin/proteomiqon-mzmltomzlite" diff --git a/recipes/proteomiqon-mzmltomzlite/meta.yaml b/recipes/proteomiqon-mzmltomzlite/meta.yaml index 388a7cad4b908..80c8ce2fa83d9 100644 --- a/recipes/proteomiqon-mzmltomzlite/meta.yaml +++ b/recipes/proteomiqon-mzmltomzlite/meta.yaml @@ -1,5 +1,5 @@ -{% set version = "0.0.5" %} -{% set sha256 = "b96605432a83c65cc40789c352f1e4f5d4361b13844c4b6e815c24a39c66c5e6" %} +{% set version = "0.0.8" %} +{% set sha256 = "eebc5e9169f59e585e7b716dfa0c1359908d3f1b886af760987af1d71f7406a9" %} package: name: proteomiqon-mzmltomzlite @@ -12,14 +12,13 @@ source: build: noarch: generic number: 0 - script: - - dotnet tool install --add-source $SRC_DIR --tool-path $PREFIX/bin --version {{ version }} ProteomIQon.MzMLToMzLite requirements: host: - - dotnet-sdk + - unzip run: - - dotnet-runtime + - dotnet-runtime =5.0 + - openssl =1.1 test: commands: @@ -35,4 +34,4 @@ about: various performance optimized, but vendor specific and closed source formats have been developed to store raw MS data. This comes to the disadvantage for toolchain developers which want to provide tools for every scientist regardless of the format of their raw data. dev_url: https://github.com/CSBiology/ProteomIQon - doc_url: https://csbiology.github.io/ProteomIQon/tools/MzMLToMzLite.html \ No newline at end of file + doc_url: https://csbiology.github.io/ProteomIQon/tools/MzMLToMzLite.html diff --git a/recipes/proteomiqon-mzmltomzlite/proteomiqon-mzmltomzlite.sh b/recipes/proteomiqon-mzmltomzlite/proteomiqon-mzmltomzlite.sh new file mode 100644 index 0000000000000..10e992ace6486 --- /dev/null +++ b/recipes/proteomiqon-mzmltomzlite/proteomiqon-mzmltomzlite.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +dotnet $CONDA_PREFIX/lib/dotnet/tools/MzMLToMzLite/ProteomIQon.MzMLToMzLite.dll "$@"