commit:     e23ab2743ff80c115d892f24b1ada9ada6a4e81a
Author:     Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
AuthorDate: Sun Jan  1 21:15:48 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Jan  3 19:09:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e23ab274

app-vim/lightline: update EAPI 6 -> 8, small QA and build fixes

This commit bumps to the latest EAPI and fixes the versioned build by
updating the SRC_URI and setting S for non-live versions. The explicitly
set src_compile() is dropped, since upstream provides no Makefile and
thus the function is no-op anyway.

Bug: https://bugs.gentoo.org/889198
Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-vim/lightline/lightline-9999.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-vim/lightline/lightline-9999.ebuild 
b/app-vim/lightline/lightline-9999.ebuild
index a73386531e33..73b4c0fdc1a2 100644
--- a/app-vim/lightline/lightline-9999.ebuild
+++ b/app-vim/lightline/lightline-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit vim-plugin
 
@@ -9,13 +9,13 @@ if [[ ${PV} == "9999" ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/itchyny/lightline.vim/";
 else
-       SRC_URI="https://github.com/itchyny/${PN}.vim/archive/master.zip -> 
${P}.zip"
+       # LIGHTLINE_COMMIT=
+       
SRC_URI="https://github.com/itchyny/lightline.vim/archive/${LIGHTLINE_COMMIT}.tar.gz
 -> ${P}.tar.gz"
        KEYWORDS="~amd64 ~x86"
+       S="${WORKDIR}/${PN}.vim-${LIGHTLINE_COMMIT}"
 fi
 
 DESCRIPTION="vim plugin: A light and configurable statusline/tabline"
 HOMEPAGE="https://github.com/itchyny/lightline.vim/";
 LICENSE="MIT"
 VIM_PLUGIN_HELPFILES="${PN}"
-
-src_compile() { :; }

Reply via email to