blob: b1ec6826c343b7e4bbd3a981021960e852eb094d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/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 *
|