blob: 0a160a325ae4410c57cb8b522e05bd07d5bae7e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/python
import sys
# insert the gentoolkit-location into syspath
sys.path.insert(0, "/usr/lib/gentoolkit/pym")
# import gentoolkit and portage
import gentoolkit
import portage
# this is set to "var/lib/portage/world" by default - so we add the leading /
portage.WORLD_FILE = "/"+portage.WORLD_FILE
# portage tree vars
porttree = gentoolkit.porttree
vartree = gentoolkit.vartree
# import our packages
from helper import *
from package import *
import modules
|