Skip to content
Snippets Groups Projects
Commit f00dccf4 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

gnu-maintenance: Adjust tarball regexp for IceCat tarballs.

* guix/gnu-maintenance.scm (%tarball-rx): Tweak to match IceCat tarball
patterns.
parent b6124f00
No related branches found
No related tags found
No related merge requests found
...@@ -237,8 +237,10 @@ (define (sans-extension tarball) ...@@ -237,8 +237,10 @@ (define (sans-extension tarball)
(substring tarball 0 end))) (substring tarball 0 end)))
(define %tarball-rx (define %tarball-rx
;; Note: .zip files are notably used for freefont-ttf. ;; The .zip extensions is notably used for freefont-ttf.
(make-regexp "^(.+)-([0-9]|[^-])*(-src)?\\.(tar\\.|zip$)")) ;; The "-src" pattern is for "TeXmacs-1.0.7.9-src.tar.gz".
;; The "-gnu[0-9]" pattern is for "icecat-38.4.0-gnu1.tar.bz2".
(make-regexp "^([^.]+)-([0-9]|[^-])+(-(src|gnu[0-9]))?\\.(tar\\.|zip$)"))
(define %alpha-tarball-rx (define %alpha-tarball-rx
(make-regexp "^.*-.*[0-9](-|~)?(alpha|beta|rc|cvs|svn|git)-?[0-9\\.]*\\.tar\\.")) (make-regexp "^.*-.*[0-9](-|~)?(alpha|beta|rc|cvs|svn|git)-?[0-9\\.]*\\.tar\\."))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment