From 174f9e1ef0401000819f362783befa3c29457b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Thu, 18 May 2006 13:10:40 +0000 Subject: [PATCH] fix: add required sources thing to component structure --- pisi/__init__.py | 4 ++-- pisi/component.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pisi/__init__.py b/pisi/__init__.py index b1f3d1d4..8eeacf31 100644 --- a/pisi/__init__.py +++ b/pisi/__init__.py @@ -12,9 +12,9 @@ # 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 __all__ = [ 'api', 'config', 'packagedb', 'installdb', 'search' ] diff --git a/pisi/component.py b/pisi/component.py index f0c07f46..2c7635ac 100644 --- a/pisi/component.py +++ b/pisi/component.py @@ -72,6 +72,8 @@ class Component(xmlfile.XmlFile): # to be filled by the component database, thus it is optional. 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 # module names (like in Java) #t_PartOf = [autoxml.Text, autoxml.mandatory]