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
@@ -32,9 +32,9 @@ class Vecgeom(CMakePackage):
|
||||
(toolkits)."""
|
||||
|
||||
homepage = "https://gitlab.cern.ch/VecGeom/VecGeom"
|
||||
url = "https://gitlab.cern.ch/api/v4/projects/VecGeom%2FVecGeom/repository/archive.tar.gz?sha=v0.3.rc"
|
||||
|
||||
version('0.3.rc', git='https://gitlab.cern.ch/VecGeom/VecGeom.git',
|
||||
tag='v0.3.rc')
|
||||
version('0.3.rc', 'c1f5d620f655f3c0610a44e7735203b5')
|
||||
|
||||
depends_on('cmake@3.5:', type='build')
|
||||
|
||||
|
Reference in New Issue
Block a user