From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 42E791388BF for ; Tue, 12 Jan 2016 13:17:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4F9921C027; Tue, 12 Jan 2016 13:17:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E19821C023 for ; Tue, 12 Jan 2016 13:17:38 +0000 (UTC) Received: from localhost.localdomain (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id CDDBA3406F2; Tue, 12 Jan 2016 13:17:36 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-portage-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-portage-dev] [PATCH] portage.xml.metadata: Include maintainer type per GLEP 67 Date: Tue, 12 Jan 2016 14:17:25 +0100 Message-Id: <1452604645-18434-1-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 2.7.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Archives-Salt: 43df4f9b-fe0d-4829-8e13-28081910f596 X-Archives-Hash: 02d69c5c2e2bb394c35764001c42f487 --- 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