From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A0191382C5 for ; Fri, 9 Feb 2018 16:38:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63960E0D5F; Fri, 9 Feb 2018 16:38:00 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 36DEBE0D5E for ; Fri, 9 Feb 2018 16:38:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 162FE335C53 for ; Fri, 9 Feb 2018 16:37:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1FDC1E6 for ; Fri, 9 Feb 2018 16:37:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1518194172.27ef8bc796486ac2f976efc129947b7da6c682e2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vis/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/vis/Manifest app-editors/vis/vis-0.4.ebuild X-VCS-Directories: app-editors/vis/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 27ef8bc796486ac2f976efc129947b7da6c682e2 X-VCS-Branch: master Date: Fri, 9 Feb 2018 16:37:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4bea8353-1fd9-4695-9526-0ee3b2ec0b18 X-Archives-Hash: 4dfd81d6ca46508dd3040e8c7cc0e70c commit: 27ef8bc796486ac2f976efc129947b7da6c682e2 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Fri Feb 9 15:41:10 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 9 16:36:12 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27ef8bc7 app-editors/vis: Bump to version 0.4 app-editors/vis/Manifest | 2 ++ app-editors/vis/vis-0.4.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/app-editors/vis/Manifest b/app-editors/vis/Manifest index a7f843902fe..14a092e5d28 100644 --- a/app-editors/vis/Manifest +++ b/app-editors/vis/Manifest @@ -1,2 +1,4 @@ DIST vis-0.3.tar.gz 334216 BLAKE2B 8cf89f1e3292beb5bf7bc9495e75b795225a4a29f4d949f212daf5dd42958f347b1400a0fd1bf00014b28cfbd424bb04152c35ef9025384a746e59143fc872bb SHA512 e1ca009bd7569f22dacf7464791f9f4499695d15d6e38e1be491d39e7ebe0530de643be5c1e7647e9beb7969a17efab6545d3e719fe8cf311562e89d636bba62 +DIST vis-0.4.tar.gz 381046 BLAKE2B 612d9f17c5ffb00be9e5c14da0d52257e55e53250cb9ba80750feaf5d90caa53aed0f02e32413a10f161e121019cf758902158ddeac09c2516d18779f4264cda SHA512 d8fcf667ecad7b32752d6c5dbd004544e1a9283775d54d93c24ce8f314b98154aed5c6014cc03223d8427c2b1e3fd0d4b348dfa12ce30236fddd93b34521ee5f DIST vis-test-0.1.tar.gz 95274 BLAKE2B e268abda50e11809d349778bb517f9be884d6d4ef8b940b5027adf9d37d091eda7fc6e274945998a9c35df372a0fd2ad499c2b686f1fe6761b54aec397b2b9aa SHA512 433a67892f27eb01f3ea6224e1ded393cd949b4d60f7c14656fdd526c02d2b309f63d39887d8d7ba11cbad3e183ab3cd1a913ac40aa29eadb7fa700eb76424b6 +DIST vis-test-0.2.tar.gz 97770 BLAKE2B 9f8e31eb70ab8f9ce089f66ef29520e8250e02de375f9f8f0e33722c6a392bc6e04e7122728826708b305fb439c2b39f7fe3e233d7be162930aa46bf31bdb005 SHA512 892effa08c80c75e78eeb993ba8a0ddc110cc6f654fa1bf970454c35c839e9467b0ab41578f49af1fba0514c61f887fa044b9d01ab58f4dd749582a9550a2c29 diff --git a/app-editors/vis/vis-0.4.ebuild b/app-editors/vis/vis-0.4.ebuild new file mode 100644 index 00000000000..576e28a5680 --- /dev/null +++ b/app-editors/vis/vis-0.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_PTV=0.2 + +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 -> vis-test-${MY_PTV}.tar.gz )" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+ncurses selinux test tre" + +#Note: vis is reported to also work with NetBSD curses +#TODO: >=dev-lang/lua-5.2 (needed for syntax highlighting and settings) +DEPEND="dev-libs/libtermkey + ncurses? ( sys-libs/ncurses:0= ) + tre? ( dev-libs/tre:= )" +RDEPEND="${DEPEND} + app-eselect/eselect-vi" + +src_prepare() { + if use test; then + rm -r test || die + mv "${WORKDIR}/vis-test-${MY_PTV}" test || die + if ! type -P vim &>/dev/null; then + sed -i 's/.*vim.*//' test/Makefile || die + fi + fi +} + +src_configure() { + econf \ + $(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 +}