commit:     b0c36499dbaa3e218e677d66600161a4548ff647
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 09:50:59 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May  1 07:30:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0c36499

distutils-r1.eclass: Support pbr backend

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/distutils-r1.eclass | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 6fc9f1b9c1ff..2c49a5c2bc05 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -106,6 +106,8 @@ esac
 #
 # - maturin - maturin backend
 #
+# - pbr - pbr backend
+#
 # - pdm - pdm.pep517 backend
 #
 # - poetry - poetry-core backend
@@ -208,6 +210,10 @@ _distutils_set_globals() {
                                bdep+='
                                        
>=dev-util/maturin-0.12.7[${PYTHON_USEDEP}]'
                                ;;
+                       pbr)
+                               bdep+='
+                                       
>=dev-python/pbr-5.8.0-r1[${PYTHON_USEDEP}]'
+                               ;;
                        pdm)
                                bdep+='
                                        
>=dev-python/pdm-pep517-0.12.3[${PYTHON_USEDEP}]'
@@ -991,6 +997,9 @@ _distutils-r1_backend_to_key() {
                maturin)
                        echo maturin
                        ;;
+               pbr.build)
+                       echo pbr
+                       ;;
                pdm.pep517.api)
                        echo pdm
                        ;;

Reply via email to