/opt is reserved for Add-on packages which run stand-alone without dependencies to the distribution. Even if Gentoo is not yet fully compatible with the FHS, we do not want to disregard this very useful standard. https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#optAddonApplicationSoftwarePackages -----8<----------------------------------------------- equery f app-admin/gentoo-retirement-scripts * Searching for gentoo-retirement-scripts in app-admin ... * Contents of app-admin/gentoo-retirement-scripts-2: /opt /opt/gentoo-retirement-scripts /opt/gentoo-retirement-scripts/check-commit-activity.py /opt/gentoo-retirement-scripts/commit-access-suspension.template /opt/gentoo-retirement-scripts/first-mail-nocommit.template /opt/gentoo-retirement-scripts/first-mail.template /opt/gentoo-retirement-scripts/fourth-mail.template /opt/gentoo-retirement-scripts/reassign-packages.py /opt/gentoo-retirement-scripts/scan-open-bugs.py /opt/gentoo-retirement-scripts/second-mail.template /opt/gentoo-retirement-scripts/send-email.py /opt/gentoo-retirement-scripts/third-mail.template
> Add-on packages which run stand-alone without dependencies to the distribution. That's curious because none of the packages in my /opt match this description.
Also, IIRC, the scripts require a flat-layout, which /opt is for.
So it's o.k. to have a flat layout? I'll try to remember this for my next python package. :)