nicer output, generate .pkgtmp files

This commit is contained in:
Christopher Engelhard 2020-12-30 13:54:10 +01:00
parent a57f8ec2fc
commit e091af1f54

View File

@ -6,6 +6,7 @@ import re
import subprocess
defaultconstraint = 2
excludes = ('php')
constraintmap = ('any', 'loose', 'strict', 'exact')
@ -40,7 +41,8 @@ with open('3rdparty/composer.json') as f:
#with open('apps/files_external/3rdparty/composer.json') as f:
depdata = json.load(f)
for name, version in depdata['require'].items():
if name == 'php':
if name in excludes:
print('Skipping ' + name + ': Excluded')
continue
print(name, version, ':')
version = version.replace('v', '')