aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuan Liao <liaoyuan@gmail.com>2023-03-14 09:24:10 -0700
committerMichał Górny <mgorny@gentoo.org>2023-03-14 18:39:48 +0100
commite74f0208753fdb6868b70a7ebda11b4773720d8e (patch)
tree6569bb7789ddf273b4beeb5cfe05bfe95adf157e
parentnewebuild: Add MAVEN_ID to dev-java ebuild template (diff)
downloadgentoo-syntax-e74f0208753fdb6868b70a7ebda11b4773720d8e.tar.gz
gentoo-syntax-e74f0208753fdb6868b70a7ebda11b4773720d8e.tar.bz2
gentoo-syntax-e74f0208753fdb6868b70a7ebda11b4773720d8e.zip
newebuild: Do not use *.zip SRC_URI in dev-java ebuild template
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 <liaoyuan@gmail.com> Closes: https://github.com/gentoo/gentoo-syntax/pull/58 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--plugin/newebuild.vim2
1 files changed, 1 insertions, 1 deletions
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! <SID>MakeNewEbuild()
put =''
put ='DESCRIPTION=\"\"'
put ='HOMEPAGE=\"\"'
- put ='SRC_URI=\"${P}.zip\"'
+ put ='SRC_URI=\"\"'
put =''
put ='LICENSE=\"\"'
put ='SLOT=\"0\"'