mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Added a method to build python/kivy projects using buildozer.
This commit is contained in:
parent
26a4e33a7a
commit
230286786f
2 changed files with 95 additions and 2 deletions
|
|
@ -209,6 +209,7 @@ build_flags_order = [
|
|||
'gradle',
|
||||
'maven',
|
||||
'kivy',
|
||||
'buildozer',
|
||||
'output',
|
||||
'srclibs',
|
||||
'oldsdkloc',
|
||||
|
|
@ -249,6 +250,7 @@ class Build(dict):
|
|||
self.gradle = []
|
||||
self.maven = False
|
||||
self.kivy = False
|
||||
self.buildozer = False
|
||||
self.output = None
|
||||
self.srclibs = []
|
||||
self.oldsdkloc = False
|
||||
|
|
@ -289,7 +291,7 @@ class Build(dict):
|
|||
raise AttributeError("No such attribute: " + name)
|
||||
|
||||
def build_method(self):
|
||||
for f in ['maven', 'gradle', 'kivy']:
|
||||
for f in ['maven', 'gradle', 'kivy', 'buildozer']:
|
||||
if self.get(f):
|
||||
return f
|
||||
if self.output:
|
||||
|
|
@ -300,7 +302,7 @@ class Build(dict):
|
|||
def output_method(self):
|
||||
if self.output:
|
||||
return 'raw'
|
||||
for f in ['maven', 'gradle', 'kivy']:
|
||||
for f in ['maven', 'gradle', 'kivy', 'buildozer']:
|
||||
if self.get(f):
|
||||
return f
|
||||
return 'ant'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue