Skip to content

Understanding of the Declarative builds, Python edition #2997

Answered by pmatilai
hroncok asked this question in Q&A
Discussion options

You must be logged in to vote

That's the essence of it, yes.

There might be something else in the details I missed, but one thing that did catch my eye:
the %buildsystem_foo_install() and such macros do not take options currently because they'd be shared across all buildsystems. So eg %buildsystem_pyproject_check(e:t) will not do what you intend, there's no way to pass options to the buildsystem macro itself. What you pass to BuildOption(): will get passed as an argument (ie after --) to this macro, which you just pass along to the thing actually implementing it - such as %pyproject_* here.

As for #2859, the new -C flag is not automatically enabled anywhere just now, it probably should be in %buildsystem_default_prep(…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@hroncok
Comment options

@hroncok
Comment options

@pmatilai
Comment options

@hroncok
Comment options

@pmatilai
Comment options

Answer selected by hroncok
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants