Closed TheChymera closed 6 years ago
Ok, so distributing an ebuild really requires us to set up an overlay. Unless there's an (easy) way to mainline an update which lets portage use "anonymous" overlays or improve support for emerging from path, we would have to deal with this. The extra files required are few (~3), the only real problem is decreasing transparency for people who are unfamiliar with what an overlay is.
One issue which may be solved by the developer explicitly or by our system implicitly is the manifest generation:
!!! Repository 'samri_gentoo' is missing masters attribute in '/home/hioanas/src/SAMRI/.gentoo/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N *] sci-biology/afni-9999::neurogentoo 0 KiB
[ebuild N *] sci-biology/samri-9999::samri_gentoo PYTHON_TARGETS="python2_7 python3_4 -python3_5" 0 KiB
Total: 2 packages (2 new), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
!!! A file is not listed in the Manifest: '/home/hioanas/src/SAMRI/.gentoo/sci-biology/samri/samri-9999.ebuild'
Implicit:
Improvise, Adapt, Overcome
We talked about how it might make sense to distribute an ebuild instead of a deps list, this would:
This ofc leads to the issue which we stumbled upon yesterday, namely that emerging by path is difficult. The
ebuild
command apparently does no dependency resolution, whereasemerge
does this: