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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 99F2F158094 for ; Sun, 28 Aug 2022 14:29:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2A92E08E0; Sun, 28 Aug 2022 14:29:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA501E08E0 for ; Sun, 28 Aug 2022 14:29:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3F1F3411CA for ; Sun, 28 Aug 2022 14:29:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AEF3556 for ; Sun, 28 Aug 2022 14:29:49 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1661696986.46fd44c8fa2a1aab6ff10e2728b20024e7dcf449.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/vimclojure/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-vim/vimclojure/vimclojure-2.3.6-r4.ebuild X-VCS-Directories: app-vim/vimclojure/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 46fd44c8fa2a1aab6ff10e2728b20024e7dcf449 X-VCS-Branch: master Date: Sun, 28 Aug 2022 14:29:49 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aa3319cb-a00a-45c9-a359-885f2107edbb X-Archives-Hash: 87728cd1cefefa349393422c2430c37d commit: 46fd44c8fa2a1aab6ff10e2728b20024e7dcf449 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sun Aug 28 08:57:34 2022 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sun Aug 28 14:29:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46fd44c8 app-vim/vimclojure: update EAPI 6 -> 8 Bug: https://bugs.gentoo.org/850067 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/27040 Signed-off-by: Patrice Clement gentoo.org> app-vim/vimclojure/vimclojure-2.3.6-r4.ebuild | 51 +++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/app-vim/vimclojure/vimclojure-2.3.6-r4.ebuild b/app-vim/vimclojure/vimclojure-2.3.6-r4.ebuild new file mode 100644 index 000000000000..c34730afe916 --- /dev/null +++ b/app-vim/vimclojure/vimclojure-2.3.6-r4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit vim-plugin + +MY_PN="VimClojure" + +DESCRIPTION="vim plugin: Clojure syntax highlighting, filetype and indent settings" +HOMEPAGE="https://github.com/vim-scripts/VimClojure" +SRC_URI="https://github.com/vim-scripts/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" +SLOT="0" + +RDEPEND="dev-lang/clojure" + +S="${WORKDIR}/${MY_PN}-${PV}" + +DOCS=( README README.markdown ) + +# Files with similar names are already installed by app-vim/slimv. +DUPLICATE_FILES=( + indent/clojure.vim + ftdetect/clojure.vim +) + +src_prepare() { + default + + # Remove .bat files. + find . -type f -name \*.bat -exec rm -v {} \; || die + + # Let's simply rename ${DUPLICATE_FILES[@]}. + local f + for f in "${DUPLICATE_FILES[@]}"; do + [[ -f "${f}" ]] || die "Couldn't find ${f}" + bname="${f##*/}" + path="${f%/*}" + noext="${bname%%.*}" + newname="${path}/${PN}_${noext}.vim" + mv -v "${f}" "${newname}" || die + done +} + +src_install() { + rm -rv doc/LICENSE.txt bin || die + vim-plugin_src_install +}