You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
522 B
21 lines
522 B
from calculate.variables.datavars import (
|
|
Variable,
|
|
Namespace,
|
|
StringType,
|
|
Calculate,
|
|
Static,
|
|
TableType
|
|
)
|
|
|
|
def get_repository_table():
|
|
return [
|
|
{'name':'gentoo',
|
|
'url': 'git://git.calculate-linux.org/calculate/gentoo-overlay.git'},
|
|
{'name':'calculate',
|
|
'url': 'git://git.calculate-linux.org/calculate/calculate-overlay.git'},
|
|
]
|
|
|
|
def import_variables():
|
|
Variable('repositories', type=TableType,
|
|
source=Calculate(get_repository_table))
|