mirror of
https://src.fedoraproject.org/rpms/nextcloud.git
synced 2025-01-10 10:51:54 +01:00
nicer output, generate .pkgtmp files
This commit is contained in:
parent
a57f8ec2fc
commit
e091af1f54
@ -6,6 +6,7 @@ import re
|
|||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
defaultconstraint = 2
|
defaultconstraint = 2
|
||||||
|
excludes = ('php')
|
||||||
|
|
||||||
constraintmap = ('any', 'loose', 'strict', 'exact')
|
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:
|
#with open('apps/files_external/3rdparty/composer.json') as f:
|
||||||
depdata = json.load(f)
|
depdata = json.load(f)
|
||||||
for name, version in depdata['require'].items():
|
for name, version in depdata['require'].items():
|
||||||
if name == 'php':
|
if name in excludes:
|
||||||
|
print('Skipping ' + name + ': Excluded')
|
||||||
continue
|
continue
|
||||||
print(name, version, ':')
|
print(name, version, ':')
|
||||||
version = version.replace('v', '')
|
version = version.replace('v', '')
|
||||||
|
Loading…
Reference in New Issue
Block a user