Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 01 May 2022 07:30:45
Message-Id: 1651390226.b0c36499dbaa3e218e677d66600161a4548ff647.mgorny@gentoo
1 commit: b0c36499dbaa3e218e677d66600161a4548ff647
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 09:50:59 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 07:30:26 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0c36499
7
8 distutils-r1.eclass: Support pbr backend
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 eclass/distutils-r1.eclass | 9 +++++++++
13 1 file changed, 9 insertions(+)
14
15 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
16 index 6fc9f1b9c1ff..2c49a5c2bc05 100644
17 --- a/eclass/distutils-r1.eclass
18 +++ b/eclass/distutils-r1.eclass
19 @@ -106,6 +106,8 @@ esac
20 #
21 # - maturin - maturin backend
22 #
23 +# - pbr - pbr backend
24 +#
25 # - pdm - pdm.pep517 backend
26 #
27 # - poetry - poetry-core backend
28 @@ -208,6 +210,10 @@ _distutils_set_globals() {
29 bdep+='
30 >=dev-util/maturin-0.12.7[${PYTHON_USEDEP}]'
31 ;;
32 + pbr)
33 + bdep+='
34 + >=dev-python/pbr-5.8.0-r1[${PYTHON_USEDEP}]'
35 + ;;
36 pdm)
37 bdep+='
38 >=dev-python/pdm-pep517-0.12.3[${PYTHON_USEDEP}]'
39 @@ -991,6 +997,9 @@ _distutils-r1_backend_to_key() {
40 maturin)
41 echo maturin
42 ;;
43 + pbr.build)
44 + echo pbr
45 + ;;
46 pdm.pep517.api)
47 echo pdm
48 ;;