aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-12 17:36:11 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-14 16:25:06 +0200
commitbe223e2b1c8284585fde8999c6c43cd71a4c78f1 (patch)
treeb0a29b9ca8acd357f9b207e79dc1482a8198e3ae
parentnewebuild: Add empty line between PYTHON block and inherit (diff)
downloadgentoo-syntax-be223e2b1c8284585fde8999c6c43cd71a4c78f1.tar.gz
gentoo-syntax-be223e2b1c8284585fde8999c6c43cd71a4c78f1.tar.bz2
gentoo-syntax-be223e2b1c8284585fde8999c6c43cd71a4c78f1.zip
newebuild: Default to hatchling for Python ebuilds
Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo-syntax/pull/61 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 f6a91fa..8072db0 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -161,7 +161,7 @@ fun! <SID>MakeNewEbuild()
" {{{ standard default setup
" {{{ extra inherits for some categories
if l:category ==# "dev-python"
- put ='DISTUTILS_USE_PEP517=setuptools'
+ put ='DISTUTILS_USE_PEP517=hatchling'
put ='PYTHON_COMPAT=( ' . GentooGetPythonTargets() . ' )'
put =''
put ='inherit distutils-r1 pypi'