updated recipe: weblogo
@@ -25,8 +25,8 @@ build:
# {{ environ(""SEP_CHAR") }}LICENSE
# --> /LICENSE (for osx, linux)
# --> \\LICENSE (for win)
- - SEP_CHAR=/ # [not win]
- - SEP_CHAR=\\ # [win]
+ - IS_UNIX=1 # [not win]
+ - IS_UNIX=0 # [win]
script:
{% set licenses = [
"LICENSE_biopython.txt",
@@ -90,8 +90,13 @@ about:
license_file:
- LICENSE.txt
## Additional licenses
+ {% if environ("IS_UNIX")==1 %}
+ {% set sepchar = "/" %}
+ {% else %}
+ {% set sepchar = "\\" %}
+ {% endif %}
{% for license in licenses %}
- - licenses{{ environ["SEP_CHAR"] }}{{ license }}
+ - "licenses{{ sepchar }}{{ license }}"
{% endfor %}
description: |
WebLogo (https://github.com/WebLogo/weblogo) is a tool for creating sequence
