update recipe: weblogo (4)
@@ -21,9 +21,6 @@ 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")
- - IS_UNIX=1 # [not win]
- - IS_UNIX=0 # [win]
- SEP_CHAR="/" # [not win]
- SEP_CHAR="\\" # [win]
script:
@@ -46,19 +43,9 @@ build:
] %}
- cp -r ${RECIPE_DIR}/licenses licenses # [not win]
- xcopy /s /e /q /i %RECIPE_DIR%\licenses licenses # [win]
- ## REMOVE THESE COMMENTED LINES BEFORE FINALIZING THE RECIPE
- # - touch Cargo.toml # [not win]
- # - echo -e '[package]\nname = "{{ name|lower }}"\nversion = "{{ version }}"\n' >> Cargo.toml # [not win]
- # - echo -e 'license = "{{ license }}"\nlicense-file = "{{ license_file }}"\n' >> Cargo.toml # [not win]
- # - cat Cargo.toml # [not win]
- # - cargo-bundle-licenses --format yaml --output THIRDPARTY.yml # [not win]
- {{ PYTHON }} -m pip install . -vv
requirements:
- ## REMOVE THESE COMMENTED LINES BEFORE FINALIZING THE RECIPE
- # build:
- # - {{ compiler('rust') }}
- # - cargo-bundle-licenses
host:
- pip
- python >=3.6
@@ -90,7 +77,7 @@ about:
- LICENSE.txt
## Additional licenses
{% for license in licenses %}
- - "licenses{{ environ('SEP_CHAR') }}{{ license }}"
+ - {{ "licenses" ~ environ("SEP_CHAR") ~ license }}
{% endfor %}
description: |
WebLogo (https://github.com/WebLogo/weblogo) is a tool for creating sequence
