updated recipe: weblogo (3)
@@ -21,10 +21,11 @@ build:
script_env:
## NOTE:
# source: https://docs.conda.io/projects/conda-build/en/latest/user-guide/environment-variables.html#inherited-environment-variables
- # To include the environment variable SEP_CHAR in jinja2 expressions, use:
- # "{{" environ(""SEP_CHAR") "}}"
+ # To include the environment variable SEP_CHAR in jinja2 expressions, use -- environ("SEP_CHAR")
- IS_UNIX=1 # [not win]
- IS_UNIX=0 # [win]
+ - SEP_CHAR="/" # [not win]
+ - SEP_CHAR="\\" # [win]
script:
{% set licenses = [
"LICENSE_biopython.txt",
@@ -88,13 +89,8 @@ about:
license_file:
- LICENSE.txt
## Additional licenses
- {% if environ("IS_UNIX")==1 %}
- {% set sepchar = "/" %}
- {% else %}
- {% set sepchar = "\\" %}
- {% endif %}
{% for license in licenses %}
- - "licenses{{ sepchar }}{{ license }}"
+ - "licenses{{ environ('SEP_CHAR') }}{{ license }}"
{% endfor %}
description: |
WebLogo (https://github.com/WebLogo/weblogo) is a tool for creating sequence
