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 D0607139694 for ; Tue, 20 Jun 2017 15:01:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D94EFE0E21; Tue, 20 Jun 2017 15:01:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A4253E0E21 for ; Tue, 20 Jun 2017 15:01:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 29CE23416E5 for ; Tue, 20 Jun 2017 15:01:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2FEF57474 for ; Tue, 20 Jun 2017 15:01:02 +0000 (UTC) From: "José María Alonso" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "José María Alonso" Message-ID: <1497970857.2a77fb2ed99c040944e4bf9c2c575dfd6924f981.nimiux@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/vifm/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/vifm/Manifest app-misc/vifm/vifm-0.9.ebuild X-VCS-Directories: app-misc/vifm/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: 2a77fb2ed99c040944e4bf9c2c575dfd6924f981 X-VCS-Branch: master Date: Tue, 20 Jun 2017 15:01:02 +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: 01580080-529e-45ad-9a43-6197805534c3 X-Archives-Hash: 031e34058bca7e5a7b5679753a2acadd commit: 2a77fb2ed99c040944e4bf9c2c575dfd6924f981 Author: Chema Alonso Josa gentoo org> AuthorDate: Tue Jun 20 15:00:24 2017 +0000 Commit: José María Alonso gentoo org> CommitDate: Tue Jun 20 15:00:57 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a77fb2e app-misc/vifm: Bumps version to 0.9 Package-Manager: Portage-2.3.5, Repoman-2.3.1 app-misc/vifm/Manifest | 1 + app-misc/vifm/vifm-0.9.ebuild | 94 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest index 51628023666..c2846e62012 100644 --- a/app-misc/vifm/Manifest +++ b/app-misc/vifm/Manifest @@ -1,2 +1,3 @@ DIST vifm-0.7.2.tar.bz2 468086 SHA256 f95e49a8518dd1acc9b7b750658a98bcf1cb538e25520a5a300b5812108fbc8d SHA512 24a5ad44cecd01f489b95008f0b98ad6cd63656bc7fe4a888101f369f9b258cb87b8025efac30237fbaebc7aff14d173d02118839312017276f3f6b62ea4a3b9 WHIRLPOOL 9c954dbe659e3303315642738bafb962f6f20820af0fe587b3c525ad7a93aca3f9090fe5d2d871a291ce95c9add81f7d717ae5adbdcbe2a58d2889e0bf3e50dc DIST vifm-0.8.2.tar.bz2 892414 SHA256 8b466d766658a24d07fc2039a26fefc6a018f5653684a6035183ca79f02c211f SHA512 e2c9f84b8a24542f7153ef8a27b38ba8c251cb0ded72401f5e93fa92540d51b5c368a73147b9fa4a883dda5f880c1d8585c1b4879d46c0e00dea87eacecfdb25 WHIRLPOOL 26d5ff1249885c3be16d7ea7a09ded43498f60243aa46b5d2b8ed3e0d548b29e305943135bcc50a27cca539a5e3b9e240693b8381bdd9c45737e617641da784c +DIST vifm-0.9.tar.bz2 971539 SHA256 ab10c99d1e4c24ff8a03c20be1c202cc15874750cc47a1614e6fe4f8d816a7fd SHA512 5ae2b03e672bd9a7f95a5c59141dabac8bc7946a4e307d6a3df70bdb52e1f7665b960a3d20709c811cbfbcf76f7836d23b5edb191968e5277fb705a291ab3a9a WHIRLPOOL c8990508f817fba4ceb6ea95e04da89b601faeb4bece63a9cea187d096f0d711807f820ffae5a1269d5a5f93d53975e30e568bff6fd09595ed4b3c1394261c96 diff --git a/app-misc/vifm/vifm-0.9.ebuild b/app-misc/vifm/vifm-0.9.ebuild new file mode 100644 index 00000000000..4e0b17ce87a --- /dev/null +++ b/app-misc/vifm/vifm-0.9.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools vim-doc versionator + +DESCRIPTION="Console file manager with vi(m)-like keybindings" +HOMEPAGE="http://vifm.info/" +SRC_URI="mirror://sourceforge/vifm/${PF}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="X developer +extended-keys gtk +magic vim vim-syntax" + +DEPEND=" + >=sys-libs/ncurses-5.9-r3:0 + magic? ( sys-apps/file ) + gtk? ( x11-libs/gtk+:2 ) + X? ( x11-libs/libX11 ) +" +RDEPEND=" + ${DEPEND} + vim? ( || ( app-editors/vim app-editors/gvim ) ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) +" + +DOCS="AUTHORS FAQ NEWS README TODO" + +src_prepare() { + eapply_user + eautoreconf +} + +src_configure() { + econf \ + $(use_enable developer) \ + $(use_enable extended-keys) \ + $(use_with magic libmagic) \ + $(use_with gtk) \ + $(use_with X X11) +} + +src_compile() { + default +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ${DOCS} + + if use vim; then + local t + for t in app plugin; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/doc/"${t}"/"${PN}"* + done + fi + + if use vim-syntax; then + local t + for t in ftdetect ftplugin syntax; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/"${t}"/"${PN}".vim + done + fi +} + +src_test() { + emake check +} + +pkg_postinst() { + if use vim; then + update_vim_helptags + + if [[ -n ${REPLACING_VERSIONS} ]]; then + elog + elog "You don't need to copy or link any files for" + elog " the vim plugin and documentation to work anymore." + elog "If you copied any vifm files to ~/.vim/ manually" + elog " in earlier vifm versions, please delete them." + fi + elog + elog "To use vim in vifm to view the documentation" + elog " edit ~/.vifm/vifmrc and set vimhelp instead of novimhelp" + elog + fi +} + +pkg_postrm() { + use vim && update_vim_helptags +}