Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH 0/3] INSTALL_MASK refurbishing resubmit
Date: Thu, 15 Mar 2018 19:22:21
Message-Id: 20180315192212.13454-1-mgorny@gentoo.org
1 Hi,
2
3 Here are three of four INSTALL_MASK updates I've sent long time ago
4 which were not really reviewed. The fourth patch added support
5 for repo-defined install-mask.conf and I'll do that separately.
6
7 Those patches focus on smaller changes. What they change, in order:
8
9 1. Removes explicit file removal code for FEATURES=no*. Instead, those
10 values are converted into additional INSTALL_MASK entries
11 and handled directly via INSTALL_MASK processing.
12
13 2. Rework INSTALL_MASK to filter files while installing instead of
14 pre-stripping them. In other words, before: INSTALL_MASK removes
15 files from ${D} before merge. After: ${D} contains all the files,
16 Portage just skip INSTALL_MASK-ed stuff, verbosely indicating that.
17
18 3. Adds support for exclusions in INSTALL_MASK. In other words, you
19 can do stuff like:
20
21 INSTALL_MASK="/usr/share/locale -/usr/share/locale/en_US"
22
23 I have been using this via user patches since the last submission.
24 Guessing by 'git log', this means almost 2 years now.
25
26 --
27 Best regards,
28 Michał Górny
29
30 Michał Górny (3):
31 portage.package.ebuild.config: Move FEATURES=no* handling there
32 portage.dbapi.vartree: Move INSTALL_MASK handling into merging
33 portage.dbapi.vartree: Support exclusions in INSTALL_MASK
34
35 bin/misc-functions.sh | 30 ----------
36 pym/portage/dbapi/vartree.py | 104 ++++++++++++++++++++++-------------
37 pym/portage/package/ebuild/config.py | 11 ++++
38 3 files changed, 77 insertions(+), 68 deletions(-)
39
40 --
41 2.16.2

Replies