1 |
commit: 59a1111fe5abb99b375c14428c68c96a2828cc0b |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 5 11:14:56 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 5 11:18:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a1111f |
7 |
|
8 |
app-editors/neovim: version bump. |
9 |
|
10 |
Also add a missing dependency: dev-util/gperf. |
11 |
|
12 |
I took this opportunity to stabilise a lot of reverse dependencies |
13 |
needed to emerge neovim. They have been sitting in the tree for a while |
14 |
(> 6 months) so we're safe to fast stabilise them. |
15 |
|
16 |
Bug: https://bugs.gentoo.org/628258 |
17 |
Closes: https://bugs.gentoo.org/636940 |
18 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
19 |
|
20 |
app-editors/neovim/Manifest | 1 + |
21 |
app-editors/neovim/neovim-0.2.2.ebuild | 81 ++++++++++++++++++++++++++++++++++ |
22 |
2 files changed, 82 insertions(+) |
23 |
|
24 |
diff --git a/app-editors/neovim/Manifest b/app-editors/neovim/Manifest |
25 |
index 53453fc4271..5327f56c018 100644 |
26 |
--- a/app-editors/neovim/Manifest |
27 |
+++ b/app-editors/neovim/Manifest |
28 |
@@ -7,3 +7,4 @@ DIST neovim-0.1.5.tar.gz 7813974 BLAKE2B 244633b131b86a15bee13abf003ee04d5c3243d |
29 |
DIST neovim-0.1.6.tar.gz 7810818 BLAKE2B c36cd224d767687b07c187940033fcbabb00f4b0a2ed2fc1838aadbeeb5acbf0c729c42ab0f82029fa2dc10b997e69f3ec2e85a01500f11380160ad9202bbba8 SHA512 360d69bc11a3cb7b2c203adc7e76edad736b1a2fb7033d2d0c6444da168053ea0b621daf7978e9c158e14c5e04af8599005bf5eb800d9d1776007257b0e0e56f |
30 |
DIST neovim-0.1.7.tar.gz 7601279 BLAKE2B 473665470740256fd9f555b3e85901f19a1800c68e2303f5fbf062bd5961f2735c6a836a48d6616e31c56ae97481d461e299bb358b7658ffea1a1b1b9c2147dd SHA512 f7dbac4b2090fbf9764585ebf147c529b655d6e30cca9404cd161e2bd78f3aaa2f714d86a8c3efd1935dc92363757c381833d0059043807db0bea3db2fc6d10c |
31 |
DIST neovim-0.2.0.tar.gz 7846467 BLAKE2B ee929122b3855ccab6247a0e8ab975b09d77e1034229ea324ed82ad705cacbd39f55d2fa96eea3f3677c7efe64c69ebecedd5fde09e508a6fd23acb6a1f5b489 SHA512 fc4be03c5bee1c9928376938679f9a900f3ee2e58df817d1cb9b5af51350dccca63a7638114b0326ec4565a047faaa4b50fecfc932c1d59ee92efa54625e22cd |
32 |
+DIST neovim-0.2.2.tar.gz 8325879 BLAKE2B dbf43c5927b8c8719adae9a3f73c57429de47f1b7c7489a118b7467df2f0d32cd02df8e10889727b4dd77fe8b4fb4f95520c678d6775d5d908705770a47cec0c SHA512 5609defe86ac98356f1b9ae9adc6049bb4df920a9a2ae3104f761d52d4dd54cbc84d2596231595dd9b0aa97201fef2121e6c5c86a19267ab6b871dbf4b568209 |
33 |
|
34 |
diff --git a/app-editors/neovim/neovim-0.2.2.ebuild b/app-editors/neovim/neovim-0.2.2.ebuild |
35 |
new file mode 100644 |
36 |
index 00000000000..a37942870e0 |
37 |
--- /dev/null |
38 |
+++ b/app-editors/neovim/neovim-0.2.2.ebuild |
39 |
@@ -0,0 +1,81 @@ |
40 |
+# Copyright 1999-2018 Gentoo Foundation |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI=6 |
44 |
+inherit cmake-utils |
45 |
+ |
46 |
+DESCRIPTION="Vim-fork focused on extensibility and agility." |
47 |
+HOMEPAGE="https://neovim.io" |
48 |
+if [[ ${PV} == 9999 ]]; then |
49 |
+ inherit git-r3 |
50 |
+ EGIT_REPO_URI="https://github.com/neovim/neovim.git" |
51 |
+else |
52 |
+ SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
53 |
+ KEYWORDS="~amd64" |
54 |
+fi |
55 |
+ |
56 |
+LICENSE="Apache-2.0 vim" |
57 |
+SLOT="0" |
58 |
+IUSE="+clipboard +luajit +nvimpager python ruby +tui +jemalloc" |
59 |
+ |
60 |
+CDEPEND=">=dev-libs/libuv-1.2.0 |
61 |
+ >=dev-libs/msgpack-1.0.0 |
62 |
+ luajit? ( dev-lang/luajit:2 ) |
63 |
+ !luajit? ( |
64 |
+ dev-lang/lua:= |
65 |
+ dev-lua/LuaBitOp |
66 |
+ ) |
67 |
+ tui? ( |
68 |
+ >=dev-libs/libtermkey-0.19 |
69 |
+ >=dev-libs/unibilium-1.1.1 |
70 |
+ ) |
71 |
+ dev-libs/libvterm |
72 |
+ dev-lua/lpeg[luajit=] |
73 |
+ dev-lua/mpack[luajit=] |
74 |
+ jemalloc? ( dev-libs/jemalloc )" |
75 |
+ |
76 |
+DEPEND=" |
77 |
+ ${CDEPEND} |
78 |
+ dev-util/gperf |
79 |
+ virtual/libiconv |
80 |
+ virtual/libintl" |
81 |
+ |
82 |
+RDEPEND=" |
83 |
+ ${CDEPEND} |
84 |
+ python? ( dev-python/neovim-python-client ) |
85 |
+ ruby? ( dev-ruby/neovim-ruby-client ) |
86 |
+ clipboard? ( || ( x11-misc/xsel x11-misc/xclip ) )" |
87 |
+ |
88 |
+CMAKE_BUILD_TYPE=RelWithDebInfo |
89 |
+ |
90 |
+src_prepare() { |
91 |
+ # use our system vim dir |
92 |
+ sed -e '/^# define SYS_VIMRC_FILE/s|$VIM|'"${EPREFIX}"'/etc/vim|' \ |
93 |
+ -i src/nvim/globals.h || die |
94 |
+ |
95 |
+ # add eclass to bash filetypes |
96 |
+ sed -e 's|*.ebuild|*.ebuild,*.eclass|' -i runtime/filetype.vim || die |
97 |
+ |
98 |
+ cmake-utils_src_prepare |
99 |
+} |
100 |
+ |
101 |
+src_configure() { |
102 |
+ local mycmakeargs=( |
103 |
+ -DFEAT_TUI=$(usex tui) |
104 |
+ -DENABLE_JEMALLOC=$(usex jemalloc) |
105 |
+ ) |
106 |
+ cmake-utils_src_configure |
107 |
+} |
108 |
+ |
109 |
+src_install() { |
110 |
+ cmake-utils_src_install |
111 |
+ |
112 |
+ # install a default configuration file |
113 |
+ insinto /etc/vim |
114 |
+ doins "${FILESDIR}"/sysinit.vim |
115 |
+ |
116 |
+ # conditionally install a symlink for nvimpager |
117 |
+ if use nvimpager; then |
118 |
+ dosym ../share/nvim/runtime/macros/less.sh /usr/bin/nvimpager |
119 |
+ fi |
120 |
+} |