Gentoo Archives: gentoo-user

From: Ashley Dixon <ash@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Converting a Portage Flat File to a Directory Structure
Date: Mon, 20 Apr 2020 13:13:40
Message-Id: 20200420131311.usk7fmh4eestijth@ad-gentoo-main
1 Hi gentoo-user,
2
3 Following the recent conversation started by Meino, I have decided to convert my
4 package.* files to directory structures. For all but one, this has proven
5 tedious, but relatively painless. My package.use file is another story: at over
6 three-hundred lines, the thought of manually converting this to a directory
7 structure does not attract me.
8
9 Are there any tools in Portage to help with this, or must I resort to writing a
10 shell script ?
11
12 For example, considering the following lines in my flat package.use:
13
14 media-video/openshot printsupport
15 sys-apps/util-linux tty-helpers
16
17 I want to take this file and create a directory structure:
18
19 media-video/openshot, containing "media-video/openshot printsupport"
20 sys-apps/util-linux, containing "sys-apps/util-linux tty-helpers"
21
22 How can this be done ?
23 Thanks.
24
25 --
26
27 Ashley Dixon
28 suugaku.co.uk
29
30 2A9A 4117
31 DA96 D18A
32 8A7B B0D2
33 A30E BF25
34 F290 A8AA

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Converting a Portage Flat File to a Directory Structure Rich Freeman <rich0@g.o>
Re: [gentoo-user] Converting a Portage Flat File to a Directory Structure Dale <rdalek1967@×××××.com>
Re: [gentoo-user] Converting a Portage Flat File to a Directory Structure Grant Taylor <gtaylor@×××××××××××××××××××××.net>