diff options
author | 2023-06-12 17:33:11 +0200 | |
---|---|---|
committer | 2023-06-14 16:25:04 +0200 | |
commit | d5ce7247e22cc5c651f0a55cbbeae5347de25149 (patch) | |
tree | f73bd08bc18598ccc2fbc3938a6ad9583c49a96f | |
parent | newebuild: Default to pypi.eclass for Python packages (diff) | |
download | gentoo-syntax-d5ce7247e22cc5c651f0a55cbbeae5347de25149.tar.gz gentoo-syntax-d5ce7247e22cc5c651f0a55cbbeae5347de25149.tar.bz2 gentoo-syntax-d5ce7247e22cc5c651f0a55cbbeae5347de25149.zip |
newmetadata: Add python@ by default, with a warning on tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | plugin/newmetadata.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/newmetadata.vim b/plugin/newmetadata.vim index 82f5e07..6adce44 100644 --- a/plugin/newmetadata.vim +++ b/plugin/newmetadata.vim @@ -61,6 +61,8 @@ fun! <SID>MakeNewMetadata() let l:project = "perl" elseif l:category ==# "dev-php" let l:project = "php-bugs" + elseif l:category ==# "dev-python" + let l:project = "python" elseif l:category ==# "dev-ruby" let l:project = "ruby" elseif l:category ==# "dev-tex" @@ -75,6 +77,9 @@ fun! <SID>MakeNewMetadata() put ='<!DOCTYPE pkgmetadata SYSTEM \"https://www.gentoo.org/dtd/metadata.dtd\">' put ='<pkgmetadata>' if l:project != "" + if l:project == "python" + put ='<!-- please remove python@ if tests do not work -->' + endif put ='<maintainer type=\"project\">' put ='<email>' . l:project . '@gentoo.org</email>' put ='</maintainer>' |