Use GitLab's API endpoint for fetching a git snapshot. (#7881)
* Use GitLab's API endpoint for fetching a git snapshot. * More GitLab packages use the API. * find_list_url for GitLab's API URLs. * Flake8 * Url for 'hacckernels'. * Check GitLab API regexps before the non-API ones.
This commit is contained in:

committed by
Adam J. Stewart

parent
8afdaa5805
commit
0f35f00b6e
@@ -33,7 +33,7 @@ class Libaec(CMakePackage):
|
||||
"""
|
||||
|
||||
homepage = 'https://gitlab.dkrz.de/k202009/libaec'
|
||||
url = 'https://gitlab.dkrz.de/k202009/libaec/repository/archive.tar.gz?ref=v1.0.2'
|
||||
url = 'https://gitlab.dkrz.de/api/v4/projects/k202009%2Flibaec/repository/archive.tar.gz?sha=v1.0.2'
|
||||
list_url = 'https://gitlab.dkrz.de/k202009/libaec/tags'
|
||||
|
||||
provides('szip')
|
||||
|
Reference in New Issue
Block a user