Fremantle updates: easy-chroot 0.2.7, easy-deb-chroot 0.9.42
[easy-deb-chroot] / fremantle / easy-chroot / build_easychroot.py
index 1887460..031a7b5 100755 (executable)
@@ -20,10 +20,12 @@ if __name__ == "__main__":
          pass
      print
      p=py2deb.Py2deb("easy-chroot")   #This is the package name and MUST be in lowercase!
-     p.description="Scripts to mount and chroot into images/partitions\nFremantle version;\n(This does NOT use the 'turbo-charged' dm-loop for mounting image files.)"
+     qoledescript = open("control/description", "r")
+     p.description=qoledescript.read()
+     p.xsbc_bugtracker="https://garage.maemo.org/tracker/?atid=3577&group_id=953&func=browse"
      p.maemodispname="Easy Chroot" 
      p.author="Alan Bruce (qole)"
-     p.mail="alan@thebruces.ca"
+     p.mail="qole@qole.org"
      p.depends = "libblkid1"
      p.section="user/system"
      p.icon = "cigar-48.png"
@@ -40,14 +42,12 @@ if __name__ == "__main__":
      # p.preinstall=""
      # p.preremove=""
 
-     version = "0.2.3"   #Version of your software, e.g. "1.2.0" or "0.8.2"
+     version = "0.2.7"   #Version of your software, e.g. "1.2.0" or "0.8.2"
      build = "1fremantle1"         #Build number
      versionbuild = version + "-" + build
                          #Text with changelog information to be displayed in the package "Details" tab of the HAM
-     oldchangelog = "0.2.1: First version for Fremantle, fifth package. Trying a new version of py2deb." 
-     newchanges = "0.2.2: Added thp's patches, some other fixes."
-     changeloginformation = oldchangelog + "\n" + newchanges
-     # changelog="control/changelog"
+     qolechangelog = open("control/changelog", "r")
+     changeloginformation = qolechangelog.read()
      dir_name = "src"    #Name of the subfolder containing your package source files
 
      #Thanks to DareTheHair from talk.maemo.org for this snippet that recursively builds the file list