pkgcore.ebuild.repo_objs module

package class for buildable ebuilds

class pkgcore.ebuild.repo_objs.Licenses(*a, **kw)[source]

Bases: object

groups

Return the mapping of defined license groups to licenses for a repo.

license_groups_path
licenses

Return the set of all defined licenses in a repo.

licenses_dir
refresh()[source]
class pkgcore.ebuild.repo_objs.LocalMetadataXml(source)[source]

Bases: MetadataXml

class pkgcore.ebuild.repo_objs.LocalProjectsXml(source)[source]

Bases: ProjectsXml

class pkgcore.ebuild.repo_objs.Maintainer(email=None, name=None, description=None, maint_type=None, proxied=None)[source]

Bases: object

Data on a single maintainer.

At least one of email and name is not C{None}.

Variables:
  • email – email address.

  • name – full name

  • description – description of maintainership.

  • maint_type – maintainer type (person or project).

  • proxied – proxied maintainer status (yes, no, proxy)

description
email
maint_type
name
proxied
class pkgcore.ebuild.repo_objs.MetadataXml(source)[source]

Bases: object

metadata.xml parsed results

Attributes are set to -1 if unloaded, None if no entry, or the value if loaded.

property local_use
property longdescription
property maintainers
property stabilize_allarches
property upstreams
class pkgcore.ebuild.repo_objs.OverlayedProfiles(*profiles_sources)[source]

Bases: Profiles

profiles
refresh()[source]
class pkgcore.ebuild.repo_objs.Project(email, name=None, url=None, description=None, members=(), subprojects=())[source]

Bases: object

Data on a single project.

Variables:
  • email – email address.

  • name – full name

  • url – project website URI

  • description – full project description.

  • members – project members

  • subprojects – subprojects

description
email
property leads

Project lead(s), if any.

members
name
property recursive_members

All project members, including members inherited from subprojects.

subprojects
url
class pkgcore.ebuild.repo_objs.ProjectMember(email, name=None, role=None, is_lead=None)[source]

Bases: object

Data on a single project member.

Variables:
  • email – email address.

  • name – full name

  • role – role within the project.

  • is_lead – whether the member is a project lead.

email
is_lead
name
role
class pkgcore.ebuild.repo_objs.ProjectsXml(source)[source]

Bases: object

projects.xml parsed results

Attributes are set to -1 if unloaded, None if no entry, or the value if loaded.

projects
class pkgcore.ebuild.repo_objs.SharedPkgData(metadata_xml, manifest)[source]

Bases: object

manifest
metadata_xml
class pkgcore.ebuild.repo_objs.Subproject(ref, projects_xml, inherit_members=None)[source]

Bases: object

Data on a subproject.

Variables:

inherit_members – whether the parent project inherits members from this subproject

inherit_members
project