Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/xmlada/
Date: Mon, 26 Jun 2017 20:06:46
Message-Id: 1498507588.417a3c1a3d6906ac5b259b0d61e7b20efcf9f213.tupone@gentoo
1 commit: 417a3c1a3d6906ac5b259b0d61e7b20efcf9f213
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 26 20:06:28 2017 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 26 20:06:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=417a3c1a
7
8 dev-ada/xmlada: add gnat_2016 and gnat_2017 use flags to select the compiler
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 dev-ada/xmlada/metadata.xml | 13 ++++++++++---
13 dev-ada/xmlada/xmlada-2017.ebuild | 10 ++++++----
14 2 files changed, 16 insertions(+), 7 deletions(-)
15
16 diff --git a/dev-ada/xmlada/metadata.xml b/dev-ada/xmlada/metadata.xml
17 index 521d595c3ff..6a0e93a661f 100644
18 --- a/dev-ada/xmlada/metadata.xml
19 +++ b/dev-ada/xmlada/metadata.xml
20 @@ -6,15 +6,22 @@
21 <name>Tupone Alfredo</name>
22 </maintainer>
23 <use>
24 + <flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag>
25 + <flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag>
26 <flag name="shared">Build shared library</flag>
27 <flag name="static">Build static library</flag>
28 <flag name="static-pic">Build static library with pic code</flag>
29 </use>
30 <longdescription lang="en">
31 - XML/Ada is a set of modules that provide a simple manipulation of XML streams. It supports the whole XML 1.1 specifications, and can parse any file that follows this standard (including the contents of the DTD, although no validation of the document is done based on those).
32 + XML/Ada is a set of modules that provide a simple manipulation of XML
33 + streams. It supports the whole XML 1.1 specifications, and can parse
34 + any file that follows this standard (including the contents of the DTD,
35 + although no validation of the document is done based on those).
36
37 - It also provides support for a number of other standard associated with XML, like SAX, DOM and XML schemas.
38 + It also provides support for a number of other standard associated
39 + with XML, like SAX, DOM and XML schemas.
40
41 - In addition, it includes a module to manipulate Unicode streams, since this is required by the XML standard.
42 + In addition, it includes a module to manipulate Unicode streams, since
43 + this is required by the XML standard.
44 </longdescription>
45 </pkgmetadata>
46
47 diff --git a/dev-ada/xmlada/xmlada-2017.ebuild b/dev-ada/xmlada/xmlada-2017.ebuild
48 index 08f0beb233e..b7d4d8f03d5 100644
49 --- a/dev-ada/xmlada/xmlada-2017.ebuild
50 +++ b/dev-ada/xmlada/xmlada-2017.ebuild
51 @@ -15,12 +15,14 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591aeb88c7a4473fcbb154f8 ->
52 LICENSE="GPL-3"
53 SLOT="0"
54 KEYWORDS="~amd64"
55 -IUSE="+shared static static-pic"
56 -REQUIRED_USE="|| ( shared static static-pic )"
57 +IUSE="gnat_2016 gnat_2017 +shared static static-pic"
58 +REQUIRED_USE="|| ( shared static static-pic )
59 + ^^ ( gnat_2016 gnat_2017 )"
60
61 -RDEPEND="dev-lang/gnat-gpl:*"
62 +RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
63 + gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )"
64 DEPEND="${RDEPEND}
65 - dev-ada/gprbuild"
66 + dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
67
68 S="${WORKDIR}"/${MYP}-src