app-portage/recover-broken-vdb: Use PEP517 build

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-09-18 15:34:46 +02:00
parent 88f325541f
commit 82c05422cd
2 changed files with 11 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
EAPI=7
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
@@ -24,6 +24,8 @@ SLOT="0"
# Require latest version of pax-utils to avoid users breaking their systems again
# The tool itself works fine with older versions
RDEPEND=">=app-misc/pax-utils-1.3.3
RDEPEND="
>=app-misc/pax-utils-1.3.3
sys-apps/file
$(python_gen_cond_dep 'sys-apps/portage[${PYTHON_USEDEP}]')"
$(python_gen_cond_dep 'sys-apps/portage[${PYTHON_USEDEP}]')
"

View File

@@ -1,10 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
@@ -24,6 +24,8 @@ SLOT="0"
# Require latest version of pax-utils to avoid users breaking their systems again
# The tool itself works fine with older versions
RDEPEND=">=app-misc/pax-utils-1.3.3
RDEPEND="
>=app-misc/pax-utils-1.3.3
sys-apps/file
$(python_gen_cond_dep 'sys-apps/portage[${PYTHON_USEDEP}]')"
$(python_gen_cond_dep 'sys-apps/portage[${PYTHON_USEDEP}]')
"