summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernardo Meurer <meurerbernardo@gmail.com>2019-10-13 17:08:02 -0700
committerJoonas Niilola <juippis@gentoo.org>2019-10-23 07:57:20 +0300
commita68e2628f136b0c91d2e2e494e8020d3e7623267 (patch)
tree1f1b2bd4f2a1f3a799dfbdfab467a8aea8cd2357 /app-editors/neovim
parentnet-dns/dnsviz: fix homepage (diff)
downloadgentoo-a68e2628f136b0c91d2e2e494e8020d3e7623267.tar.gz
gentoo-a68e2628f136b0c91d2e2e494e8020d3e7623267.tar.bz2
gentoo-a68e2628f136b0c91d2e2e494e8020d3e7623267.zip
app-editors/neovim: replace wrong USE flags with elog notices
Closes: https://bugs.gentoo.org/697622 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Bernardo Meurer <bernardo@standard.ai> Closes: https://github.com/gentoo/gentoo/pull/13289 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors/neovim')
-rw-r--r--app-editors/neovim/neovim-0.4.2.ebuild18
-rw-r--r--app-editors/neovim/neovim-9999.ebuild19
2 files changed, 14 insertions, 23 deletions
diff --git a/app-editors/neovim/neovim-0.4.2.ebuild b/app-editors/neovim/neovim-0.4.2.ebuild
index 7726bfae3ed..cf111db0b07 100644
--- a/app-editors/neovim/neovim-0.4.2.ebuild
+++ b/app-editors/neovim/neovim-0.4.2.ebuild
@@ -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"
@@ -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
@@ -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
@@ -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
}
diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-9999.ebuild
index 794068e522f..cf111db0b07 100644
--- a/app-editors/neovim/neovim-9999.ebuild
+++ b/app-editors/neovim/neovim-9999.ebuild
@@ -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"
@@ -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
@@ -28,7 +28,6 @@ BDEPEND="
"
DEPEND="
- dev-libs/libutf8proc:=
dev-libs/libuv:0=
>=dev-libs/libvterm-0.1
dev-libs/msgpack:0=
@@ -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
@@ -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
}