Skip to content

Commit

Permalink
app-editors/neovim: replace wrong USE flags with elog notices
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/697622
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Bernardo Meurer <[email protected]>
Closes: gentoo#13289
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
lovesegfault authored and juippis committed Oct 23, 2019
1 parent 7a820b9 commit a68e262
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 23 deletions.
18 changes: 7 additions & 11 deletions app-editors/neovim/neovim-0.4.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit cmake-utils xdg-utils
inherit cmake-utils eutils xdg

DESCRIPTION="Vim-fork focused on extensibility and agility."
HOMEPAGE="https://neovim.io"
Expand All @@ -18,7 +18,7 @@ fi

LICENSE="Apache-2.0 vim"
SLOT="0"
IUSE="+clipboard +luajit +nvimpager python remote ruby +tui"
IUSE="+luajit +nvimpager +tui"

BDEPEND="
dev-util/gperf
Expand Down Expand Up @@ -49,10 +49,6 @@ DEPEND="
RDEPEND="
${DEPEND}
app-eselect/eselect-vi
python? ( dev-python/neovim-python-client )
ruby? ( dev-ruby/neovim-ruby-client )
remote? ( dev-python/neovim-remote )
clipboard? ( || ( x11-misc/xsel x11-misc/xclip ) )
"

CMAKE_BUILD_TYPE=Release
Expand Down Expand Up @@ -87,9 +83,9 @@ src_install() {
}

pkg_postinst() {
xdg_desktop_database_update
}

pkg_postrm() {
xdg_desktop_database_update
xdg_pkg_postinst
optfeature "clipboard support" x11-misc/xsel x11-misc/xclip gui-apps/wl-clipboard
optfeature "Python plugin support" dev-python/neovim-python-client
optfeature "Ruby plugin support" dev-ruby/neovim-ruby-client
optfeature "remote/nvr support" dev-python/neovim-remote
}
19 changes: 7 additions & 12 deletions app-editors/neovim/neovim-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit cmake-utils xdg-utils
inherit cmake-utils eutils xdg

DESCRIPTION="Vim-fork focused on extensibility and agility."
HOMEPAGE="https://neovim.io"
Expand All @@ -18,7 +18,7 @@ fi

LICENSE="Apache-2.0 vim"
SLOT="0"
IUSE="+clipboard +luajit +nvimpager python remote ruby +tui"
IUSE="+luajit +nvimpager +tui"

BDEPEND="
dev-util/gperf
Expand All @@ -28,7 +28,6 @@ BDEPEND="
"

DEPEND="
dev-libs/libutf8proc:=
dev-libs/libuv:0=
>=dev-libs/libvterm-0.1
dev-libs/msgpack:0=
Expand All @@ -50,10 +49,6 @@ DEPEND="
RDEPEND="
${DEPEND}
app-eselect/eselect-vi
python? ( dev-python/neovim-python-client )
ruby? ( dev-ruby/neovim-ruby-client )
remote? ( dev-python/neovim-remote )
clipboard? ( || ( x11-misc/xsel x11-misc/xclip ) )
"

CMAKE_BUILD_TYPE=Release
Expand Down Expand Up @@ -88,9 +83,9 @@ src_install() {
}

pkg_postinst() {
xdg_desktop_database_update
}

pkg_postrm() {
xdg_desktop_database_update
xdg_pkg_postinst
optfeature "clipboard support" x11-misc/xsel x11-misc/xclip gui-apps/wl-clipboard
optfeature "Python plugin support" dev-python/neovim-python-client
optfeature "Ruby plugin support" dev-ruby/neovim-ruby-client
optfeature "remote/nvr support" dev-python/neovim-remote
}

0 comments on commit a68e262

Please sign in to comment.