Gentoo Archives: gentoo-dev

From: Ben de Groot <yngwin@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [RFC] please review ebuilds for neovim and deps
Date: Mon, 23 Feb 2015 08:07:29
Message-Id: CAB9SyzRe6EFm4Qp8nqQwcQ4rzEbNcFpavhn0ZVBZm8EEahW+Nw@mail.gmail.com
In Reply to: Re: [gentoo-dev] [RFC] please review ebuilds for neovim and deps by "Vadim A. Misbakh-Soloviov"
1 On 23 February 2015 at 14:17, Vadim A. Misbakh-Soloviov <mva@×××.name> wrote:
2 > I'd also say:
3 >
4 > neovim:
5 >
6 >> CDEPEND="dev-lang/luajit
7 >> <...>
8 >> dev-lua/LuaBitOp
9 >
10 > 1) I'm not sure luajit:1 fits the dep
11 > 2) LuaJIT:2 has it's own bit modules and is unneded LuaBitOp
12
13 Thanks! I don't know that much about lua, so this is very helpful.
14
15 > Unibilium:
16 > 1.1.2 made a day ago. Bump, please ;)
17
18 Already on it.
19
20 > lua-MessagePack:
21 >> RDEPEND=">=dev-lang/lua-5.1"
22 > And what about LuaJIT? Huh?
23
24 Yeah, but I just followed what I found upstream.
25
26 > Also, I've it in lua overlay, called dev-lua/messagepack, though. Naming can
27 > be discussed.
28
29 I don't mind either way. But again, I just followed upstream.
30
31 > But main point is:
32 >
33 >> RDEPEND="
34 >> !luajit? (
35 >> !lua53? (
36 >> || (
37 >> =dev-lang/lua-5.1*
38 >> =dev-lang/lua-5.2*
39 >> )
40 >> )
41 >> lua53? ( =dev-lang/lua-5.3* )
42 >> )
43 >> luajit? ( dev-lang/luajit:2 )
44 >>"
45 >> <...>
46 >>src_install() {
47 >> local lua=lua
48 >> use luajit && lua=luajit
49 >>
50 >> insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})"
51 >> if use lua53; then
52 >> doins src5.3/MessagePack.lua
53 >> else
54 >> doins src/MessagePack.lua
55 >> fi
56 >>}
57
58 Thanks. But I think we can simplify that for now, since lua53 isn't
59 available (neither in the official tree or the lua overlay) and
60 >=lua-5.2 is hardmasked.
61
62 --
63 Cheers,
64
65 Ben | yngwin
66 Gentoo developer

Replies

Subject Author
Re: [gentoo-dev] [RFC] please review ebuilds for neovim and deps "Vadim A. Misbakh-Soloviov" <mva@×××.name>