From e74f0208753fdb6868b70a7ebda11b4773720d8e Mon Sep 17 00:00:00 2001 From: Yuan Liao Date: Tue, 14 Mar 2023 09:24:10 -0700 Subject: newebuild: Do not use *.zip SRC_URI in dev-java ebuild template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Many Java packages' source archives are available in tarball formats like .tar.gz already, and tarballs are more preferable than Zip archives for SRC_URI (pkgcheck has a check for this). However, instead of replacing '.zip' with '.tar.gz', it could be better to just leave the value of SRC_URI in the template empty, just like in the dev-python ebuild template. Signed-off-by: Yuan Liao Closes: https://github.com/gentoo/gentoo-syntax/pull/58 Signed-off-by: Michał Górny --- plugin/newebuild.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim index e5a54e4..2fa7acb 100644 --- a/plugin/newebuild.vim +++ b/plugin/newebuild.vim @@ -128,7 +128,7 @@ fun! MakeNewEbuild() put ='' put ='DESCRIPTION=\"\"' put ='HOMEPAGE=\"\"' - put ='SRC_URI=\"${P}.zip\"' + put ='SRC_URI=\"\"' put ='' put ='LICENSE=\"\"' put ='SLOT=\"0\"' -- cgit v1.2.3-65-gdbad