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

make man-db dependency optional for aur package #41

Closed
FWDekker opened this issue Feb 27, 2023 · 2 comments
Closed

make man-db dependency optional for aur package #41

FWDekker opened this issue Feb 27, 2023 · 2 comments
Assignees
Labels
enhancement Improvement of existing feature packaging Packaging and distribution of the software

Comments

@FWDekker
Copy link
Owner

the aur package currently depends on man-db, but this is not strictly necessary. instead, this dependency should be removed. this requires that the tests support not having man installed. probably an if clause around the part testing man, which checks if a certain environment variable is set, say, MOMMY_TEST_MAN?

@FWDekker FWDekker added enhancement Improvement of existing feature packaging Packaging and distribution of the software labels Feb 27, 2023
@FWDekker FWDekker self-assigned this Feb 27, 2023
@FWDekker
Copy link
Owner Author

FWDekker commented Mar 1, 2023

actually i just realised i can add man-db to the checkdepends and to the optdepends, and then tests will continue to work. any proper aur helper will remove the checkdepends afterwards, so it won't pollute the system, and tests that the installation is correct if the user ever decides to install man-db later on!

@FWDekker
Copy link
Owner Author

FWDekker commented Mar 1, 2023

fixed in the aur repo as described in the comment above

@FWDekker FWDekker closed this as completed Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature packaging Packaging and distribution of the software
Projects
None yet
Development

No branches or pull requests

1 participant