specfile.py'de eksik Update etiketleri tamamlandı,
repostats.py'deki hatalı metod isimleri düzeltildi.
This commit is contained in:
@@ -93,6 +93,9 @@ class Update:
|
|||||||
t_Date = [autoxml.String, autoxml.mandatory]
|
t_Date = [autoxml.String, autoxml.mandatory]
|
||||||
t_Version = [autoxml.String, autoxml.mandatory]
|
t_Version = [autoxml.String, autoxml.mandatory]
|
||||||
t_Type = [autoxml.String, autoxml.optional]
|
t_Type = [autoxml.String, autoxml.optional]
|
||||||
|
t_Name = [autoxml.String, autoxml.optional]
|
||||||
|
t_Email = [autoxml.String, autoxml.optional]
|
||||||
|
t_Comment = [autoxml.String, autoxml.optional]
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
s = self.date
|
s = self.date
|
||||||
|
|||||||
+5
-5
@@ -337,7 +337,7 @@ class Package:
|
|||||||
errors.append(_("Duplicate binary packages:\n%s\n%s\n") % (
|
errors.append(_("Duplicate binary packages:\n%s\n%s\n") % (
|
||||||
source.name, packages[name].source.name))
|
source.name, packages[name].source.name))
|
||||||
return
|
return
|
||||||
for p in pakspec.paths:
|
for p in pakspec.files:
|
||||||
if p.fileType not in valid_filetypes:
|
if p.fileType not in valid_filetypes:
|
||||||
e = _("Unknown file type '%s' in package '%s'") % (
|
e = _("Unknown file type '%s' in package '%s'") % (
|
||||||
p.fileType, source.name)
|
p.fileType, source.name)
|
||||||
@@ -352,7 +352,7 @@ class Package:
|
|||||||
|
|
||||||
def markDeps(self):
|
def markDeps(self):
|
||||||
# mark reverse build dependencies
|
# mark reverse build dependencies
|
||||||
for d in self.source.spec.source.buildDeps:
|
for d in self.source.spec.source.buildDependencies:
|
||||||
p = d.package
|
p = d.package
|
||||||
if packages.has_key(p):
|
if packages.has_key(p):
|
||||||
packages[p].revBuildDeps.append(self.name)
|
packages[p].revBuildDeps.append(self.name)
|
||||||
@@ -361,7 +361,7 @@ class Package:
|
|||||||
Missing(p)
|
Missing(p)
|
||||||
missing[p].revBuildDeps.append(self.name)
|
missing[p].revBuildDeps.append(self.name)
|
||||||
# mark reverse runtime dependencies
|
# mark reverse runtime dependencies
|
||||||
for d in self.pakspec.runtimeDeps:
|
for d in self.pakspec.packageDependencies:
|
||||||
p = d.package
|
p = d.package
|
||||||
if packages.has_key(p):
|
if packages.has_key(p):
|
||||||
packages[p].revRuntimeDeps.append(self.name)
|
packages[p].revRuntimeDeps.append(self.name)
|
||||||
@@ -373,9 +373,9 @@ class Package:
|
|||||||
def report_html(self):
|
def report_html(self):
|
||||||
source = self.source.spec.source
|
source = self.source.spec.source
|
||||||
bDeps = map(lambda x: "<a href='package-%s.html'>%s</a>" % (x, x),
|
bDeps = map(lambda x: "<a href='package-%s.html'>%s</a>" % (x, x),
|
||||||
(map(lambda x: x.package, source.buildDeps)))
|
(map(lambda x: x.package, source.buildDependencies)))
|
||||||
rDeps = map(lambda x: "<a href='package-%s.html'>%s</a>" % (x, x),
|
rDeps = map(lambda x: "<a href='package-%s.html'>%s</a>" % (x, x),
|
||||||
(map(lambda x: x.package, self.pakspec.runtimeDeps)))
|
(map(lambda x: x.package, self.pakspec.packageDependencies)))
|
||||||
rbDeps = map(lambda x: "<a href='package-%s.html'>%s</a>" % (x, x), self.revBuildDeps)
|
rbDeps = map(lambda x: "<a href='package-%s.html'>%s</a>" % (x, x), self.revBuildDeps)
|
||||||
rrDeps = map(lambda x: "<a href='package-%s.html'>%s</a>" % (x, x), self.revRuntimeDeps)
|
rrDeps = map(lambda x: "<a href='package-%s.html'>%s</a>" % (x, x), self.revRuntimeDeps)
|
||||||
dict = {
|
dict = {
|
||||||
|
|||||||
Reference in New Issue
Block a user