Imported Upstream version 6.12.0.156

Former-commit-id: 8ff468edef2b5377f24097610316870b85491049
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2021-09-28 19:45:06 +00:00
parent 4651b7ea22
commit a2828bff8b
80 changed files with 942 additions and 789 deletions

View File

@@ -380,7 +380,7 @@ class Package:
# if source.startswith ('http://'):
# raise Exception ('HTTP downloads are no longer allowed: %s', source)
if source.startswith(('http://', 'https://', 'ftp://')):
if source.startswith(('http://', 'https://', 'ftp://')) and not source.endswith('.git'):
cache = get_download_dest(source, self.version)
if self.profile.cache_host is not None:
cached_source = os.path.join(
@@ -1040,7 +1040,7 @@ class GitHubPackage (Package):
configure_flags=configure_flags,
configure=configure,
sources=[
'git://github.com/%{organization}/%{name}.git'],
'https://github.com/%{organization}/%{name}.git'],
override_properties=override_properties)

View File

@@ -2,7 +2,7 @@ class GtkSharp212ReleasePackage (Package):
def __init__(self):
Package.__init__(self, 'gtk-sharp',
sources=['git://github.com/mono/gtk-sharp.git'],
sources=['https://github.com/mono/gtk-sharp.git'],
git_branch='gtk-sharp-2-12-branch',
revision='33fabaf9333f6cf26af1682cc67b4cfa99a0fc41',
override_properties={