summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-28 11:50:59 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-01 09:30:26 +0200
commitb0c36499dbaa3e218e677d66600161a4548ff647 (patch)
tree3c9493535564d650479c07cdd00675acff468dd9 /eclass/distutils-r1.eclass
parentdev-python/hypothesis: Bump to 6.46.1 (diff)
downloadgentoo-b0c36499dbaa3e218e677d66600161a4548ff647.tar.gz
gentoo-b0c36499dbaa3e218e677d66600161a4548ff647.tar.bz2
gentoo-b0c36499dbaa3e218e677d66600161a4548ff647.zip
distutils-r1.eclass: Support pbr backend
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass9
1 files changed, 9 insertions, 0 deletions
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
;;