Skip to content

Add a built-in build_stage for applying patches #979

@embray

Description

@embray

Many packages have a build_stage for applying patches (typically before configure). This is common-enough that it's practically boilerplate, but for packages with a lot of patches it's also quite a bit tedious (see for example python.yaml).

Since this is such boilerplate it would be nice to have a built-in build_stage (like configure) that does this. Furthermore, while I can appreciate explicitness, it might be nice, in this case, to support some wildcards in filenames when supplying a list of patches to apply.

I only recently started looking seriously at hashdist though, so I don't know if this has been discussed before and if there's a reason not to do this. Otherwise I'm happy to supply a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions