fix: add required sources thing to component structure
This commit is contained in:
+2
-2
@@ -12,9 +12,9 @@
|
|||||||
|
|
||||||
# PiSi version
|
# PiSi version
|
||||||
|
|
||||||
__version__ = "1.1_beta6"
|
__version__ = "1.1_beta7"
|
||||||
|
|
||||||
__dbversion__ = "1.1_beta6"
|
__dbversion__ = "1.1_beta7"
|
||||||
__filesdbversion__ = "1.0.5" # yes, this is the real bottleneck
|
__filesdbversion__ = "1.0.5" # yes, this is the real bottleneck
|
||||||
|
|
||||||
__all__ = [ 'api', 'config', 'packagedb', 'installdb', 'search' ]
|
__all__ = [ 'api', 'config', 'packagedb', 'installdb', 'search' ]
|
||||||
|
|||||||
@@ -72,6 +72,8 @@ class Component(xmlfile.XmlFile):
|
|||||||
# to be filled by the component database, thus it is optional.
|
# to be filled by the component database, thus it is optional.
|
||||||
t_Packages = [ [autoxml.String], autoxml.optional, "Parts/Package"]
|
t_Packages = [ [autoxml.String], autoxml.optional, "Parts/Package"]
|
||||||
|
|
||||||
|
t_Sources = [ [autoxml.String], autoxml.optional, "Parts/Source"]
|
||||||
|
|
||||||
# TODO: this is probably not necessary since we use fully qualified
|
# TODO: this is probably not necessary since we use fully qualified
|
||||||
# module names (like in Java)
|
# module names (like in Java)
|
||||||
#t_PartOf = [autoxml.Text, autoxml.mandatory]
|
#t_PartOf = [autoxml.Text, autoxml.mandatory]
|
||||||
|
|||||||
Reference in New Issue
Block a user