public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/editorconfig-vim/files/, app-vim/editorconfig-vim/
Date: Tue, 14 Jan 2020 00:10:51 +0000 (UTC)	[thread overview]
Message-ID: <1578960362.b2216e2b3182585f69c3864067a2a60377d5d46b.chutzpah@gentoo> (raw)

commit:     b2216e2b3182585f69c3864067a2a60377d5d46b
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Mon Jan 13 21:39:36 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 00:06:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2216e2b

app-vim/editorconfig-vim: Version bump to 1.0.0_beta

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 app-vim/editorconfig-vim/Manifest                  |  1 +
 .../editorconfig-vim-1.0.0_beta.ebuild             | 39 ++++++++++++++++++++++
 ...ditorconfig-vim-1.0.0_beta-wildcard-slash.patch | 22 ++++++++++++
 3 files changed, 62 insertions(+)

diff --git a/app-vim/editorconfig-vim/Manifest b/app-vim/editorconfig-vim/Manifest
index c8518d7e778..5e8f5599689 100644
--- a/app-vim/editorconfig-vim/Manifest
+++ b/app-vim/editorconfig-vim/Manifest
@@ -1 +1,2 @@
 DIST editorconfig-vim-0.3.3.tar.gz 35395 BLAKE2B a7b65c1472024017dd408e5c4ac5048004d0bd55f44c7cfba49b5973cb445125ed89cc3d4363fb902a4c5fbb507f3ee5ed0ca48aece3fb6915e643bae0dbf70c SHA512 2dd968cf6bb162db8e6242ffb60cc61fb05a8042804b6b46b9f9cd35be968f83b473f04797e47c5cff11d7c052ff523bf8ba1d568992d44b72b97b54a81425a1
+DIST editorconfig-vim-1.0.0-beta.tar.gz 31519 BLAKE2B 2d5e8e55e8dccc0b45453b8da9ecad80867a84d1ea20146581886f793c093c201521a7d1d4451122ae441d30f58acec28d29aa20da9de737b5beb7f44d55c0ed SHA512 159e3ca32a7ffe71853ba62a14d0469310b81345b0e704dd6a9f42c56f6f6b9a3f63502ccabcf43a15443acf4acefdaf078063ae747f49315b89f5518d7f9816

diff --git a/app-vim/editorconfig-vim/editorconfig-vim-1.0.0_beta.ebuild b/app-vim/editorconfig-vim/editorconfig-vim-1.0.0_beta.ebuild
new file mode 100644
index 00000000000..5bf01abe322
--- /dev/null
+++ b/app-vim/editorconfig-vim/editorconfig-vim-1.0.0_beta.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils vim-plugin
+
+MY_PV="${PV//_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="vim plugin: Support EditorConfig files "
+HOMEPAGE="https://editorconfig.org/"
+SRC_URI="https://github.com/${PN%-vim}/${PN}/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD-2 PSF-2"
+KEYWORDS="~amd64 ~x86"
+
+VIM_PLUGIN_HELPFILES="${PN%-vim}.txt"
+
+PATCHES=(
+	"${FILESDIR}/editorconfig-vim-1.0.0_beta-wildcard-slash.patch"
+)
+
+src_prepare() {
+	default
+
+	rm LICENSE LICENSE.PSF \
+		mkzip.sh .editorconfig \
+		.git{ignore,modules} \
+		.{travis,appveyor}.yml || die
+}
+
+src_install() {
+	# we don't want to install the tests
+	rm -r tests || die
+
+	vim-plugin_src_install
+}

diff --git a/app-vim/editorconfig-vim/files/editorconfig-vim-1.0.0_beta-wildcard-slash.patch b/app-vim/editorconfig-vim/files/editorconfig-vim-1.0.0_beta-wildcard-slash.patch
new file mode 100644
index 00000000000..d3dc81241a5
--- /dev/null
+++ b/app-vim/editorconfig-vim/files/editorconfig-vim-1.0.0_beta-wildcard-slash.patch
@@ -0,0 +1,22 @@
+From 8b533e933f1e4904daae72e9d84f939cd18ffca8 Mon Sep 17 00:00:00 2001
+From: Chris White <cxwembedded@gmail.com>
+Date: Sat, 20 Jul 2019 13:14:57 -0400
+Subject: [PATCH] '?' wildcard does not match '/' (fixes #124)
+
+---
+ autoload/editorconfig_core/fnmatch.vim | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/autoload/editorconfig_core/fnmatch.vim b/autoload/editorconfig_core/fnmatch.vim
+index 14833bf0..6f60db5d 100644
+--- a/autoload/editorconfig_core/fnmatch.vim
++++ b/autoload/editorconfig_core/fnmatch.vim
+@@ -199,7 +199,7 @@ function! editorconfig_core#fnmatch#translate(pat, ...)
+             endif
+ 
+         elseif l:current_char ==# '?'
+-            let l:result .= '\_.'
++            let l:result .= '\_[^/]'
+ 
+         elseif l:current_char ==# '['
+             if l:in_brackets


             reply	other threads:[~2020-01-14  0:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-14  0:10 Patrick McLean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-08 19:06 [gentoo-commits] repo/gentoo:master commit in: app-vim/editorconfig-vim/files/, app-vim/editorconfig-vim/ Patrick McLean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1578960362.b2216e2b3182585f69c3864067a2a60377d5d46b.chutzpah@gentoo \
    --to=chutzpah@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox