logo

overlay

My (experimental) gentoo overlay
commit: a2370c7ee8d5c423b67060cb4363e9e1f4341c34
parent: c7938b70e9ac06b180b19ef7a22f3d080eff6f1e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 27 Jan 2018 17:03:46 +0100

app-editors/vis: Remove version 0.3

Diffstat:

Dapp-editors/vis/vis-0.3.ebuild56--------------------------------------------------------
1 file changed, 0 insertions(+), 56 deletions(-)

diff --git a/app-editors/vis/vis-0.3.ebuild b/app-editors/vis/vis-0.3.ebuild @@ -1,56 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PTV=0.1 -MY_PT=${PN}-test-${MY_PTV} - -DESCRIPTION="modern, legacy free, simple yet efficient vim-like editor" -HOMEPAGE="https://github.com/martanne/vis" -SRC_URI="https://github.com/martanne/vis/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/martanne/vis-test/archive/v${MY_PTV}.tar.gz -> ${MY_PT}.tar.gz )" -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="+ncurses lua lpeg selinux test tre" - -#TODO: virtual/curses -DEPEND="dev-libs/libtermkey - lua? ( >=dev-lang/lua-5.2:= ) - tre? ( dev-libs/tre:= ) - ncurses? ( sys-libs/ncurses:= )" -RDEPEND="${DEPEND} - lua? ( lpeg? ( >=dev-lua/lpeg-0.12 ) ) - app-eselect/eselect-vi" - -src_prepare() { - if use test; then - rm -r test || die - mv "${WORKDIR}/${MY_PT}" test - which vim &>/dev/null || sed -i 's/.*vim.*//' test/Makefile - fi - - default -} - -src_configure() { - econf \ - $(use_enable lua) \ - $(use_enable ncurses curses) \ - $(use_enable selinux) \ - $(use_enable tre) -} - -update_symlinks() { - einfo "Calling eselect vi update --if-unset…" - eselect vi update --if-unset -} - -pkg_postrm() { - update_symlinks -} - -pkg_postinst() { - update_symlinks -}