1 |
--- |
2 |
pym/portage/xml/metadata.py | 3 +++ |
3 |
1 file changed, 3 insertions(+) |
4 |
|
5 |
diff --git a/pym/portage/xml/metadata.py b/pym/portage/xml/metadata.py |
6 |
index fcd9dc0..33b9779 100644 |
7 |
--- a/pym/portage/xml/metadata.py |
8 |
+++ b/pym/portage/xml/metadata.py |
9 |
@@ -80,6 +80,8 @@ class _Maintainer(object): |
10 |
@ivar name: Maintainer's name. Used for both Gentoo and upstream. |
11 |
@type description: str or None |
12 |
@ivar description: Description of what a maintainer does. Gentoo only. |
13 |
+ @type maint_type: str or None |
14 |
+ @ivar maint_type: GLEP67 maintainer type (project or person). Gentoo only. |
15 |
@type restrict: str or None |
16 |
@ivar restrict: e.g. >=portage-2.2 means only maintains versions |
17 |
of Portage greater than 2.2. Should be DEPEND string with < and > |
18 |
@@ -92,6 +94,7 @@ class _Maintainer(object): |
19 |
self.email = None |
20 |
self.name = None |
21 |
self.description = None |
22 |
+ self.maint_type = node.get('type') |
23 |
self.restrict = node.get('restrict') |
24 |
self.status = node.get('status') |
25 |
for attr in node: |
26 |
-- |
27 |
2.7.0 |