Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Checks when BDEPEND should be used instead #54

Open
juippis opened this issue Jul 7, 2018 · 1 comment
Open

FR: Checks when BDEPEND should be used instead #54

juippis opened this issue Jul 7, 2018 · 1 comment

Comments

@juippis
Copy link

juippis commented Jul 7, 2018

Hey,

I wonder if it's possible to check when some deps should be placed in BDEPEND instead of DEPEND or RDEPEND. I can imagine most of the times tools such as 'doxygen' and 'sphinx' should be placed under BDEPEND, but I believe in some cases they can go under RDEPEND as well. Just throwing the idea and asking if it's possible.

I'm just personally looking for a list of packages that by default should go under BDEPEND :)

@mm1ke
Copy link
Owner

mm1ke commented Jul 14, 2018

This should be actually quite easy.
I imagine something like:
if ! grep -q "BDEPEND" $ebuild && grep -q "doxygen" $ebuild; then echo "doxygen should go into BDEPEND"; fi (very simple)

However, i probably would go with a list of packages which should go into BDEPEND. Otherwise i would need hints about how to determine if a dependency should go into BDEPEND, which I would be glad if you could provide a list. doxygen and sphinx is already a good start, if you know more please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants