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 314AC13824A for ; Sat, 7 May 2016 21:23:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC41CE0867; 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 C38D4E085B for ; Sat, 7 May 2016 21:22:54 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B46CD20291 for ; Sat, 7 May 2016 17:22:53 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.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=1x2SOlp2M1XsSbw 85Jzy5KXv2sA=; b=Qz0FALEIxbpTOWET1iS4y/DfjhatSqs5t6LUhlrwfFpnPbo Usy1SR1qWt5/bl21gVTf8/eqkxpk0exVss1ywV06qoU+xPC4NCIMMKM6BmpT/vN5 4UuLjwx/KtzPd3ciURuAa7EliHiXVYdjSCwfLfzb1q7fif97MviOUbHX5rMU= X-Sasl-enc: kCGlGT0mdsZ3HCgpRk7hD5Bk6AZGKP1eLmbh92lZpLgj 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 74EE16801FE 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 2/3] xml-test/singularity: tests for at-most-one element violations Date: Sat, 7 May 2016 17:22:39 -0400 Message-Id: <1462656160-13578-2-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: 0662636d-3b97-4f90-9a49-c952a44ea11c X-Archives-Hash: d1a9c43ce87bf5c784a8cad6b7fff568 Signed-off-by: Göktürk Yüksek --- xml-test/singularity/metadata.xml | 43 +++++++++++++++++++++++++++++ xml-test/singularity/singularity-0.1.ebuild | 11 ++++++++ 2 files changed, 54 insertions(+) create mode 100644 xml-test/singularity/metadata.xml create mode 100644 xml-test/singularity/singularity-0.1.ebuild diff --git a/xml-test/singularity/metadata.xml b/xml-test/singularity/metadata.xml new file mode 100644 index 0000000..640acf6 --- /dev/null +++ b/xml-test/singularity/metadata.xml @@ -0,0 +1,43 @@ + + + + + Tests for elements with at most one occurrence. + + Singularity doesn't check for uniqueness. We are only interested + in elements that can't appear more than once. + + The tests are conservative: if we check <email> element + singularity in downstream maintainer, we do not check it again + in upstream maintainer. + + + gen-b0rk@gentoo.org + + at-most-one-violation@gentoo.org + + + Match SONAME of libsingularity.so + + at-most-one violation + + + + Gen B0rk + + at-most-one violation + + https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/ + + https://gentoo.org/at-most-one-violation.html + http://www.example.com/issues.html + + https://gentoo.org/at-most-one-violation + + + + + Gen B0rk + + + diff --git a/xml-test/singularity/singularity-0.1.ebuild b/xml-test/singularity/singularity-0.1.ebuild new file mode 100644 index 0000000..6683aad --- /dev/null +++ b/xml-test/singularity/singularity-0.1.ebuild @@ -0,0 +1,11 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Tests for element singularity" +HOMEPAGE="https://wiki.gentoo.org/wiki/GLEP:68" +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64" -- 2.7.3