uzak derleme işlemleri için paketin tüm dosyalarını /var/pisi/PAKETADI altına çek ki pspec.xml nerede diye aramayalım...

This commit is contained in:
S.Çağlar Onur
2007-11-25 13:41:35 +00:00
parent 1b4c3846cb
commit f0bf0c3952
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -71,6 +71,7 @@ class Constants:
#in some places literals are just as good, for instance
#when constant is the same as string. readability is important...
self.__c.actions_file = "actions.py"
self.__c.pspec_file = "pspec.xml"
self.__c.files_dir = "files"
self.__c.metadata_dir = "metadata"
self.__c.translations_file = "translations.xml"
+5
View File
@@ -244,6 +244,7 @@ class Builder:
self.destdir = pisi.util.join_path(ctx.config.tmp_dir(), pkgname)
#self.location = os.path.dirname(self.url.uri)
self.fetch_pspecfile()
self.fetch_actionsfile()
self.fetch_translationsfile()
self.fetch_patches()
@@ -252,6 +253,10 @@ class Builder:
return self.destdir
def fetch_pspecfile(self):
pspecuri = pisi.util.join_path(self.specdiruri, ctx.const.pspec_file)
self.download(pspecuri, self.destdir)
def fetch_actionsfile(self):
actionsuri = pisi.util.join_path(self.specdiruri, ctx.const.actions_file)
self.download(actionsuri, self.destdir)