Gentoo Archives: gentoo-dev

From: hasufell <hasufell@g.o>
To: gentoo-dev@l.g.o, George Shapovalov <george@g.o>
Subject: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gcc/
Date: Wed, 02 Sep 2015 14:30:07
Message-Id: 55E707E0.3050308@gentoo.org
1 On 09/02/2015 02:23 PM, George Shapovalov wrote:
2 > commit: 12dc193801fc938bb00bfe3b6a215383fa877532
3 > Author: George Shapovalov <george <AT> gentoo <DOT> org>
4 > AuthorDate: Mon Aug 31 12:24:34 2015 +0000
5 > Commit: George Shapovalov <george <AT> gentoo <DOT> org>
6 > CommitDate: Wed Sep 2 12:22:13 2015 +0000
7 > URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12dc1938
8 >
9 > cleaned up ebuild to correspond to latest requirements; added EAPI in prep for gnatbuild.eclass cleanup
10 >
11
12 [...]
13
14 >
15 > diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild
16 > index b987907..4346623 100644
17 > --- a/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild
18 > +++ b/dev-lang/gnat-gcc/gnat-gcc-4.6.4.ebuild
19 > @@ -2,6 +2,7 @@
20 > # Distributed under the terms of the GNU General Public License v2
21 > # $Id$
22 >
23 > +EAPI=5
24 > inherit gnatbuild
25 >
26 > DESCRIPTION="GNAT Ada Compiler - gcc version"
27 > @@ -28,7 +29,7 @@ RDEPEND=">=dev-libs/mpfr-3.1.2
28 > >=dev-libs/gmp-5.1.3
29 > >=dev-libs/mpc-1.0.1
30 > >=sys-libs/zlib-1.2
31 > - >=sys-libs/ncurses-5.7"
32 > + >=sys-libs/ncurses-5.7:*"
33 >
34 > DEPEND="${RDEPEND}
35 > doc? ( >=sys-apps/texinfo-5 )
36 >
37
38 This doesn't look correct to me, unless dev-lang/gnat-gcc doesn't need
39 ncurses headers(?). Only sys-libs/ncurses:0 provides headers (the other
40 slots are for binary compatibility), so we probably want to depend on
41 SLOT :0. In addition, if we fix the SLOT to :0, we should do a revbump
42 to ensure that user VDB is updated correctly.

Replies