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/gps/
Date: Sat, 17 Nov 2018 13:35:00
Message-Id: 1542461681.edb48c7e8a9d29b3a11a6685e6a92ceeab38270c.tupone@gentoo
1 commit: edb48c7e8a9d29b3a11a6685e6a92ceeab38270c
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 17 13:34:41 2018 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 17 13:34:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edb48c7e
7
8 dev-ada/gps: Only for gnat 2017
9
10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-ada/gps/gps-2017.ebuild | 7 +++++--
14 dev-ada/gps/metadata.xml | 5 +++++
15 2 files changed, 10 insertions(+), 2 deletions(-)
16
17 diff --git a/dev-ada/gps/gps-2017.ebuild b/dev-ada/gps/gps-2017.ebuild
18 index 6156e0dde66..6aa621b988c 100644
19 --- a/dev-ada/gps/gps-2017.ebuild
20 +++ b/dev-ada/gps/gps-2017.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 +# Copyright 1999-2018 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -17,7 +17,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed03b
28 LICENSE="GPL-3"
29 SLOT="0"
30 KEYWORDS="~amd64 ~x86"
31 -IUSE="doc"
32 +IUSE="doc gnat_2016 +gnat_2017 gnat_2018"
33
34 RDEPEND="${PYTHON_DEPS}
35 >=dev-ada/gnatcoll-2017[gtk,iconv,pygobject,sqlite,static-libs,tools]
36 @@ -33,6 +33,9 @@ RDEPEND="${PYTHON_DEPS}
37
38 DEPEND="${RDEPEND}"
39
40 +REQUIRED_USE="${PYTHON_REQUIRED_USE}
41 + !gnat_2016 gnat_2017 !gnat_2018"
42 +
43 RESTRICT="test"
44
45 S="${WORKDIR}"/${MYP}
46
47 diff --git a/dev-ada/gps/metadata.xml b/dev-ada/gps/metadata.xml
48 index eb9ac43cfff..0657e56673c 100644
49 --- a/dev-ada/gps/metadata.xml
50 +++ b/dev-ada/gps/metadata.xml
51 @@ -5,6 +5,11 @@
52 <email>tupone@g.o</email>
53 <name>Tupone Alfredo</name>
54 </maintainer>
55 + <use>
56 + <flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag>
57 + <flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag>
58 + <flag name="gnat_2018">Compile with dev-lang/gnat-gpl-2018</flag>
59 + </use>
60 <longdescription lang="en">
61 GPS is a lightweight, extensible IDE, intended to develop
62 high-integrity software in Ada and SPARK, with support for C and C++