Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/neovim/
Date: Sun, 07 Jan 2018 16:37:21
Message-Id: 1515342975.33dd70c7b63c21c71dc732f41f554708147b2ddd.monsieurp@gentoo
1 commit: 33dd70c7b63c21c71dc732f41f554708147b2ddd
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 7 11:32:54 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 7 16:36:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33dd70c7
7
8 app-editors/neovim: clean up old.
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 app-editors/neovim/neovim-0.2.0.ebuild | 81 ----------------------------------
13 app-editors/neovim/neovim-0.2.2.ebuild | 81 ----------------------------------
14 2 files changed, 162 deletions(-)
15
16 diff --git a/app-editors/neovim/neovim-0.2.0.ebuild b/app-editors/neovim/neovim-0.2.0.ebuild
17 deleted file mode 100644
18 index 374bd28354f..00000000000
19 --- a/app-editors/neovim/neovim-0.2.0.ebuild
20 +++ /dev/null
21 @@ -1,81 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -inherit cmake-utils
27 -
28 -DESCRIPTION="Vim-fork focused on extensibility and agility."
29 -HOMEPAGE="https://neovim.io"
30 -if [[ ${PV} == 9999 ]]; then
31 - inherit git-r3
32 - EGIT_REPO_URI="https://github.com/neovim/neovim.git"
33 -else
34 - SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
35 - KEYWORDS="~amd64 ~x86"
36 -fi
37 -
38 -LICENSE="Apache-2.0 vim"
39 -SLOT="0"
40 -IUSE="+clipboard +luajit +nvimpager python ruby +tui +jemalloc"
41 -
42 -CDEPEND=">=dev-libs/libuv-1.2.0
43 - >=dev-libs/msgpack-1.0.0
44 - luajit? ( dev-lang/luajit:2 )
45 - !luajit? (
46 - dev-lang/lua:=
47 - dev-lua/LuaBitOp
48 - )
49 - tui? (
50 - >=dev-libs/libtermkey-0.19
51 - >=dev-libs/unibilium-1.1.1
52 - )
53 - dev-libs/libvterm
54 - dev-lua/lpeg[luajit=]
55 - dev-lua/mpack[luajit=]
56 - jemalloc? ( dev-libs/jemalloc )"
57 -
58 -DEPEND="
59 - ${CDEPEND}
60 - dev-util/gperf
61 - virtual/libiconv
62 - virtual/libintl"
63 -
64 -RDEPEND="
65 - ${CDEPEND}
66 - python? ( dev-python/neovim-python-client )
67 - ruby? ( dev-ruby/neovim-ruby-client )
68 - clipboard? ( || ( x11-misc/xsel x11-misc/xclip ) )"
69 -
70 -CMAKE_BUILD_TYPE=RelWithDebInfo
71 -
72 -src_prepare() {
73 - # use our system vim dir
74 - sed -e '/^# define SYS_VIMRC_FILE/s|$VIM|'"${EPREFIX}"'/etc/vim|' \
75 - -i src/nvim/globals.h || die
76 -
77 - # add eclass to bash filetypes
78 - sed -e 's|*.ebuild|*.ebuild,*.eclass|' -i runtime/filetype.vim || die
79 -
80 - cmake-utils_src_prepare
81 -}
82 -
83 -src_configure() {
84 - local mycmakeargs=(
85 - -DFEAT_TUI=$(usex tui)
86 - -DENABLE_JEMALLOC=$(usex jemalloc)
87 - )
88 - cmake-utils_src_configure
89 -}
90 -
91 -src_install() {
92 - cmake-utils_src_install
93 -
94 - # install a default configuration file
95 - insinto /etc/vim
96 - doins "${FILESDIR}"/sysinit.vim
97 -
98 - # conditionally install a symlink for nvimpager
99 - if use nvimpager; then
100 - dosym ../share/nvim/runtime/macros/less.sh /usr/bin/nvimpager
101 - fi
102 -}
103
104 diff --git a/app-editors/neovim/neovim-0.2.2.ebuild b/app-editors/neovim/neovim-0.2.2.ebuild
105 deleted file mode 100644
106 index 374bd28354f..00000000000
107 --- a/app-editors/neovim/neovim-0.2.2.ebuild
108 +++ /dev/null
109 @@ -1,81 +0,0 @@
110 -# Copyright 1999-2018 Gentoo Foundation
111 -# Distributed under the terms of the GNU General Public License v2
112 -
113 -EAPI=6
114 -inherit cmake-utils
115 -
116 -DESCRIPTION="Vim-fork focused on extensibility and agility."
117 -HOMEPAGE="https://neovim.io"
118 -if [[ ${PV} == 9999 ]]; then
119 - inherit git-r3
120 - EGIT_REPO_URI="https://github.com/neovim/neovim.git"
121 -else
122 - SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
123 - KEYWORDS="~amd64 ~x86"
124 -fi
125 -
126 -LICENSE="Apache-2.0 vim"
127 -SLOT="0"
128 -IUSE="+clipboard +luajit +nvimpager python ruby +tui +jemalloc"
129 -
130 -CDEPEND=">=dev-libs/libuv-1.2.0
131 - >=dev-libs/msgpack-1.0.0
132 - luajit? ( dev-lang/luajit:2 )
133 - !luajit? (
134 - dev-lang/lua:=
135 - dev-lua/LuaBitOp
136 - )
137 - tui? (
138 - >=dev-libs/libtermkey-0.19
139 - >=dev-libs/unibilium-1.1.1
140 - )
141 - dev-libs/libvterm
142 - dev-lua/lpeg[luajit=]
143 - dev-lua/mpack[luajit=]
144 - jemalloc? ( dev-libs/jemalloc )"
145 -
146 -DEPEND="
147 - ${CDEPEND}
148 - dev-util/gperf
149 - virtual/libiconv
150 - virtual/libintl"
151 -
152 -RDEPEND="
153 - ${CDEPEND}
154 - python? ( dev-python/neovim-python-client )
155 - ruby? ( dev-ruby/neovim-ruby-client )
156 - clipboard? ( || ( x11-misc/xsel x11-misc/xclip ) )"
157 -
158 -CMAKE_BUILD_TYPE=RelWithDebInfo
159 -
160 -src_prepare() {
161 - # use our system vim dir
162 - sed -e '/^# define SYS_VIMRC_FILE/s|$VIM|'"${EPREFIX}"'/etc/vim|' \
163 - -i src/nvim/globals.h || die
164 -
165 - # add eclass to bash filetypes
166 - sed -e 's|*.ebuild|*.ebuild,*.eclass|' -i runtime/filetype.vim || die
167 -
168 - cmake-utils_src_prepare
169 -}
170 -
171 -src_configure() {
172 - local mycmakeargs=(
173 - -DFEAT_TUI=$(usex tui)
174 - -DENABLE_JEMALLOC=$(usex jemalloc)
175 - )
176 - cmake-utils_src_configure
177 -}
178 -
179 -src_install() {
180 - cmake-utils_src_install
181 -
182 - # install a default configuration file
183 - insinto /etc/vim
184 - doins "${FILESDIR}"/sysinit.vim
185 -
186 - # conditionally install a symlink for nvimpager
187 - if use nvimpager; then
188 - dosym ../share/nvim/runtime/macros/less.sh /usr/bin/nvimpager
189 - fi
190 -}