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 9A4FF13824A for ; Sat, 7 May 2016 21:23:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB631E0863; Sat, 7 May 2016 21:22:55 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6ECFE085C for ; Sat, 7 May 2016 21:22:54 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id E01162038A for ; Sat, 7 May 2016 17:22:53 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 07 May 2016 17:22:53 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=8Ottb1G8+K0hKm0 8tymJDr2b5XE=; b=bXeYXxfLMaGNMkhPPDukySS90CiURtQOEeDB0KnPYm1GFfr qWwnrjCHSRtfSvKluI1JhXvK0ofkwS0Ol2iColcw9A9y3udQKjsw8SNqgO9/nTVN A/AA9OiDZbl0g1/F7R4uqA34/uF0T0+XN653UR4uolcdrT9+O2OteFZiLD4c= X-Sasl-enc: kCG0Az4hb8t6By0sSFHhD5Bk6AZGKP1eLmbh92lZpLgj 1462656173 Received: from localhost.localdomain (cpe-66-24-84-54.stny.res.rr.com [66.24.84.54]) by mail.messagingengine.com (Postfix) with ESMTPA id 9CDAF6801E0 for ; Sat, 7 May 2016 17:22:53 -0400 (EDT) From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= To: gentoo-portage-dev@lists.gentoo.org Subject: [gentoo-portage-dev] [PATCH 3/3] xml-test/uniqueness: tests for unique (element,attribute,value) combinations Date: Sat, 7 May 2016 17:22:40 -0400 Message-Id: <1462656160-13578-3-git-send-email-gokturk@binghamton.edu> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1462656160-13578-1-git-send-email-gokturk@binghamton.edu> References: <1462656160-13578-1-git-send-email-gokturk@binghamton.edu> 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 35cddd6f-cad8-4058-9151-ab33b8031748 X-Archives-Hash: b0000d4b5d9348dffd0122df35b39880 Signed-off-by: Göktürk Yüksek --- xml-test/uniqueness/metadata.xml | 33 +++++++++++++++++++++++++++++++ xml-test/uniqueness/uniqueness-0.1.ebuild | 12 +++++++++++ 2 files changed, 45 insertions(+) create mode 100644 xml-test/uniqueness/metadata.xml create mode 100644 xml-test/uniqueness/uniqueness-0.1.ebuild diff --git a/xml-test/uniqueness/metadata.xml b/xml-test/uniqueness/metadata.xml new file mode 100644 index 0000000..84b3a1b --- /dev/null +++ b/xml-test/uniqueness/metadata.xml @@ -0,0 +1,33 @@ + + + + + Tests for the uniqueness of elements. + + Uniqueness focuses on element, attribute, value combinations + which must not repeat. + + The tests are conservative: i.e. if we check the + (longdescription, lang, restrict) combination, we do not check + (slots,lang, restrict). + + + uniqueness violation + + gen-b0rk@gentoo.org + + + + gen-b0rk@gentoo.org + + + Match the SONAME of libuniqueness.so + + uniqueness violation + + + Enable feature foo + + uniqueness violation + + diff --git a/xml-test/uniqueness/uniqueness-0.1.ebuild b/xml-test/uniqueness/uniqueness-0.1.ebuild new file mode 100644 index 0000000..03c3fa7 --- /dev/null +++ b/xml-test/uniqueness/uniqueness-0.1.ebuild @@ -0,0 +1,12 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Tests for (element, attribute, value) uniqueness" +HOMEPAGE="https://wiki.gentoo.org/wiki/GLEP:68" +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64" +IUSE="foo" -- 2.7.3