New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/30036#issuecomment-815253454 Comment: > I think the distfiles approach here would be best. Any local patches would go on top of that, and we avoid vendoring in a bunch of "basic" patches. Ok. What's a good way to do it? Patch in post_extract() ? Is there something automatic or some template doing that as an example? > Alternatively, **I** am ok with it being packaged inside of sagemath; it is, after all, the only user for it, so there are very few (if any - maybe it helps with cross builds?) benefits from splitting it into a separate package. Other maintainers might have other opinions on vendoring dependencies, even in this case, so don't consider my opinion the final recommendation. Well, **I** use it, sometimes. That's why I packaged it for myself a few years ago :-)