Skip to content

Commit

Permalink
dev-ada/gps: Only for gnat 2017
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Tupone <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
atupone committed Nov 17, 2018
1 parent bb79a13 commit edb48c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dev-ada/gps/gps-2017.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -17,7 +17,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed03b
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
IUSE="doc gnat_2016 +gnat_2017 gnat_2018"

RDEPEND="${PYTHON_DEPS}
>=dev-ada/gnatcoll-2017[gtk,iconv,pygobject,sqlite,static-libs,tools]
Expand All @@ -33,6 +33,9 @@ RDEPEND="${PYTHON_DEPS}

DEPEND="${RDEPEND}"

REQUIRED_USE="${PYTHON_REQUIRED_USE}
!gnat_2016 gnat_2017 !gnat_2018"

RESTRICT="test"

S="${WORKDIR}"/${MYP}
Expand Down
5 changes: 5 additions & 0 deletions dev-ada/gps/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<email>[email protected]</email>
<name>Tupone Alfredo</name>
</maintainer>
<use>
<flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag>
<flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag>
<flag name="gnat_2018">Compile with dev-lang/gnat-gpl-2018</flag>
</use>
<longdescription lang="en">
GPS is a lightweight, extensible IDE, intended to develop
high-integrity software in Ada and SPARK, with support for C and C++
Expand Down

0 comments on commit edb48c7

Please sign in to comment.