commit: 1d61655f2a2c8e7c612b383af861c4b928bb922d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 23 16:24:04 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 23 17:03:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d61655f
app-vim/gentoo-syntax: Reset version numbers
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
...entoo-syntax-20211208.ebuild => gentoo-syntax-0.20211208.ebuild} | 6 ++++--
...entoo-syntax-20220220.ebuild => gentoo-syntax-0.20220220.ebuild} | 4 +++-
.../{gentoo-syntax-99999999.ebuild => gentoo-syntax-9999.ebuild} | 2 +-
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/app-vim/gentoo-syntax/gentoo-syntax-20211208.ebuild
b/app-vim/gentoo-syntax/gentoo-syntax-0.20211208.ebuild
similarity index 92%
rename from app-vim/gentoo-syntax/gentoo-syntax-20211208.ebuild
rename to app-vim/gentoo-syntax/gentoo-syntax-0.20211208.ebuild
index 9a1891798a14..5676ffe9c190 100644
--- a/app-vim/gentoo-syntax/gentoo-syntax-20211208.ebuild
+++ b/app-vim/gentoo-syntax/gentoo-syntax-0.20211208.ebuild
@@ -1,13 +1,15 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vim-plugin
+MY_P=${P/0.}
DESCRIPTION="vim plugin: Gentoo and Portage syntax highlighting"
HOMEPAGE="https://github.com/gentoo/gentoo-syntax"
-SRC_URI="https://gitweb.gentoo.org/proj/gentoo-syntax.git/snapshot/${P}.tar.bz2"
+SRC_URI="https://gitweb.gentoo.org/proj/gentoo-syntax.git/snapshot/${MY_P}.tar.bz2"
+S=${WORKDIR}/${MY_P}
LICENSE="vim"
SLOT="0"
diff --git a/app-vim/gentoo-syntax/gentoo-syntax-20220220.ebuild
b/app-vim/gentoo-syntax/gentoo-syntax-0.20220220.ebuild
similarity index 95%
rename from app-vim/gentoo-syntax/gentoo-syntax-20220220.ebuild
rename to app-vim/gentoo-syntax/gentoo-syntax-0.20220220.ebuild
index cc256f13f274..3cc000eb8ff3 100644
--- a/app-vim/gentoo-syntax/gentoo-syntax-20220220.ebuild
+++ b/app-vim/gentoo-syntax/gentoo-syntax-0.20220220.ebuild
@@ -5,9 +5,11 @@ EAPI=7
inherit vim-plugin
+MY_P=${P/0.}
DESCRIPTION="vim plugin: Gentoo and Portage syntax highlighting"
HOMEPAGE="https://github.com/gentoo/gentoo-syntax"
-SRC_URI="https://gitweb.gentoo.org/proj/gentoo-syntax.git/snapshot/${P}.tar.bz2"
+SRC_URI="https://gitweb.gentoo.org/proj/gentoo-syntax.git/snapshot/${MY_P}.tar.bz2"
+S=${WORKDIR}/${MY_P}
LICENSE="vim"
SLOT="0"
diff --git a/app-vim/gentoo-syntax/gentoo-syntax-99999999.ebuild
b/app-vim/gentoo-syntax/gentoo-syntax-9999.ebuild
similarity index 96%
rename from app-vim/gentoo-syntax/gentoo-syntax-99999999.ebuild
rename to app-vim/gentoo-syntax/gentoo-syntax-9999.ebuild
index 84646c286bac..a5cb9329196a 100644
--- a/app-vim/gentoo-syntax/gentoo-syntax-99999999.ebuild
+++ b/app-vim/gentoo-syntax/gentoo-syntax-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7