summaryrefslogtreecommitdiff
blob: 1beb55cad42c89ae8a359e08777b44409c4eceae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Class for PMS-style packages
class Ebuild():
    def __init__(self):
        #todo add needed variables as __init__ arguments
        self.ebuild_vars={
            'pn':'',
            'pv':'',
            'description':'',
            'homepage':'',
            'iuse':'',
            'keywords':'',
            'license':'',
            'slot':'0',
            'src_uri':'',
            'eapi':'3',
            'depend':[],
            'pdepend':[],
            'rdepend':[],
            'provide':[],
            'restrict':[],
            'properties':'',
            }
        self.cran_data={}