mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Add Maintainer field to keep debian happy
This commit is contained in:
parent
70d9503dd0
commit
40f203b543
@ -169,6 +169,7 @@ class Installer:
|
||||
self.licensename = ""
|
||||
self.authorid = "org.panda3d"
|
||||
self.authorname = ""
|
||||
self.authoremail = ""
|
||||
self.licensefile = Filename()
|
||||
self.standalone = Standalone(p3dfile, tokens)
|
||||
self.http = self.standalone.http
|
||||
@ -374,6 +375,7 @@ class Installer:
|
||||
controlfile = open(Filename(tempdir, "control").toOsSpecific(), "w")
|
||||
print >>controlfile, "Package: %s" % self.shortname.lower()
|
||||
print >>controlfile, "Version: %s" % self.version
|
||||
print >>controlfile, "Maintainer: %s <%s>" % (self.authorname, self.authoremail)
|
||||
print >>controlfile, "Section: games"
|
||||
print >>controlfile, "Priority: optional"
|
||||
print >>controlfile, "Architecture: %s" % arch
|
||||
|
@ -104,6 +104,9 @@ Options:
|
||||
-A "Your Company"
|
||||
Full name of the author of the application.
|
||||
|
||||
-e "you@your_company.com"
|
||||
E-mail address of the maintainer of the application.
|
||||
|
||||
-h
|
||||
Display this help
|
||||
|
||||
@ -133,10 +136,11 @@ licensename = ""
|
||||
licensefile = Filename()
|
||||
authorid = ""
|
||||
authorname = ""
|
||||
authoremail = ""
|
||||
includeRequires = False
|
||||
|
||||
try:
|
||||
opts, args = getopt.getopt(sys.argv[1:], 'n:N:v:o:t:P:csl:L:a:A:h')
|
||||
opts, args = getopt.getopt(sys.argv[1:], 'n:N:v:o:t:P:csl:L:a:A:e:h')
|
||||
except getopt.error, msg:
|
||||
usage(1, msg)
|
||||
|
||||
@ -166,6 +170,8 @@ for opt, arg in opts:
|
||||
authorid = arg.strip()
|
||||
elif opt == '-A':
|
||||
authorname = arg.strip()
|
||||
elif opt == '-e':
|
||||
authoremail = arg.strip()
|
||||
|
||||
elif opt == '-h':
|
||||
usage(0)
|
||||
@ -236,6 +242,7 @@ elif deploy_mode == 'installer':
|
||||
i.licensefile = licensefile
|
||||
i.authorid = authorid
|
||||
i.authorname = authorname
|
||||
i.authoremail = authoremail
|
||||
i.includeRequires = includeRequires
|
||||
|
||||
if currentPlatform:
|
||||
|
Loading…
x
Reference in New Issue
Block a user