diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-06-02 10:53:54 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-06-03 08:48:11 +0200 |
commit | 2905bda4ee9df43c0f385611c8eb49b77a6dd62e (patch) | |
tree | 0cae74eb8498eca075b71b18d81fb1a863f90a1a /eclass | |
parent | dev-python/pdm-backend: Rename of dev-python/pdm-pep517, 2.0.7 (diff) | |
download | gentoo-2905bda4ee9df43c0f385611c8eb49b77a6dd62e.tar.gz gentoo-2905bda4ee9df43c0f385611c8eb49b77a6dd62e.tar.bz2 gentoo-2905bda4ee9df43c0f385611c8eb49b77a6dd62e.zip |
distutils-r1.eclass: Add support for pdm-backend
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 2f227fe75910..0c0fd6790f9c 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -125,6 +125,8 @@ esac # # - pdm - pdm.pep517 backend # +# - pdm-backend - pdm.backend backend +# # - poetry - poetry-core backend # # - setuptools - distutils or setuptools (incl. legacy mode) @@ -252,6 +254,11 @@ _distutils_set_globals() { >=dev-python/pdm-pep517-1.1.4[${PYTHON_USEDEP}] ' ;; + pdm-backend) + bdep+=' + >=dev-python/pdm-backend-2.0.7[${PYTHON_USEDEP}] + ' + ;; poetry) bdep+=' >=dev-python/poetry-core-1.5.2[${PYTHON_USEDEP}] @@ -984,6 +991,12 @@ _distutils-r1_print_package_versions() { dev-python/setuptools ) ;; + pdm-backend) + packages+=( + dev-python/pdm-backend + dev-python/setuptools + ) + ;; poetry) packages+=( dev-python/poetry-core @@ -1178,6 +1191,9 @@ _distutils-r1_backend_to_key() { pbr.build) echo pbr ;; + pdm.backend) + echo pdm-backend + ;; pdm.pep517.api) echo pdm ;; |