mirror of
https://github.com/clearlinux/autospec.git
synced 2026-08-24 16:57:48 +00:00
add zip support
This commit is contained in:
@@ -179,6 +179,7 @@ license_blacklist = {
|
||||
"License-2.0": True,
|
||||
"BSD-style": True,
|
||||
"Licences": True,
|
||||
"New": True,
|
||||
"License(==-2.0)": True,
|
||||
}
|
||||
|
||||
|
||||
@@ -370,6 +370,7 @@ VERIFIER_TYPES = {
|
||||
'.tar': GPGVerifier,
|
||||
'.bz2': GPGVerifier,
|
||||
'.xz': GPGVerifier,
|
||||
'.zip': GPGVerifier,
|
||||
'.gem': GEMShaVerifier,
|
||||
}
|
||||
|
||||
|
||||
@@ -288,6 +288,7 @@ def name_and_version(url_argument, name_argument):
|
||||
m = p.search(url_argument)
|
||||
if m:
|
||||
name = m.group(1).strip()
|
||||
rawname = name
|
||||
# convert from 7_4_2 to 7.4.2
|
||||
version = m.group(2).strip().replace('_', '.')
|
||||
# remove release candidate tag
|
||||
|
||||
Reference in New Issue
Block a user