Package portage :: Module news
[hide private]

Module news

source code

Classes [hide private]
  NewsManager
This object manages GLEP 42 style news items.
  NewsItem
This class encapsulates a GLEP 42 style news item.
  DisplayRestriction
A base restriction object representing a restriction of display.
  DisplayProfileRestriction
A profile restriction where a particular item shall only be displayed if the user is running a specific profile.
  DisplayKeywordRestriction
A keyword restriction where a particular item shall only be displayed if the user is running a specific keyword.
  DisplayInstalledRestriction
An Installation restriction where a particular item shall only be displayed if the user has that item installed.
Variables [hide private]
  _installedRE = re.compile(r'Display-If-Installed:(.*)\n')
  _profileRE = re.compile(r'Display-If-Profile:(.*)\n')
  _keywordRE = re.compile(r'Display-If-Keyword:(.*)\n')

Imports: errno, os, re, INCREMENTALS, PROFILE_PATH, NEWS_LIB_PATH, ensure_dirs, apply_permissions, normalize_path, grabfile, write_atomic, portage_gid, lockfile, unlockfile, lockdir, unlockdir, FileNotFound, OperationNotPermitted