added licenses: weblogo
@@ -19,17 +19,38 @@ build:
- weblogo = weblogo._cli:main
- transformseq = weblogo._transformseq:main
script:
- - 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]
+ {% set licenses = [
+ "LICENSE_biopython.txt",
+ "LICENSE_BSD-3-clause.txt",
+ "LICENSE_CC-BY-ND-1.0.txt",
+ "LICENSE_weblogo_color.py.txt",
+ "LICENSE_weblogo_colorscheme.py.txt",
+ "LICENSE_weblogo_data.py.txt",
+ "LICENSE_weblogo_logomath.py.txt",
+ "LICENSE_weblogo_matrix.py.txt",
+ "LICENSE_weblogo_MIT_1.txt",
+ "LICENSE_weblogo_MIT_2.txt",
+ "LICENSE_weblogo_MIT_3.txt",
+ "LICENSE_weblogo_MIT_4.txt",
+ "LICENSE_weblogo_seq.py.txt",
+ "LICENSE_weblogo_seqio.txt",
+ "LICENSE_weblogo_transform.py.txt",
+ ] %}
+ - cp ${RECIPE_DIR}/licenses licenses # [not win]
+ - copy %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:
- build:
- - {{ compiler('rust') }}
- - cargo-bundle-licenses
+ ## REMOVE THESE COMMENTED LINES BEFORE FINALIZING THE RECIPE
+ # build:
+ # - {{ compiler('rust') }}
+ # - cargo-bundle-licenses
host:
- pip
- python >=3.6
@@ -59,7 +80,10 @@ about:
license: MIT
license_file:
- LICENSE.txt
- - THIRDPARTY.yml
+ ## Additional licenses
+ {% for license in licenses %}
+ - licenses/{{ license }}
+ {% endfor %}
description: |
WebLogo (https://github.com/WebLogo/weblogo) is a tool for creating sequence
logos from biological sequence alignments. It can be run on the command line,
