aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-12 17:29:27 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-14 16:25:03 +0200
commit682f102dc738eb3697e2fe0119bfb8eebf1ab209 (patch)
treebf4393ff7245090b19ea866248115cea71ce63bb
parentnewebuild: Explode RDEPEND by default (diff)
downloadgentoo-syntax-682f102dc738eb3697e2fe0119bfb8eebf1ab209.tar.gz
gentoo-syntax-682f102dc738eb3697e2fe0119bfb8eebf1ab209.tar.bz2
gentoo-syntax-682f102dc738eb3697e2fe0119bfb8eebf1ab209.zip
newebuild: Default to pypi.eclass for Python packages
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--plugin/newebuild.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim
index aa0b23b..ac786e4 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -163,7 +163,7 @@ fun! <SID>MakeNewEbuild()
if l:category ==# "dev-python"
put ='DISTUTILS_USE_PEP517=setuptools'
put ='PYTHON_COMPAT=( ' . GentooGetPythonTargets() . ' )'
- put ='inherit distutils-r1'
+ put ='inherit distutils-r1 pypi'
put =''
endif
" }}}
@@ -176,9 +176,9 @@ fun! <SID>MakeNewEbuild()
put ='\"'
else
put ='HOMEPAGE=\"\"'
+ put ='SRC_URI=\"\"'
endif
- put ='SRC_URI=\"\"'
put =''
put ='LICENSE=\"\"'
put ='SLOT=\"0\"'