Add support for .tbz file extensions (#24479)
This commit is contained in:
parent
3087d74ca7
commit
2bc0c0ea59
2 changed files with 3 additions and 1 deletions
|
@ -429,6 +429,8 @@ def test_url_parse_offset(name, noffset, ver, voffset, path):
|
|||
# .tgz
|
||||
('ADOL-C', '2.6.1',
|
||||
'http://www.coin-or.org/download/source/ADOL-C/ADOL-C-2.6.1.tgz'),
|
||||
# .tbz
|
||||
('mpfr', '4.0.1', 'https://ftpmirror.gnu.org/mpfr/mpfr-4.0.1.tbz'),
|
||||
# .tbz2
|
||||
('mpfr', '4.0.1', 'https://ftpmirror.gnu.org/mpfr/mpfr-4.0.1.tbz2'),
|
||||
# .txz
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
# Supported archive extensions.
|
||||
PRE_EXTS = ["tar", "TAR"]
|
||||
EXTS = ["gz", "bz2", "xz", "Z"]
|
||||
NOTAR_EXTS = ["zip", "tgz", "tbz2", "txz"]
|
||||
NOTAR_EXTS = ["zip", "tgz", "tbz", "tbz2", "txz"]
|
||||
|
||||
# Add PRE_EXTS and EXTS last so that .tar.gz is matched *before* .tar or .gz
|
||||
ALLOWED_ARCHIVE_TYPES = [".".join(ext) for ext in product(
|
||||
|
|
Loading…
Reference in a new issue