From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72935158091 for ; Wed, 1 Jun 2022 20:39:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B9D1E07F9; Wed, 1 Jun 2022 20:39:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CC16E07F9 for ; Wed, 1 Jun 2022 20:39:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F083F341B6A for ; Wed, 1 Jun 2022 20:39:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD8BE7F for ; Wed, 1 Jun 2022 20:39:28 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1653646549.f599228d19e81efb54e606c52a1562b857d71929.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/misc-files/metadata/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/misc-files/metadata/text.xml X-VCS-Directories: ebuild-writing/misc-files/metadata/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: f599228d19e81efb54e606c52a1562b857d71929 X-VCS-Branch: master Date: Wed, 1 Jun 2022 20:39:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fa44eaf2-1c7b-49ee-b792-5365b0aeaabb X-Archives-Hash: 28bed1758e51d5eb0e3bf9d35f2cccfe commit: f599228d19e81efb54e606c52a1562b857d71929 Author: Ulrich Müller gentoo org> AuthorDate: Fri May 27 10:15:49 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri May 27 10:15:49 2022 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=f599228d ebuild-writing/misc-files/metadata: Update restrict attribute The description currently says: "When this attribute is used, other tags with or without the restrict attribute must be present to cover all the versions of the package. A tag without the restrict attribute serves as the default." However, this is not reflected by the specification in GLEP 68. It appears to have originated from the old DevRel Handbook where it had been added in 2004: https://gitweb.gentoo.org/archive/proj/gentoo.git/tree/xml/htdocs/proj/en/devrel/handbook/hb-guide-metadata.xml?id=26d18f5f20f00e538b7af0d5a795008f3426d243#n135 Signed-off-by: Ulrich Müller gentoo.org> ebuild-writing/misc-files/metadata/text.xml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/ebuild-writing/misc-files/metadata/text.xml b/ebuild-writing/misc-files/metadata/text.xml index bcc43f4..9c6bd76 100644 --- a/ebuild-writing/misc-files/metadata/text.xml +++ b/ebuild-writing/misc-files/metadata/text.xml @@ -285,15 +285,12 @@ There are also some attributes that can be used with these tags: <stabilize-allarches>, <flag> - The restrict attribute allows one to restrict the application of - certain tags to certain versions of a package. When this attribute - is used, other tags with or without the restrict attribute must be - present to cover all the versions of the package. A tag without - the restrict attribute serves as the default. The format of the - restrict attribute is that of a EAPI=0 package dependency specification - (i.e., USE-conditional or slot dependendencies are not allowed). - Since < and > are special characters in XML, - they must be escaped using &lt; and &gt;. + The restrict attribute allows one to restrict the application of certain + tags to certain versions of a package. The format of the restrict attribute + is that of a EAPI 0 package dependency specification (i.e. USE-conditional + or slot dependendencies are not allowed). Since < and > + are special characters in XML, they must be escaped using &lt; + and &gt;.