aboutsummaryrefslogtreecommitdiff
path: root/cnf
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-10 07:22:44 +0100
committerSam James <sam@gentoo.org>2022-09-29 00:56:08 +0100
commit38c479d46dc91be66877d857a3682534eb1b5f12 (patch)
tree8ee7e9abd3f91686fd111a6911a38e82f45bf2ec /cnf
parentportage: sets: VariableSet: parse *DEPEND in includes/excludes (diff)
downloadportage-38c479d46dc91be66877d857a3682534eb1b5f12.tar.gz
portage-38c479d46dc91be66877d857a3682534eb1b5f12.tar.bz2
portage-38c479d46dc91be66877d857a3682534eb1b5f12.zip
cnf: sets: convert @golang-rebuild into VariableSet
This allows rebuilding *all* Go packages correctly, rather than purely going off inherit. There's a few reasons to do this: 1. Even if (and it's a big if) we suppose that all Go packages should inherit a Go eclass, there will be packages in user repositories which don't do that; 2. Eclasses are, by their nature, repository-specific. This solution is a generic approach independent of the eclass layout in ::gentoo. Bug: https://bugs.gentoo.org/827974 Bug: https://bugs.gentoo.org/865115 Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/portage/pull/898 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'cnf')
-rw-r--r--cnf/sets/portage.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/cnf/sets/portage.conf b/cnf/sets/portage.conf
index c4ad2efca..3738f147d 100644
--- a/cnf/sets/portage.conf
+++ b/cnf/sets/portage.conf
@@ -110,8 +110,8 @@ class = portage.sets.dbapi.UnavailableBinaries
[changed-deps]
class = portage.sets.dbapi.ChangedDepsSet
-# Installed packages that inherit from known go related eclasses.
+# Installed packages for which vdb *DEPEND includes dev-lang/go.
[golang-rebuild]
class = portage.sets.dbapi.VariableSet
-variable = INHERITED
-includes = golang-base golang-build golang-vcs golang-vcs-snapshot go-module
+variable = BDEPEND
+includes = dev-lang/go