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 8E168138222 for ; Wed, 4 May 2016 06:43:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6129E2240EA; Wed, 4 May 2016 06:43:18 +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 C829D2240E8 for ; Wed, 4 May 2016 06:43:17 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5CA092036F for ; Wed, 4 May 2016 02:43:15 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Wed, 04 May 2016 02:43:15 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=HIo5fjb0pCQTn7Ry94Dpw7baUYI=; b=QWVjC LJl+QTOUgW/GlAoH0rcYNBXWM0pgXUy/8HwAGlvN839Ik7UQk9WEbknvIrmICBQw CnlNxk8/eyMeWuv6iwCw3PS2Sx5rkWS0/YtWmlQ7UWKixK8ODBZXTbNspivdujc/ xU81NuhrX+DaB2etPYATocpVOJZOAWG9+kQwaQ= X-Sasl-enc: jxsiA3QXbQRdZu5D2CcdZv60Uh/V/yOjRyVyfH9p3qHF 1462344195 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 17007680171 for ; Wed, 4 May 2016 02:43:15 -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] xml-test/valid: valid metadata.xml test based on the example in GLEP 68 Date: Wed, 4 May 2016 02:43:05 -0400 Message-Id: <1462344185-32171-1-git-send-email-gokturk@binghamton.edu> X-Mailer: git-send-email 2.7.3 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: 3f7fda53-c461-4ee4-a56d-8a4ee331fafa X-Archives-Hash: dfd1f403fb400fb2ee8192ec2cd79674 Signed-off-by: Göktürk Yüksek --- xml-test/valid/metadata.xml | 64 +++++++++++++++++++++++++++++++++++++++++ xml-test/valid/valid-0.1.ebuild | 12 ++++++++ 2 files changed, 76 insertions(+) create mode 100644 xml-test/valid/metadata.xml create mode 100644 xml-test/valid/valid-0.1.ebuild diff --git a/xml-test/valid/metadata.xml b/xml-test/valid/metadata.xml new file mode 100644 index 0000000..c33f7ac --- /dev/null +++ b/xml-test/valid/metadata.xml @@ -0,0 +1,64 @@ + + + + + + developer@example.com + Example Developer + + + project@example.com + Example Project + + + upstream@example.com + Upstream Developer + Upstream developer, wishing to be CC-ed on bugs + + + First paragraph of extensive description. + + Second paragraph. + + + Erster Absatz mit detaillierter Beschreibung. + + Zweiter Absatz. + + + Compatibility slot providing libvalid.so.11 only. + + Match SONAME of libvalid.so. + + + + Kompatibilitäts-Slot, installiert ausschließlich libvalid.so.11. + + Subslot ist stets identisch mit dem SONAME von libvalid.so. + + + + Enables foo feature + Enables bar feature (requires xml-test/missing) + Enables bar feature + + + Konfiguriert das Paket mit Unterstütztung für foo + Konfiguriert das Paket mit Unterstütztung für bar (benötigt xml-test/missing) + Konfiguriert das Paket mit Unterstütztung für bar + + + + upstream@example.com + Upstream Developer + + + John Smith + + http://www.example.com/releases.html + http://www.example.com/doc.html + http://www.example.com/doc.de.html + http://www.example.com/issues.html + gentoo/gen-b0rk + + diff --git a/xml-test/valid/valid-0.1.ebuild b/xml-test/valid/valid-0.1.ebuild new file mode 100644 index 0000000..3b2c1c8 --- /dev/null +++ b/xml-test/valid/valid-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="GLEP68 compliant metadata example" +HOMEPAGE="https://wiki.gentoo.org/wiki/GLEP:68#Example_metadata.xml_file" +LICENSE="HPND" +SLOT="11" +KEYWORDS="~amd64" +IUSE="foo bar" -- 2.7.3