Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python script for selecting kde packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
ripper2256
n00b
n00b


Joined: 22 Dec 2004
Posts: 25

PostPosted: Fri Jul 21, 2006 12:05 pm    Post subject: python script for selecting kde packages Reply with quote

i wrote a little script, which may help you, with all the kde-split packages. it shows all availabe kde-split packages with the correct description, so you can select better the packages you really need, and deselect the you don't. after you select
all needed packets you can directly emerge them.

you can download the script from my website: http://www.netslaughters.de/download/kde-select.tar.gz
after unpacking run:
Code:
python kde-select.py

you can select/deselect items with 'space' and 'enter' will emerge everything. use 'q' to quit, or switch to the upper menu.

enjoy :) ,
and please post any bugs, comments or suggestions.
Back to top
View user's profile Send private message
brianhearn
n00b
n00b


Joined: 04 Nov 2003
Posts: 72

PostPosted: Sat Jul 22, 2006 7:21 am    Post subject: Reply with quote

That not a bad idea. I downloaded it more for curiousity value so I could poke around the code because I already have kde installed ;) I notice you have hard coded the list of kde packages in to the script. If a new kde package gets added your script becomes out of date. I realise you've probably done it that way for speed, however you could future proof it quite easily just by traversing through /usr/portage/kde-base/ examining the most recent ebuild of each package and reading the information out of those. Chances are you've already coded this somewhere to create those arrays!
_________________
http://www.gentoo-clan.org - http://brian.gentoo-clan.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum