1 |
This is the code: |
2 |
* pym/portage_const.py: add BUILD_PKGS to the incremental variables |
3 |
* pym/portage.py, in the config class, adds: |
4 |
- a getprovides() method to get the list of virtuals a pkg |
5 |
provides. Code is from setinst(), and setinst() now calls |
6 |
this method. |
7 |
- an issytem() method to check whether a package is in the |
8 |
system list or provides a virtual required by system. It |
9 |
uses getprovides(). |
10 |
* pym/portage.py, in portdbapi, adds: |
11 |
- an istobuildpkg() method, which evaluates the BUILD_PKGS |
12 |
rules against a CPV. If matches, returns a non-empty string |
13 |
(the best matching rule), and else returns 0. It uses |
14 |
config.issystem(). |
15 |
* bin/emerge: |
16 |
- deals with buildpkg/buildsyspkg deprecation, appending "*" or |
17 |
"system" to BUILD_PKGS if necessary. |
18 |
- reverses other "buildsyspkg" changes |
19 |
- in depgraph.merge(), call istobuildpkg() to check whether |
20 |
binary package should be created. If yes, do it (similar to |
21 |
--buildpkg), and also display which rule was matching. |
22 |
|
23 |
-- |
24 |
TGL. |