mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
distutils-r1.eclass: Add hatchling support (meh!)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -98,6 +98,8 @@ esac
|
||||
#
|
||||
# - flit - flit_core backend
|
||||
#
|
||||
# - hatchling - hatchling backend (from hatch)
|
||||
#
|
||||
# - pdm - pdm.pep517 backend
|
||||
#
|
||||
# - poetry - poetry-core backend
|
||||
@@ -187,6 +189,10 @@ _distutils_set_globals() {
|
||||
bdep+='
|
||||
dev-python/flit_core[${PYTHON_USEDEP}]'
|
||||
;;
|
||||
hatchling)
|
||||
bdep+='
|
||||
dev-python/hatchling[${PYTHON_USEDEP}]'
|
||||
;;
|
||||
pdm)
|
||||
bdep+='
|
||||
dev-python/pdm-pep517[${PYTHON_USEDEP}]'
|
||||
@@ -911,6 +917,9 @@ _distutils-r1_backend_to_key() {
|
||||
flit_core.buildapi|flit.buildapi)
|
||||
echo flit
|
||||
;;
|
||||
hatchling.build)
|
||||
echo hatchling
|
||||
;;
|
||||
pdm.pep517.api)
|
||||
echo pdm
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user