Skip to content

PMS standardization

Benjamin Winger requested to merge bmwinger/portmod:pms_standardization into master

Modifies a number of variables that differed from the Package Management Specification for no good reason.

As a result this will break some of the pybuilds currently in the repo, however this should be the last breaking change.

Primarily, modifications were done to function names and variables accessible within functions. InstallDir.USE and File.USE were renamed to InstallDir.REQUIRED_USE and File.REQUIRED_USE, both now using the same syntax as REQUIRED_USE. Details of the variables have been added to the wiki.

The selected set was also moved to a world file, and should now be accessed via @world. Technically portage has both a selected and a world set, with world also encompassing the system set, however for now we should just work with the single world set, as it gives us room to easily add more functionality to sets in future. The generated sets have been moved into the local directory, to keep them separate from user-defined sets.

Merge request reports