Skip to content

Commit

Permalink
Template Conda recipe's about metadata (#1121)
Browse files Browse the repository at this point in the history
Pull in the Conda recipe's `about` metadata from `pyproject.toml` using templating. Follows more closely with DRY and move more towards using `pyproject.toml` as the single source of truth.

Authors:
  - https://github.com/jakirkham

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)
  - Peter Andreas Entschev (https://github.com/pentschev)

URL: #1121
  • Loading branch information
jakirkham authored Feb 27, 2023
1 parent 458655d commit af0f3ef
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions conda/recipes/dask-cuda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ test:
{% endfor %}

about:
home: https://rapids.ai/
license: Apache-2.0
license_file: ../../../LICENSE
summary: dask-cuda library
home: {{ data.get("project", {}).get("urls", {}).get("Homepage", "") }}
license: {{ data.get("project", {}).get("license", {}).get("text", "") }}
license_file:
{% for e in data.get("tool", {}).get("setuptools", {}).get("license-files", []) %}
- ../../../{{ e }}
{% endfor %}
summary: {{ data.get("project", {}).get("description", "") }}
dev_url: {{ data.get("project", {}).get("urls", {}).get("Source", "") }}
doc_url: {{ data.get("project", {}).get("urls", {}).get("Documentation", "") }}

0 comments on commit af0f3ef

Please sign in to comment.