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: Mon, 24 Jan 2022 22:14:17
Message-Id: 1643062184.58c31d1eb9ffcb4cee767cf1f120e2ca81a951a5.mgorny@gentoo
1 commit: 58c31d1eb9ffcb4cee767cf1f120e2ca81a951a5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 24 10:37:15 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 24 22:09:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c31d1e
7
8 distutils-r1.eclass: Bump installer requirement and remove hack
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 eclass/distutils-r1.eclass | 9 +--------
13 1 file changed, 1 insertion(+), 8 deletions(-)
14
15 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
16 index a91442459346..9b2dc841054c 100644
17 --- a/eclass/distutils-r1.eclass
18 +++ b/eclass/distutils-r1.eclass
19 @@ -157,7 +157,7 @@ _distutils_set_globals() {
20 # installer is used to install the wheel
21 # tomli is used to read build-backend from pyproject.toml
22 bdep+='
23 - >=dev-python/installer-0.4.0_p20220115[${PYTHON_USEDEP}]
24 + >=dev-python/installer-0.4.0_p20220124[${PYTHON_USEDEP}]
25 dev-python/tomli[${PYTHON_USEDEP}]'
26 case ${DISTUTILS_USE_PEP517} in
27 flit)
28 @@ -971,13 +971,6 @@ distutils-r1_python_compile() {
29 --no-compile-bytecode ||
30 die "installer failed"
31
32 - # TODO: workaround for a bug in installer; remove once we depend
33 - # on a properly fixed version
34 - # https://github.com/pradyunsg/installer/commit/245896289a590bd9be505bd061d4f49372948a16
35 - if [[ -d ${root}${EPREFIX}/usr/bin ]]; then
36 - chmod +x "${root}${EPREFIX}"/usr/bin/* || die
37 - fi
38 -
39 # remove installed licenses
40 find "${root}$(python_get_sitedir)" \
41 '(' -path '*.dist-info/COPYING*' -o \