summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-11 21:35:55 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-14 11:16:14 +0100
commitef01c2b0404d2336f95e23b4fd0ab8d172cbf65e (patch)
treec7528072a299075fa48da0ffccb165111f7a4876 /eclass
parentpython-utils-r1.eclass: Update python_optimize for PyPy3.9 (diff)
downloadgentoo-ef01c2b0404d2336f95e23b4fd0ab8d172cbf65e.tar.gz
gentoo-ef01c2b0404d2336f95e23b4fd0ab8d172cbf65e.tar.bz2
gentoo-ef01c2b0404d2336f95e23b4fd0ab8d172cbf65e.zip
distutils-r1.eclass: Pass -b to best_version for buildsys pkgs
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 3064ba6a446c..6e8ff5467bdb 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -982,7 +982,7 @@ _distutils-r1_print_package_versions() {
local pkg
einfo "Build system packages:"
for pkg in "${packages[@]}"; do
- local installed=$(best_version "${pkg}")
+ local installed=$(best_version -b "${pkg}")
einfo " $(printf '%-30s' "${pkg}"): ${installed#${pkg}-}"
done
}