It often makes sense to be able to specify per-repo sets, for example an overlay could specify sets that cover its ebuilds (current example: the genkdesvn overlay contains set definitions for Paludis). Portage allows to put a sets.conf in the overlay's root. Unfortunately, the directory directive seems to require an absolute path to the sets dir. Since we don't know where the overlay is located, this makes it impossible to correctly specify a repo-local sets directory. Allowing the directory directive in sets.conf to contain a path relative to the location of said sets.conf would probably fix that problem. If that is already possible and I just didn't figure out how to do this, please tell me :) Reproducible: Always Steps to Reproduce:
Since 2.2_pre6 you can use the following syntax for sets based on StaticFileSet: [foo] class = portage.sets.files.StaticFileSet filename = ${repository:gentoo}/sets/foo Replace 'gentoo' with the name (as listed in profiles/repo_name) of the repository/overlay that contains sets/foo. Same syntax also works for the 'directory' option. Relative paths aren't possible due to restrictions of the underlying parser.