public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] portage.xml.metadata: Include maintainer type per GLEP 67
@ 2016-01-12 13:17 Michał Górny
  2016-01-12 13:25 ` Alexander Berntsen
  2016-01-15 13:43 ` Michał Górny
  0 siblings, 2 replies; 3+ messages in thread
From: Michał Górny @ 2016-01-12 13:17 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: Michał Górny

---
 pym/portage/xml/metadata.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pym/portage/xml/metadata.py b/pym/portage/xml/metadata.py
index fcd9dc0..33b9779 100644
--- a/pym/portage/xml/metadata.py
+++ b/pym/portage/xml/metadata.py
@@ -80,6 +80,8 @@ class _Maintainer(object):
 	@ivar name: Maintainer's name. Used for both Gentoo and upstream.
 	@type description: str or None
 	@ivar description: Description of what a maintainer does. Gentoo only.
+	@type maint_type: str or None
+	@ivar maint_type: GLEP67 maintainer type (project or person). Gentoo only.
 	@type restrict: str or None
 	@ivar restrict: e.g. >=portage-2.2 means only maintains versions
 		of Portage greater than 2.2. Should be DEPEND string with < and >
@@ -92,6 +94,7 @@ class _Maintainer(object):
 		self.email = None
 		self.name = None
 		self.description = None
+		self.maint_type = node.get('type')
 		self.restrict = node.get('restrict')
 		self.status = node.get('status')
 		for attr in node:
-- 
2.7.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-15 13:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-12 13:17 [gentoo-portage-dev] [PATCH] portage.xml.metadata: Include maintainer type per GLEP 67 Michał Górny
2016-01-12 13:25 ` Alexander Berntsen
2016-01-15 13:43 ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox