The title says it all. I'm trying to exclude some pkgs from creating a tbz2 (things like gentoo-sources...), and I've put FEATURES="-buildpkg" in /etc/portage/env/sys-kernel/gentoo-sources. /etc/make.conf has FEATURES="buildpkg", of course. However emerge still creates a nice tbz2 for gentoo-sources. I do realize this is kind of an alpha feature, but I really need this (desperately ;-). Reproducible: Always Steps to Reproduce:
For features that are implemented at least partially in python, including FEATURES=buildpkg, modifications to FEATURES in bashrc will never have any effect. What you need is something like bug #44796, comment #50.
Ehm, Zac which option do we have about this? It _really_ would be nice to have (to avoid building packages for kernels, for instance, which is a _huge_ waste of time)....
Now that we've got package.env support, it won't be too difficult to implement the handling of FEATURES=buildpkg. The class where this would go is in pym/_emerge/EbuildBuild.py, but we also need to make sure that --buildpkg maps to FEATURES=buildpkg correctly (I think the mapping is in the reverse direction now).
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c47394cb28a841d5b7399f548c2507a85a158bdd
This is fixed in 2.1.10.12 and 2.2.0_alpha52.