Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/neovim/
Date: Fri, 28 Dec 2018 21:06:51
Message-Id: 1546031063.f4d9c83716cf99b62fbad3583536e0ef9c0aefbb.radhermit@gentoo
1 commit: f4d9c83716cf99b62fbad3583536e0ef9c0aefbb
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 28 20:59:18 2018 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 28 21:04:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d9c837
7
8 app-editors/neovim: re-add dep versions along with slot ops
9
10 Closes: https://bugs.gentoo.org/669710
11
12 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
13
14 .../{neovim-9999.ebuild => neovim-0.3.1-r1.ebuild} | 23 ++++++++++++++++------
15 app-editors/neovim/neovim-9999.ebuild | 23 ++++++++++++++++------
16 2 files changed, 34 insertions(+), 12 deletions(-)
17
18 diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-0.3.1-r1.ebuild
19 similarity index 85%
20 copy from app-editors/neovim/neovim-9999.ebuild
21 copy to app-editors/neovim/neovim-0.3.1-r1.ebuild
22 index 28da413392a..6b502b1c3d9 100644
23 --- a/app-editors/neovim/neovim-9999.ebuild
24 +++ b/app-editors/neovim/neovim-0.3.1-r1.ebuild
25 @@ -1,11 +1,13 @@
26 # Copyright 1999-2018 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 -EAPI=6
30 -inherit cmake-utils
31 +EAPI=7
32 +
33 +inherit cmake-utils xdg-utils
34
35 DESCRIPTION="Vim-fork focused on extensibility and agility."
36 HOMEPAGE="https://neovim.io"
37 +
38 if [[ ${PV} == 9999 ]]; then
39 inherit git-r3
40 EGIT_REPO_URI="https://github.com/neovim/neovim.git"
41 @@ -18,8 +20,8 @@ LICENSE="Apache-2.0 vim"
42 SLOT="0"
43 IUSE="+clipboard +luajit +nvimpager python remote ruby +tui +jemalloc"
44
45 -CDEPEND=">=dev-libs/libuv-1.2.0
46 - >=dev-libs/msgpack-1.0.0
47 +CDEPEND=">=dev-libs/libuv-1.2.0:0=
48 + >=dev-libs/msgpack-1.0.0:0=
49 luajit? ( dev-lang/luajit:2 )
50 !luajit? (
51 dev-lang/lua:=
52 @@ -27,12 +29,13 @@ CDEPEND=">=dev-libs/libuv-1.2.0
53 )
54 tui? (
55 >=dev-libs/libtermkey-0.19
56 - >=dev-libs/unibilium-2.0.0
57 + >=dev-libs/unibilium-1.1.1:0=
58 )
59 dev-libs/libvterm
60 dev-lua/lpeg[luajit=]
61 dev-lua/mpack[luajit=]
62 - jemalloc? ( dev-libs/jemalloc )"
63 + jemalloc? ( dev-libs/jemalloc )
64 + net-libs/libnsl"
65
66 DEPEND="
67 ${CDEPEND}
68 @@ -81,3 +84,11 @@ src_install() {
69 dosym ../share/nvim/runtime/macros/less.sh /usr/bin/nvimpager
70 fi
71 }
72 +
73 +pkg_postinst() {
74 + xdg_desktop_database_update
75 +}
76 +
77 +pkg_postrm() {
78 + xdg_desktop_database_update
79 +}
80
81 diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-9999.ebuild
82 index 28da413392a..bab41265d1f 100644
83 --- a/app-editors/neovim/neovim-9999.ebuild
84 +++ b/app-editors/neovim/neovim-9999.ebuild
85 @@ -1,11 +1,13 @@
86 # Copyright 1999-2018 Gentoo Authors
87 # Distributed under the terms of the GNU General Public License v2
88
89 -EAPI=6
90 -inherit cmake-utils
91 +EAPI=7
92 +
93 +inherit cmake-utils xdg-utils
94
95 DESCRIPTION="Vim-fork focused on extensibility and agility."
96 HOMEPAGE="https://neovim.io"
97 +
98 if [[ ${PV} == 9999 ]]; then
99 inherit git-r3
100 EGIT_REPO_URI="https://github.com/neovim/neovim.git"
101 @@ -18,8 +20,8 @@ LICENSE="Apache-2.0 vim"
102 SLOT="0"
103 IUSE="+clipboard +luajit +nvimpager python remote ruby +tui +jemalloc"
104
105 -CDEPEND=">=dev-libs/libuv-1.2.0
106 - >=dev-libs/msgpack-1.0.0
107 +CDEPEND=">=dev-libs/libuv-1.2.0:0=
108 + >=dev-libs/msgpack-1.0.0:0=
109 luajit? ( dev-lang/luajit:2 )
110 !luajit? (
111 dev-lang/lua:=
112 @@ -27,12 +29,13 @@ CDEPEND=">=dev-libs/libuv-1.2.0
113 )
114 tui? (
115 >=dev-libs/libtermkey-0.19
116 - >=dev-libs/unibilium-2.0.0
117 + >=dev-libs/unibilium-2.0.0:0=
118 )
119 dev-libs/libvterm
120 dev-lua/lpeg[luajit=]
121 dev-lua/mpack[luajit=]
122 - jemalloc? ( dev-libs/jemalloc )"
123 + jemalloc? ( dev-libs/jemalloc )
124 + net-libs/libnsl"
125
126 DEPEND="
127 ${CDEPEND}
128 @@ -81,3 +84,11 @@ src_install() {
129 dosym ../share/nvim/runtime/macros/less.sh /usr/bin/nvimpager
130 fi
131 }
132 +
133 +pkg_postinst() {
134 + xdg_desktop_database_update
135 +}
136 +
137 +pkg_postrm() {
138 + xdg_desktop_database_update
139 +}