prefix-dev / rattler-build-conda-compat

rattler-build module which offer compatibility with conda-smithy
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

feat: metadata will render recipe with context #41

Closed nichmor closed 3 months ago

nichmor commented 3 months ago

This PR aims to give Metadata ability to render recipe using context values.

It will be used by conda-smithy to ask metadata.name() and metadata.version()

nichmor commented 3 months ago

Does this reflect the same API that CondaMetaData has? Or would you access the name and version differently?

it's the same API - I just override it because we extract them from recipe/package depending on outputs field