diff options
author | 2022-04-07 11:35:27 +0200 | |
---|---|---|
committer | 2022-04-07 11:35:27 +0200 | |
commit | 066f2dd0d6cebf982c8aeea3f7f1031d93d3698a (patch) | |
tree | b31ad231cef4033dde0a0e3a1d7738a194da5bbc /eclass | |
parent | dev-python/hatchling: Enable pypy3 (diff) | |
download | gentoo-066f2dd0d6cebf982c8aeea3f7f1031d93d3698a.tar.gz gentoo-066f2dd0d6cebf982c8aeea3f7f1031d93d3698a.tar.bz2 gentoo-066f2dd0d6cebf982c8aeea3f7f1031d93d3698a.zip |
distutils-r1.eclass: Add hatchling support (meh!)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index ed2e9f70269f..5598543c0f9a 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -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 ;; |