-
Notifications
You must be signed in to change notification settings - Fork 0
/
meta.yaml
76 lines (66 loc) · 1.83 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{% set version = "0.0.1" %}
{% set git_repo_name = "W4MRUtils" %}
{% set git_proto = "https" %}
{% if environ.get("CI_TOKEN") %}
{% set git_auth = "gitlab-ci-token:%s@" % environ.get("CI_TOKEN") %}
{% set git_server = "services.pfem.clermont.inrae.fr/gitlab" %}
{% set git_path = "R-team" %}
{% set url = "git_url:" %}
{%
set git_url = "%s://%s%s/%s/%s.git" % (
git_proto,
git_auth,
git_server,
git_path,
git_repo_name
)
%}
{% else %}
{% set git_auth = "" %}
{% set git_server = "github.com" %}
{% set git_path = "workflow4metabolomics" %}
{% set url = "url:" %}
{% set git_url = "https://github.com/%s/%s/archive/refs/tags/v%s.tar.gz" % (
git_path,
git_repo_name,
version
)
%}
{% endif %}
package:
name: r-w4mrutils
version: "{{ version }}"
source:
{{ url }} "{{ git_url }}"
git_rev: v{{ version }}
git_depth: -1
build:
noarch: generic
merge_build_host: true
number: 0
script: R CMD INSTALL --build .
requirements:
build:
- r-base {{ R_version }}
run:
- r-base {{ R_version }}
test:
commands:
- R -e "library('W4MRUtils')"
about:
home: https://github.com/workflow4metabolomics/W4MRUtils
license: AGPL-3.0-or-later
summary: 'Some utils tools for W4M'
description: |
Provides a set of utility function to prevent the spread of
utilities script in W4M scripts, and centralize them in a package.
Some are meant to be replaced by real packages in a near future, like
the parse_args function: it is here only to prepare the ground for
more global changes in W4M scripts and tools.
dev_url: https://github.com/workflow4metabolomics/W4MRUtils
doc_url: https://github.com/workflow4metabolomics/W4MRUtils
doc_source_url: https://github.com/workflow4metabolomics/W4MRUtils/blob/v{{ version }}/README.md
extra:
recipe-maintainers:
- Lain-inrae
- conda-forge/r