Gentoo Overlay: Home Assistant on Gentoo Linux without virtualenv or docker.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
4.3 KiB

  1. <!-- Metadata for a category -->
  2. <!ELEMENT catmetadata ( (longdescription)* )>
  3. <!ATTLIST catmetadata pkgname CDATA "">
  4. <!-- Metadata for a package -->
  5. <!ELEMENT pkgmetadata ( (maintainer|longdescription|slots|stabilize-allarches|use|upstream)* )>
  6. <!ATTLIST pkgmetadata pkgname CDATA "">
  7. <!-- One tag for each maintainer of a package, multiple allowed-->
  8. <!ELEMENT maintainer (email|name|description)+>
  9. <!-- type attribute determines whether the maintainer is a person or a project.
  10. Unknown is added to handle <maintainer/>s in <upstream/>s. Using it (or no
  11. explicit type) for Gentoo maintainers is prohibited. -->
  12. <!ATTLIST maintainer type (person|project|unknown) "unknown">
  13. <!-- A long description of the package in freetext-->
  14. <!ELEMENT longdescription (#PCDATA|pkg|cat)* >
  15. <!-- A description of the packages SLOTs -->
  16. <!ELEMENT slots ((slot)*,subslots?) >
  17. <!-- A particular SLOT -->
  18. <!ELEMENT slot (#PCDATA)* >
  19. <!-- name attribute holds the name of the SLOT, for sub-SLOTS
  20. use the subslots element. A slot name of '*' can be used to
  21. indicate a single description applying to all the slots in which
  22. case no other <slot/> elements may be present. -->
  23. <!ATTLIST slot name CDATA #REQUIRED >
  24. <!-- The meaning of sub-SLOTs for the whole package -->
  25. <!ELEMENT subslots (#PCDATA)* >
  26. <!-- whether it's possible to stabilize ALLARCHES -->
  27. <!ELEMENT stabilize-allarches EMPTY>
  28. <!-- description of what this USE flag does for this package -->
  29. <!ELEMENT use (flag)* >
  30. <!ELEMENT flag (#PCDATA|pkg|cat)* >
  31. <!-- name attribute holds the name of the USE flag -->
  32. <!ATTLIST flag name CDATA #REQUIRED >
  33. <!-- upstream metadata information (maintainers, upstream docs,..) -->
  34. <!ELEMENT upstream (maintainer|changelog|doc|bugs-to|remote-id)* >
  35. <!-- Due to the limitation of DTD this will also allow a status
  36. attribute for the package maintainer element. Please note that
  37. the usage of the status attribute is nevertheless _only_ allowed
  38. in the upstream maintainer element. -->
  39. <!ATTLIST maintainer status (active|inactive|unknown) "unknown" >
  40. <!-- URL where the upstream changelog can be found -->
  41. <!ELEMENT changelog (#PCDATA)>
  42. <!-- URL where the location of the upstream documentation can be found -->
  43. <!ELEMENT doc (#PCDATA)>
  44. <!ATTLIST doc lang CDATA "en" >
  45. <!-- location where to report bugs
  46. (may also be an email address prefixed with mailto:) -->
  47. <!ELEMENT bugs-to (#PCDATA)>
  48. <!-- specify a type of package identification tracker -->
  49. <!ELEMENT remote-id (#PCDATA)>
  50. <!ATTLIST remote-id type (bitbucket|cpan|cpan-module|cpe|cran|ctan|freecode|freshmeat|gentoo|github|gitlab|gitorious|google-code|launchpad|pear|pecl|pypi|rubyforge|rubygems|sourceforge|sourceforge-jp|vim) #REQUIRED>
  51. <!-- category/package information for cross-linking in descriptions
  52. and useflag descriptions -->
  53. <!ELEMENT pkg (#PCDATA) >
  54. <!ELEMENT cat (#PCDATA) >
  55. <!-- Common attributes -->
  56. <!-- the lang attribute, specifies the language of this tag in the
  57. form of a ISO 639-1 language code. This is only useful for
  58. descriptions of various kinds. If a tag with this attribute is
  59. included there must be a description in the default language "en" -->
  60. <!ATTLIST description lang CDATA "en" >
  61. <!ATTLIST longdescription lang CDATA "en" >
  62. <!ATTLIST slots lang CDATA "en" >
  63. <!ATTLIST use lang CDATA "en" >
  64. <!-- The restrict attribute, this attribute specifies restrictions on
  65. the applicability of tags on versions. The format of this attribute is
  66. equal to the format of DEPEND lines in ebuilds. Only package
  67. dependency specifications conforming to EAPI=0 syntax are allowed.
  68. The dependency specification may only contain references to the
  69. package itself and no other package.
  70. For required tags, there must be either an unrestricted version, or a
  71. version that is default restricted. -->
  72. <!ATTLIST maintainer restrict CDATA #IMPLIED >
  73. <!ATTLIST longdescription restrict CDATA #IMPLIED >
  74. <!ATTLIST flag restrict CDATA #IMPLIED >
  75. <!ATTLIST stabilize-allarches restrict CDATA #IMPLIED >
  76. <!-- standard parts -->
  77. <!-- an email address -->
  78. <!ELEMENT email (#PCDATA) >
  79. <!-- the name of a person (maintainer, contributor) -->
  80. <!ELEMENT name (#PCDATA) >
  81. <!-- A description of a maintainer or change -->
  82. <!ELEMENT description (#PCDATA) >