Modify create clue list so R packages are detected (#12277)

R packages can contain configure scripts so R needs to be before
autotools in the clue list.
This commit is contained in:
Glenn Johnson 2019-12-31 16:44:31 -06:00 committed by Adam J. Stewart
parent ffc91bd86e
commit 1ac0c51dad

View file

@ -473,13 +473,13 @@ def __call__(self, stage, url):
# build systems, we choose the first match in this list. # build systems, we choose the first match in this list.
clues = [ clues = [
(r'/CMakeLists\.txt$', 'cmake'), (r'/CMakeLists\.txt$', 'cmake'),
(r'/NAMESPACE$', 'r'),
(r'/configure$', 'autotools'), (r'/configure$', 'autotools'),
(r'/configure\.(in|ac)$', 'autoreconf'), (r'/configure\.(in|ac)$', 'autoreconf'),
(r'/Makefile\.am$', 'autoreconf'), (r'/Makefile\.am$', 'autoreconf'),
(r'/SConstruct$', 'scons'), (r'/SConstruct$', 'scons'),
(r'/waf$', 'waf'), (r'/waf$', 'waf'),
(r'/setup\.py$', 'python'), (r'/setup\.py$', 'python'),
(r'/NAMESPACE$', 'r'),
(r'/WORKSPACE$', 'bazel'), (r'/WORKSPACE$', 'bazel'),
(r'/Build\.PL$', 'perlbuild'), (r'/Build\.PL$', 'perlbuild'),
(r'/Makefile\.PL$', 'perlmake'), (r'/Makefile\.PL$', 'perlmake'),