Gentoo Archives: gentoo-ppc-dev

From: Thanh Ly <lycander@×××××××.com>
To: gentoo ppc dev list <gentoo-ppc-dev@g.o>
Subject: [gentoo-ppc-dev] Re: How to bring more ebuilds to ppc
Date: Thu, 04 Sep 2003 05:24:57
Message-Id: 1062653054.14931.8.camel@localhost
1 On Wed, 2003-09-03 at 03:14, Calum Selkirk wrote:
2 > Off the top of my head .. tested in zsh
3 >
4 > # find KEYWORDS="ppc"
5 > for i in `find /usr/portage/${my_target_subdir} -name "*.ebuild" -print` ;
6 > do egrep -l "^KEYWORDS=\".+[^~-]ppc.*\"" $i ;
7 > done
8 >
9 > # find KEYWORDS="~ppc"
10 > for i in `find /usr/portage/${my_target_subdir} -name "*.ebuild" -print` ;
11 > do egrep -l "^KEYWORDS=\".+~ppc.*\"" $i ;
12 > done
13 >
14 > best
15 >
16 > cal
17
18 Thanks cal, the script works great. I modified it slightly so that it
19 would output into a text file:
20
21 cat find ... <rest of script>
22 done > ~/output.txt
23
24 I put the output files of ppc and ~ppc keyword searches on my webserver
25 for anyone interested in seeing the list.
26
27 This is the list of ebuilds with 'ppc' keyword
28 http://www.ly-tech.com/unmasked_ppc_ebuilds.txt
29
30 This is the list of ebuilds with '~ppc' keyword
31 http://www.ly-tech.com/masked_ppc_ebuilds.txt
32
33 This data is based on my last emerge sync which was Sunday August 31st.
34 I can update the list once a week if need be.
35
36 Regards
37
38 Thanh
39
40
41 --
42 gentoo-ppc-dev@g.o mailing list

Replies

Subject Author
[gentoo-ppc-dev] Re: How to bring more ebuilds to ppc Calum Selkirk <cselkirk@××××××.nl>